Updating wp2next and your sites
For people running migrations (freelancers, agencies, developers). Moving your own site? Start with Move my site.
There are two different updates:
- Updating the wp2next skill on your computer, so your assistant has the newest instructions.
Command:
wp2next update. - Upgrading a site you already built with an older wp2next, so it gets the newer setup (for
example Next.js 15 → 16). Command:
wp2next upgrade, run inside that site's folder.
Do the first, then the second for each site you want to bring forward. A site doesn't have to be upgraded; it keeps working as it is.
This page also covers reading the changelog and uninstalling.
Which version do I have?
Ask your assistant wp2next changelog installed. It prints your version and what's in it.
Other ways:
- Claude desktop app: Customize → Plugins shows wp2next if you added it there (check in the UI);
/statusin a Code session shows the app's own Claude Code version, not wp2next's. - Claude Code plugin:
claude plugin listshowswp2next@mtrcwith its version. - Any install: the
version:line near the top of the skill'sSKILL.md. - A site's version:
wp2next.versionin that site'swp2next.json. Sites built with 1.x have nowp2next.jsonat all;wp2next upgradecreates one for you, marks it as version 1.0.0 and fills in the names the site already uses, so nothing gets renamed. (Ifwp2next statuscreated the file first and it claims a newer version than the code really is,upgradenotices and asks.)
Update the skill
The easy way: ask your assistant wp2next update. It works out how you installed wp2next, checks
the latest version, shows you what changed, asks, then runs the right update. Afterwards it checks
your saved settings still fit the new version and tells you which of your sites could be upgraded.
By hand, depending on how you installed it:
Claude desktop app (Customize → Plugins)
If you added wp2next under Customize → Plugins, update or re-sync it there (check in the UI;
the exact control isn't documented, Not yet confirmed). Synced plugins reach Code sessions the next time you
start a session; /reload-plugins picks them up in an open one
(plugins on claude.ai and Desktop (external site), checked 2026-12). If you
installed it with the CLI instead (route 2 in AI environments),
follow the next section: the app uses the same plugin.
Claude Code plugin
claude plugin marketplace update mtrc
claude plugin update wp2next@mtrcThen type /reload-plugins in Claude Code (or in a Claude desktop Code session), or start a new
session. Inside a session you can also use
/plugin → Installed → wp2next → Update now.
Plugins from marketplaces other than Anthropic's don't update automatically unless you turn it on:
/plugin → Marketplaces → mtrc → enable auto-update. Updates then arrive in the background within
a few minutes of starting a session.
(Claude Code plugin docs (external site), checked 2026-12)
The skills installer (npx skills add)
npx skills check # lists skills with updates
npx skills update wp2next -g -y # global install; use -p for a project installThe Claude desktop app, Claude Code, Codex and Cursor read the updated files in their next session; start a new session (or restart the assistant) if the change doesn't show. (skills installer (external site), checked 2026-12)
A git clone with a link (manual install)
If you cloned the repository and linked skills/wp2next into your skills folder:
git -C ~/.local/share/wp2next pull --ff-only # use the folder you cloned intoIf this fails, you changed files in the clone. Move your changes somewhere safe, or ask for help; don't force it.
Copied by hand
Copied folders don't update. Replace the folder. These commands remove your installed copy only after the new download has worked, so a failed download leaves your current version in place:
rm -rf /tmp/wp2next-new
git clone https://github.com/MTRCio/wp2next.git /tmp/wp2next-new \
&& rm -rf ~/.claude/skills/wp2next \
&& cp -R /tmp/wp2next-new/skills/wp2next ~/.claude/skills/ \
&& if [ -d ~/.agents/skills/wp2next ]; then
rm -rf ~/.agents/skills/wp2next && cp -R /tmp/wp2next-new/skills/wp2next ~/.agents/skills/
fi \
&& rm -rf /tmp/wp2next-new$new = Join-Path $env:TEMP "wp2next-new"
if (Test-Path $new) { Remove-Item -Recurse -Force $new }
git clone https://github.com/MTRCio/wp2next.git $new
if ($LASTEXITCODE -eq 0 -and (Test-Path "$new\skills\wp2next")) {
Remove-Item -Recurse -Force "$HOME\.claude\skills\wp2next" -ErrorAction Stop
Copy-Item -Recurse "$new\skills\wp2next" "$HOME\.claude\skills\" -ErrorAction Stop
if (Test-Path "$HOME\.agents\skills\wp2next") {
Remove-Item -Recurse -Force "$HOME\.agents\skills\wp2next" -ErrorAction Stop
Copy-Item -Recurse "$new\skills\wp2next" "$HOME\.agents\skills\" -ErrorAction Stop
}
Remove-Item -Recurse -Force $new
} else {
Write-Error "The download failed. Your installed copy is unchanged."
}If the download fails, check your internet connection and run the commands again. The
~/.agents/skills copy is replaced only if you have one. wp2next update does this for you,
after asking.
Codex's $skill-installer
It has no update command and stops if the folder already exists. Delete the installed wp2next
folder and install it again, or switch to the skills installer above.
(Codex skills docs (external site), checked 2026-12)
After any update
Your saved defaults live in ~/.config/wp2next/config.json (Windows:
C:\Users\<you>\.config\wp2next\config.json). wp2next update checks them against the
new version automatically. If you updated by hand, ask your assistant to run wp2next doctor.
What changed? The changelog
| Ask | Shows |
|---|---|
wp2next changelog or wp2next changelog installed | What's in your version |
wp2next changelog latest | The newest published changelog |
wp2next changelog 2.0.0 | One release |
wp2next changelog since 2.0.0 | Everything after a version |
Each release has a Migration notes part: settings that were renamed and scripts inside your sites
that changed. wp2next upgrade reads those notes for you. The full file is
skills/wp2next/CHANGELOG.md (external site).
Upgrade a site you already built
In the site's folder, ask your assistant wp2next upgrade.
What it does
- Shows a plan first. It reads the site's wp2next version and the changelog, then lists every change it will make. Nothing happens until you say yes.
- Works on a separate branch (
wp2next/upgrade-<version>). Your live site doesn't change until you merge. - Takes "before" pictures. It builds the site as it is now and records screenshots at phone and desktop widths, every page's status, title and description, and Lighthouse speed scores.
- Makes the changes. For the move to Next.js 16 that means the official Next.js upgrade tool, newer package versions, a new lint setup, a few settings, and newer copies of wp2next's helper scripts. For each helper script you edited, it shows the difference and asks what to keep.
- Takes "after" pictures and compares. In pixel mode the pages must look the same as before, down to the half pixel. Every page must return the same status, title and description. Accessibility and search scores must not drop.
- Reports what changed, records the new version in
wp2next.json, and offers to push the branch so Vercel builds a preview you can click through. You merge when you're happy.
A typical marketing site takes an hour or two. It can take longer if the comparison finds a difference to track down.
Other changes in 2.0.0 that upgrade offers
Each is its own question, and only asked if your site needs it:
- Node 24 and pnpm 11. Sites built on pnpm 9 and Node 22 move to the current toolchain:
packageManagerbecomespnpm@11.10.0,.nvmrcholds24, the rootpackage.jsonandapps/web/package.jsonget"engines": {"node": ">=24 <25"}(Vercel builds on Node 24 because of it), and@types/nodemoves to 24. pnpm 11 only runs install scripts for packages listed underallowBuildsinpnpm-workspace.yaml, soupgradeadds the ones pnpm reports as blocked, each with a reason. It then regeneratespnpm-lock.yamland checks that the site builds and still matches. - The component library moves from
/dev/to/components/. It is a private page for developers (never linked, hidden from search engines), so there's no redirect. It is now off on the live site and on in previews by default; the Vercel settingWP2NEXT_COMPONENTS_ROUTE(onoroff) changes that, followed by a redeploy. It replaces the oldENABLE_DEV_ROUTEsetting. - Forms can go to several places at once. The single "forms provider" becomes a list of
destinations: an email through Resend (recommended as the safety net), plus HubSpot, monday.com or a
webhook. Your current setup keeps working; the upgrade moves it to the new list and suggests adding
Resend if the only destination is a CRM. An old
FORMS_PROVIDERsetting in Vercel would override the new list, so the upgrade removes it (asking first). Older HubSpot setups move to a HubSpot service key. Setup guide: Forms, email and CRM. - A brand package and private brand guide (
/brand/) can be added: your logo, colors and fonts in one file, a generatedDESIGN.md, and a guide page that is off on the live site unless you switch it on (WP2NEXT_BRAND_ROUTE). Optional; it doesn't change how your pages look.
Before you start
- Commit or set aside any work in progress. The upgrade refuses to start with uncommitted changes.
- The site should build cleanly as it is (
wp2next upgradechecks). - Node.js 24 and pnpm 11.10.0 on your computer (
node --version,pnpm --version; see Quick start). Node 24 is the toolchain baseline: upgraded sites pin it. - Have your password manager unlocked: building the site needs its Sanity settings.
If something goes wrong
- Before merging: delete the branch. Nothing on the live site changed.
- After merging: Vercel can switch back to the previous version in a click (Deployments → the older one → Instant Rollback). The assistant asks before doing it for you.
What the move to Next.js 16 changes for you
Mostly nothing you can see. Behind the scenes:
next buildno longer runs the code checks, so the site runspnpm lintseparately (CI does too).- TypeScript stays on version 6, because version 7 doesn't work with Next.js's lint rules yet.
- New tools work: Next.js's own skills and DevTools MCP, which
wp2next optimizecan use (see Companion skills). - The newer caching model (Cache Components) stays off. It's an opt-in change for later.
Uninstall
Ask your assistant wp2next uninstall. It works out how wp2next was installed, lists exactly what it
will remove, and asks before removing anything. It never touches your sites, and it leaves companion
skills and impeccable alone unless you ask.
It also asks about your saved defaults in ~/.config/wp2next/, before it removes anything (the
tools it uses to show them are part of the skill). That folder holds no passwords or keys, only your
preferences. Keep it if you might reinstall.
By hand:
| Installed with | Remove with |
|---|---|
| Claude desktop app (Customize → Plugins) | Remove it in Customize → Plugins (check in the UI) |
| Claude Code plugin (also used by the desktop app) | claude plugin uninstall wp2next@mtrc, then optionally claude plugin marketplace remove mtrc |
skills installer | npx skills remove wp2next -g |
| Git clone with links | Delete the links (rm ~/.claude/skills/wp2next ~/.agents/skills/wp2next), then the clone folder |
| Copied by hand | rm -rf ~/.claude/skills/wp2next ~/.agents/skills/wp2next (whichever exist) |
| Saved defaults (optional) | rm -rf ~/.config/wp2next |
On Windows, use Remove-Item -Recurse -Force <folder> in PowerShell for the folder commands (for
example Remove-Item -Recurse -Force "$HOME\.config\wp2next"), or delete the folders in File
Explorer. Restart your assistant afterwards.
Troubleshooting
- "Already at the latest version" but the changelog shows a newer one. The plugin compares the
version number in the release, not individual changes. Wait for the release, or update the
marketplace first (
claude plugin marketplace update mtrc). npx skillssays Node is too old. Switch to Node 24 (the toolchain baseline). See Troubleshooting.- Update check fails with a rate limit. Anonymous GitHub checks are limited per hour. Wait, or log
in with
gh auth login. - Cursor. Cursor has no documented update command for skills; use the
skillsinstaller. (Cursor's skills docs now redirect to another site; checked 2026-12.)