Moving years of blog posts by hand is slow, and broken images slip through. Your AI converts each post and lists what didn't come over cleanly.
What happened
Pauline Bakhtiari reports that Claude Code pulled their WordPress archive through its API and turned the HTML into MDX files with metadata. They say it fixed text encoding errors and broken image tags until the new Next.js site built. They describe giving direction and review, but they also say the agent pushed and deployed the site.
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/move-a-wordpress-blog-into-site-files && curl -fsSL https://botcurrent.com/skills/move-a-wordpress-blog-into-site-files/SKILL.md -o ~/.claude/skills/move-a-wordpress-blog-into-site-files/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/move-a-wordpress-blog-into-site-files && curl -fsSL https://botcurrent.com/skills/move-a-wordpress-blog-into-site-files/SKILL.md -o ~/.agents/skills/move-a-wordpress-blog-into-site-files/SKILL.md
We check every skill file before we offer it. This one is the prompt above in skill form.
Passed Skill file is well formed
Passed Runs its own code or programs
Passed Connects to the internet from code
Passed Touches passwords, keys or private files
Passed Deletes or overwrites things in bulk
Passed Hidden or scrambled code
Passed Tries to override your instructions
Passed Invisible characters in the text
Passed Sends your data somewhere else
Passed Can pay or buy without asking you
Passed Downloads or installs other software
Passed Has a password or key written into it
Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com, www.pawlean.com. Fingerprint: 4ac49b34b858. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
MDX files for each post with their details, plus a list of broken images, links and odd characters to fix.
You'll need
Your WordPress export or a few sample posts
The folder layout and fields your new site needs
Your old web addresses, so links keep working
Before you switch it on
Acts with your OK
If you give this job to an agent that works in your accounts:
Access it needs
Your WordPress site, code repository and hosting
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
The prompt ends with a guard line, because emails and web pages can hide instructions for your agent. Why it’s there
Heads up: Keep your old site up until every post, image and redirect checks out. Don't let an agent push or deploy without your review.
More details: full instructions, sources and safeguards
Before you begin
No live API access, publishing or source removal. Preserve the original archive until omissions and broken references are resolved.
Use this in your own AI tool
Copy the starter, then open your own AI tool.
Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
Review the draft and held questions. Any later action needs separate approval.
What you need
Authorized archive export containing post bodies, metadata, URLs and permitted assets.
Target MDX structure, required metadata and exact old-URL preservation rules.
Existing private file-processing capability and reviewer; execution/build checks, live access and deployment require separate scope.
Start here
01Inventory supplied posts, metadata, original URLs, encoding and image dependencies.
02Convert supported content into separate private MDX candidates, preserving source associations and flagging ambiguous markup or encoding.
03Return converted content, missing-asset/link exceptions and unrun build checks without fetching APIs, pushing code or publishing.
Advanced prompt availability
Advanced prompt
No accepted companion is available for this record. The original material below retains its original status.
Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access
Proposed inputs
Name
Archive snapshot
Owner
Site owner
Minimum scope
Selected post exports, permitted assets and original identifiers
Quality check
Inventory counts, encodings and media references.
Name
Destination contract
Owner
Developer
Minimum scope
Content schema, route rules and expected front matter
Quality check
Identify required fields and unsupported embeds.
Access and setup — proposed or unknown
Proposed minimum
Read-only archive copies and a separate proposed conversion directory.
Compatibility unknowns
Unknown: current runtime, converter behavior, destination build toolchain and deployment integration.
External actions requiring approval
Repository pushes, deployment, route changes and removal of the original CMS.
Source evidence, attribution & limitations
Full source evidence
User report · Coding tasks
Original task title: Migrate a CMS archive into build-tested local content
Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.
Claude Code retrieved a WordPress archive through its API, converted HTML to MDX with metadata, recovered from encoding errors and repaired malformed image tags until the new site built.
Source outcome limits
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Evidence attribution caveat
Actions and outcomes are attributed user reports, not an independent reproduction or an execution guarantee.
Source approval description
The author describes providing direction and review; the account also reports agent-led push and deployment.
Named tools
Claude Code; WordPress REST API; MDX; Next.js; GitHub; Vercel
Model or version
Unknown
Publication date
2026-02-01
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: preserve bilingual URLs, metadata, accessibility and redirects for a Canadian website migration.
Recommended approval boundaries
Approve backup and destination; review content counts, links and previews before production deployment or removing the old CMS.
Technical specification & detailed checksDetailed steps and output format
At a glance
Suggested result
A converted local-content archive and build results for completeness, link and preview review before deployment.Suggested; untested.
Approve backup and destination; review content counts, links and previews before production deployment or removing the old CMS.Suggested boundaries; source approvals below.
Setup notes
Read-only archive copies and a separate proposed conversion directory.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Software engineering, Creative production · Single task
Editorial classification; no execution or compatibility test is implied.
No tool mapping reviewed for this task.
Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.
The problem
Moving an existing website archive into local content can expose broken markup, encoding problems and lost metadata.
Suggested task
Retrieve the WordPress archive, convert HTML to MDX with metadata, repair conversion errors and run build checks.
What you could produce
A converted local-content archive and build results for completeness, link and preview review before deployment.
Where these suggestions come from
Core problem: Our interpretation of the task
Agent job: Our interpretation of the task
Expected output: Our interpretation of the task
Relevant job roles: Our interpretation of the task
Benefit type: Our interpretation of the task
Suggestions and their limits
Describes the task’s purpose and intended output; measured benefit, safe unsupervised operation and successful delivery are not established by this framing.
Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.
Before you try it · suggestions untested
Case-specific decision guidance and first checks are original proposals. The linked source supports the attributed task; this added guidance has not been executed.
A website archive can appear successfully migrated while losing embedded media, publication metadata or old addresses that readers still use. A passing build only proves one technical condition, leaving editorial completeness and navigation to be checked separately.
A migration review manifest could tie every source item to its converted file and identify transformations needing inspection. The owner could evaluate whether the archive is ready for a later deployment decision without making the production site the test environment.
Why an agent / simpler alternative
Useful judgment
Handle irregular markup and explain content-specific conversion exceptions while retaining original evidence.
Simpler alternative
Use a maintained exporter for a small archive with consistent markup and a supported destination format.
Unsuitable when
There is no source backup or the only available destination is the live site.
Expected deliverable and review checks
Proposed artifact
Source-to-file migration manifest, conversion exceptions and proposed preview/build checklist.
Critical checks
Every source item has a destination or an explicit exclusion.
Metadata, image semantics and old-to-new routes receive separate review.
Missing output evidence
No new workflow run or output inspection is performed for this editorial layer. The linked implementation evidence retains the original source-specific outcome and artifact limits.
First check — proposed, unexecuted
Status
proposed_unexecuted
Synthetic fixture
Four invented post snippets include a malformed image, non-ASCII text and two colliding slugs.
Acceptance checks
Account for all four source IDs.
Flag the collision and preserve the broken fragment for review.
Stop conditions
Running builds, contacting the CMS or modifying a live repository is required.
Converted MDX pages and build findings for review.
What you need: The account uses Claude Code, WordPress’s API and Next.js. Supply authorized archive access and a separate destination; current access and costs need checking.
Convert posts and metadata; repair encoding and image-markup errors.
Build the site, then inspect pages and old links.
Approve publishing separately and keep the source archive until omissions are resolved.
The author reports conversion, repairs and deployment. These proposed steps have not been run by BotCurrent.
Related tasks
Suggestions share task wording or context; compatibility and execution remain unverified.
Allow optional analytics to help us improve BotCurrent? We use PostHog to see which pages and buttons people use, including recordings with anything you type hidden. Searches and saved items are excluded. Privacy details