WordPress blog to MDX
Claude Code, run as a terminal agent, pulled every post from the author's WordPress REST API and converted them to local MDX files.
367 posts and 5 pages were migrated to MDX in one afternoon, about 4 hours, versus an estimated 3-5 days by hand.
Overview
How it was set up
Claude Code in the terminal with a high-level goal. Next.js on Vercel, local MDX files in a year-based folder structure, FlexSearch for search.
Worth knowing
The author set direction and reviewed the work. Broken image tags in old posts stalled the build once.
A prompt to start from
Extract all posts from my WordPress REST API, convert them to MDX with proper frontmatter, and save them into a year-based folder structure under [content directory].Written by Agentic Feats from the source. Not the author's exact prompt.
Sources 1
History
- Source published
- 2026-02-01
- Added to Agentic Feats
- 2026-10-13
- Pick
- No
- Markdown copy
- /c/wordpress-blog-to-mdx-claude-code.md
More in coding
131 featsResult$28,335 spent, 9,350 commits across 145 repos, with spend up 7.4x in April after parallel git worktrees. Only 0.7% of tool calls ran overnight.
ResultOpus 5.5 recorded the repo's demo video itself using the record feature, and the author uses the tool constantly for debugging.
ResultA nightly workflow found a meteor on 25 October 2026. The bundled night detector found 95% of planes and 90% of meteors on held-out nights.