AI environments
For people running migrations (freelancers, agencies, developers). Moving your own site? See the plain-language version.
wp2next is an Agent Skill (external site): a folder with a SKILL.md file that an AI coding
assistant reads and follows. Any assistant that supports Agent Skills can run it. This page covers
installing each assistant, the plan you need, where skills live, how to install wp2next, how to run
its commands, and how to add MCP servers (connections to Vercel, Sanity and GitHub).
Facts on this page were checked in December 2026. These products change quickly, so follow the source links if something doesn't match.
Which one should I use?
| If you... | Use |
|---|---|
| Have no preference, or you're a site owner | The Claude desktop app (its Code tab), on macOS or Windows. It runs Claude Code, which wp2next was built and tested with, without a terminal window, and it adds visual diffs, a built-in terminal and browser preview. The docs assume it by default. |
| Prefer a terminal | Claude Code (terminal): the same engine as a CLI. Same plan, same plugin commands (/wp2next:init). |
| Already pay for ChatGPT | Codex. Every ChatGPT plan includes it. |
| Already use Cursor as your editor | Cursor. |
| Use something else (Gemini CLI, VS Code with Copilot, Devin, OpenCode) | It probably works. See Other assistants. |
A full migration is a long session with many steps. Whatever you choose, a plan with generous usage limits saves interruptions.
Claude desktop app
The Claude app for macOS and Windows, using its Code tab. It runs the same Claude Code engine as the CLI, so wp2next behaves the same; what differs is how you install plugins, pick a folder and approve actions. Sources (checked 2026-12): desktop quickstart (external site), desktop reference (external site), installing plugins (external site), plugins on claude.ai and Desktop (external site).
Install
| System | Download |
|---|---|
| macOS (Intel and Apple silicon, one build) | claude.ai, … (external site) |
| Windows x64 | claude.ai, … (external site) |
| Windows ARM64 | claude.ai, … (external site) |
Linux (beta: Ubuntu and Debian, apt or .deb) | desktop-linux (external site) |
Open it, sign in and click Code at the top of the sidebar. The app includes Claude Code: you don't need Node.js or the CLI for the app itself (wp2next's projects still need the toolchain). The desktop docs list no minimum OS; Claude Code itself needs macOS 13+ or Windows 10 1809+ (inferred to apply to the app). It auto-updates on launch; to check by hand use Claude → Check for Updates… (macOS) or Help → Check for Updates… (Windows), then start a new session.
Plan
The same as Claude Code: Pro, Max, Ultra, Team or Enterprise; the free plan doesn't include it. If Code shows an upgrade prompt, the plan is the problem. A 403 error: sign out and in, check the subscription, quit and reopen the app. Prices: Claude Code → Plan.
Open a project folder
Each conversation is a session with its own folder. In the row under the message box, click the
environment control and pick the top entry under Local, then the folder control → Open
folder…. Other environments: Cloud (keeps running when the app is closed, but doesn't read your
~/.claude/skills and has no Local site to read), SSH, and WSL on Windows (plugins aren't
available there; see Windows). Run wp2next in a Local session: it
needs your Local WordPress site and your logged-in CLIs.
Permissions
Pick a mode in the same row (Cmd+Shift+M on macOS, Ctrl+Shift+M on Windows; Shift+Tab doesn't cycle modes here). The choice is remembered per folder.
| Mode | What it does | For wp2next |
|---|---|---|
| Manual | Asks before each edit (with a diff) and each command | Recommended to start |
| Accept edits | Accepts file edits and simple file commands (mkdir, touch, mv); asks before other commands | Fine once you trust the run |
| Plan | Reads and proposes, doesn't edit | Not for running phases |
| Auto | A background classifier checks risky actions; no routine prompts. Only where available | Your call |
| Bypass permissions | No prompts. Must be turned on in Settings → Code first; Anthropic says to use it only in sandboxed containers or VMs | Don't |
Older app versions call these "Ask permissions", "Auto accept edits" and "Plan mode". /permissions
isn't available in the app; edit ~/.claude/settings.json instead (the app reads the same file as
the CLI). On native Windows there is no sandbox, so approvals are your only guard.
Install wp2next
Route 1, no terminal: Customize → Plugins. In the Claude app, open Customize → Plugins,
choose Add → Add marketplace, enter MTRCio/wp2next, then install wp2next from it. Plugins
added here are saved to your Claude account and download into Claude Code sessions as a synced plugin
(wp2next@synced) the next time you start a session; run /reload-plugins if the commands don't show.
On Team and Enterprise plans an Owner controls which sources members may add. Exact labels may differ
(check in the UI). Whether account plugins load as reliably in local Code sessions as in the
terminal is Not yet confirmed.
Route 2, the documented one: the CLI, once. The terminal, the desktop app's local sessions and
the VS Code extension on one computer read the same settings, so a plugin installed at user scope in
one is available in the others. Open the Code tab's Terminal pane (Ctrl+`) and run:
curl -fsSL https://claude.ai/install.sh | bash
claude plugin marketplace add MTRCio/wp2next
claude plugin install wp2next@mtrcirm https://claude.ai/install.ps1 | iex
claude plugin marketplace add MTRCio/wp2next
claude plugin install wp2next@mtrcThen start a new session. The Code tab's + → Add plugins (or Plugins → Browse plugins) browser
lists plugins and lets you pick a scope, but adding a third-party marketplace from it isn't
documented, and whether typing /plugin marketplace add in the Code tab works is Not yet confirmed.
Route 3: as a personal skill. npx skills add MTRCio/wp2next -g -a claude-code copies wp2next into
~/.claude/skills/ (Windows: C:\Users\<you>\.claude\skills\, inferred), which local sessions
load. Commands are then /wp2next init, not /wp2next:init.
Use one route only. Two installs (for example a synced plugin and a CLI plugin) can load two versions;
doctor warns when it finds more than one.
Run commands
Type / in the message box, or click + → Slash commands. Plugin commands are namespaced, as in the
CLI: /wp2next:init, /wp2next:migrate mysite.local, /wp2next:status; the main skill is
/wp2next:wp2next <command>. wp2next's interview
questions appear as clickable choices. @filename adds a file to the conversation.
Terminal and browser panes
- Terminal pane:
Ctrl+`on macOS and Windows. It opens in the session's folder and shares Claude's environment. Use it for the commands wp2next hands to you, such as entering a key into a hidden prompt. - Browser pane: Cmd+Shift+B / Ctrl+Shift+B. Claude can preview the dev server there. External sites open in a clean profile, separate from your own browser. Turn browser tools off in Settings → Code → Browser tools if you prefer.
- Shells: commands Claude runs use your login shell on macOS. On Windows, Claude uses Git Bash
when Git for Windows is installed and PowerShell otherwise (documented for the CLI; inferred for the
app). Commands you type after
!run in your login shell on macOS and PowerShell on Windows. - PATH: the app only sees tools installed before it started. On Windows it doesn't read PowerShell profiles, so tools set up only there (such as fnm's Node) are invisible to it; install Node with winget, or set PATH in the Windows environment variables, then quit and reopen the app. Details: Windows.
What's shared with the CLI, and what isn't
- Shared on one computer (local sessions):
CLAUDE.md,~/.claude/skills/, plugins installed at user scope, MCP servers in~/.claude.jsonand.mcp.json, hooks and~/.claude/settings.json. MCP setup is in MCP servers and command-line tools. - Not shared: Cowork uses plugins and connectors from your claude.ai account, not
~/.claude. The app has its own copy of Claude Code, which can be a different version from your terminal'sclaude(check with/status).
Limits that matter for wp2next
- Local sessions have a 15-minute API timeout per request.
- No
dontAskmode and no scripting (--print); the app is interactive only. - User- and local-scope plugins aren't available in cloud sessions.
- Sessions started in a terminal don't appear in the app's sidebar, except through
/resume(which picks up a CLI session in a local app session). - Worktree sessions need Git ("Git is required"); Git LFS repos need Git LFS. PR monitoring needs
gh.
Claude Code (terminal)
Anthropic's coding assistant as a command-line tool. It also runs in VS Code and JetBrains, and inside the Claude desktop app.
Install
Source: claude.com, code.claude.com, docs, setup (external site) (checked 2026-12)
curl -fsSL https://claude.ai/install.sh | bash # recommended; updates itself
brew install --cask claude-code # or Homebrew (does not update itself)irm https://claude.ai/install.ps1 | iex # PowerShell; no admin needed; updates itselfcurl -fsSL https://claude.ai/install.sh | bash # also inside WSLCheck the install with claude --version. Run claude doctor if something is wrong. On Windows,
winget install Anthropic.ClaudeCode also works but doesn't update itself.
On Windows, Git for Windows is optional but recommended: without it, Claude Code runs commands through PowerShell; with it, through Git Bash (the PowerShell tool stays available for claude.ai and Console accounts). Native Windows has no sandbox; WSL 2 does. wp2next supports native Windows; see Windows for the full setup and the WSL2 path.
Plan
The free Claude plan does not include Claude Code. You need Pro, Max, Ultra, Team or Enterprise, or an API (Console) account. (checked 2026-12, claude.com, pricing (external site))
| Plan | Price |
|---|---|
| Pro | $20/month, or $17/month billed yearly |
| Max | $100/month |
| Ultra | $200/month |
| Team Standard | $25/seat/month, or $20 billed yearly (2 to 150 seats) |
| Team Premium | $125/seat/month, or $100 billed yearly |
| Enterprise | $20/seat plus usage at API rates, 20-seat minimum |
For the migration itself we recommend Max, $100/month: a $20 plan often runs out of usage partway through the rebuild. Once the site is live, Pro, $20/month, is enough for upkeep (checked 2026-12).
Where skills go
| Scope | Folder |
|---|---|
| Just you, all projects | ~/.claude/skills/<name>/SKILL.md (Windows: C:\Users\<you>\.claude\skills\) |
| One project, shared through git | .claude/skills/<name>/SKILL.md |
| Plugin | Installed with /plugin install |
Source: claude.com, code.claude.com, docs, skills (external site)
Install wp2next
The plugin is the easiest route:
/plugin marketplace add MTRCio/wp2next
/plugin install wp2next@mtrcThen run /reload-plugins or restart. Other routes: npx skills add MTRCio/wp2next -g -a claude-code, or
link a git clone's skills/wp2next into ~/.claude/skills/ (see
Quick start). Use one route only: with both the
plugin and a copy in ~/.claude/skills/, two versions can load. doctor warns about this.
Plugins from third-party marketplaces such as mtrc don't update themselves unless you turn on
auto-update in /plugin → Marketplaces (checked 2026-12,
source (external site)). /wp2next:update does it for you; see
Updating wp2next and your sites.
Run commands
How you type a command depends on how you installed wp2next. Claude Code puts everything a plugin brings under the plugin's name (checked 2026-12, source (external site)):
| Installed with | Type | Notes |
|---|---|---|
The plugin (/plugin install wp2next@mtrc) | /wp2next:init, /wp2next:migrate mysite.local, /wp2next:status | One entry per command. The main skill itself is /wp2next:wp2next <command>. Don't rely on plain /wp2next with this install: it may answer when nothing else uses the name, but the documented form is namespaced |
npx skills, a git clone or a copied folder | /wp2next init, /wp2next migrate mysite.local, /wp2next status | One skill; the first word after it is the command |
Plain language works with either install: "run wp2next doctor". Other wp2next guides write
commands as /wp2next <command>; plugin users read that as /wp2next:<command>.
Add MCP servers
claude mcp add --transport http vercel https://mcp.vercel.com
claude mcp add Sanity -t http https://mcp.sanity.io --scope user
claude mcp listThen type /mcp inside Claude Code to log in. Full per-service steps, including GitHub, are in
MCP servers and command-line tools. Source: claude.com, code.claude.com, docs, mcp (external site)
Codex (OpenAI)
OpenAI's coding agent. It runs as a CLI, an IDE extension, in the ChatGPT apps, and in the cloud.
OpenAI moved the Codex docs: old developers.openai.com/codex/... links now redirect to
learn.chatgpt.com/docs/....
Install
Source: github.com, openai, codex (external site) (checked 2026-12)
curl -fsSL https://chatgpt.com/codex/install.sh | sh
# or: npm install -g @openai/codex or: brew install --cask codexpowershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
# or: npm install -g @openai/codexOn Windows, Codex is also built into the ChatGPT desktop app (Microsoft Store, or
winget install --id 9PLM9XGG6VKS -s msstore). It runs in PowerShell with OpenAI's native Windows
sandbox; for sandbox protections, select "Ask for approval" under the message box. You can switch the
agent to WSL2 in its Settings (Windows app (external site),
Windows sandbox (external site), checked 2026-12).
curl -fsSL https://chatgpt.com/codex/install.sh | shRun codex and choose Sign in with ChatGPT.
Plan
Every ChatGPT plan includes Codex, with different usage limits. (checked 2026-12, chatgpt.com, learn.chatgpt.com, docs, pricing (external site))
| Plan | Price |
|---|---|
| Free | $0, limited |
| Go | $8/month |
| Plus | $20/month |
| Pro | $100, $200 or $500/month (no five-hour limit) |
| Business | $25/user/month, or $20 billed yearly, 2+ users |
| Enterprise, Edu | Contact sales |
For the migration itself we recommend Pro at $100/month: a $20 plan often runs out of usage partway through the rebuild. Once the site is live, Plus, $20/month, is enough for upkeep (checked 2026-12).
Where skills go
| Scope | Folder |
|---|---|
| Just you | ~/.agents/skills/<name>/SKILL.md |
| One repo | .agents/skills/<name>/SKILL.md |
Source: chatgpt.com, learn.chatgpt.com, docs, build skills (external site). Older pages
mention ~/.codex/skills; use ~/.agents/skills instead.
Install wp2next
npx skills add MTRCio/wp2next -g -a codexOr copy skills/wp2next into ~/.agents/skills/ (Windows: C:\Users\<you>\.agents\skills\;
create the folder first on a new machine). Restart Codex.
Run commands
$wp2next init
$wp2next migrate mysite.localYou can also type /skills and pick wp2next, or describe the task and let Codex pick the skill. In the
ChatGPT app, type @ and choose the skill.
Permissions (sandbox)
Codex runs commands in a sandbox. In its usual mode it may edit files in the folder you started it in, asks before editing anything outside that folder, and has network access turned off (checked 2026-12, source (external site)). wp2next needs both:
initwrites your settings to~/.config/wp2next/, andmigratecreates the new project folder. Start Codex in the folder that holds your projects (for example~/Sites), and expect an approval prompt for the settings file.- Installing packages (
pnpm install,npx sanity@latest,npx skills), reaching*.localsites, and calling GitHub, Vercel or Sanity all need the network. Approve those prompts as they come, or allow network access for workspace mode in~/.codex/config.toml:
[sandbox_workspace_write]
network_access = trueDon't switch to the "full access" mode to get around prompts; approving them one by one is safer.
Add MCP servers
codex mcp add vercel --url https://mcp.vercel.com
npx sanity@latest mcp configure # sets up Sanity for Codex and other detected tools
codex mcp listCodex stores MCP settings in ~/.codex/config.toml. Source:
chatgpt.com, learn.chatgpt.com, docs, extend, mcp (external site)
Cursor
An AI code editor. Cursor's documentation has moved: cursor.com/docs/... now redirects to
docs.grok.com/build/agents-window/... (checked 2026-12). Folder names still use .cursor/. Because of
the move, treat the Cursor details on this page as less certain than the others.
Install
Download it from cursor.com (external site) (macOS and Windows installers). Open the agent chat
with Cmd+I on a Mac or Ctrl+I on Windows. On Windows its terminal is PowerShell unless you change it;
for WSL, Cursor uses its own anysphere.remote-wsl extension (community reports, Not yet confirmed; see
Windows).
Plan
Not confirmed. cursor.com/pricing now redirects to grok.com, pricing (external site), which
lists Grok Build plans, not Cursor plans. Check the current price before you sign up. (checked 2026-12)
Where skills go
| Scope | Folder |
|---|---|
| Just you | ~/.agents/skills/ or ~/.cursor/skills/ |
| One project | .agents/skills/ or .cursor/skills/ |
Cursor also reads ~/.claude/skills/ and .claude/skills/, so a Claude Code install works in
Cursor too. Source: grok.com, docs.grok.com, build, agents window, skills (external site)
Install wp2next
npx skills add MTRCio/wp2next -g -a cursorOr copy skills/wp2next into ~/.agents/skills/ (Windows: C:\Users\<you>\.agents\skills\;
create the folder first on a new machine). Restart Cursor.
If wp2next doesn't appear when you type /: the skills installer puts Cursor's global skills in
~/.cursor/skills/, and a manual copy goes to ~/.agents/skills/. Check both:
ls ~/.cursor/skills/wp2next/SKILL.md ~/.agents/skills/wp2next/SKILL.mdTest-Path "$HOME\.cursor\skills\wp2next\SKILL.md", "$HOME\.agents\skills\wp2next\SKILL.md"If one prints a path (macOS) or True (Windows), it's installed: quit Cursor completely (Cmd+Q on a
Mac, File → Exit on Windows) and open it again. Some Cursor versions may also have a setting that turns Agent Skills on; we
could not confirm its name or whether it is still needed (Not yet confirmed, checked 2026-12).
Run commands
Type / in the agent chat and pick wp2next, then add the sub-command:
/wp2next init
/wp2next migrate mysite.localAdd MCP servers
Edit ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"vercel": { "url": "https://mcp.vercel.com" },
"Sanity": { "type": "http", "url": "https://mcp.sanity.io" }
}
}Then open Cursor's MCP settings and sign in to each server (the button label may differ by version; Not yet confirmed, checked 2026-12). If a server shows an error, restart Cursor and check the JSON file for typos.
Other assistants
Most assistants now read skills from ~/.agents/skills/, so the same install covers them. Run commands
by typing /wp2next init if the assistant has a / menu, or ask in plain words: "run wp2next init".
| Assistant | Skill folders | Source |
|---|---|---|
| Gemini CLI | ~/.gemini/skills/ (also ~/.agents/skills/), project .gemini/skills/ | geminicli.com, docs, cli, skills (external site) |
| VS Code + GitHub Copilot | ~/.copilot/skills/, .github/skills/; local sessions also read ~/.claude/skills/ and ~/.agents/skills/ | visualstudio.com, code.visualstudio.com (external site) |
| Devin Desktop (formerly Windsurf) | ~/.agents/skills/, ~/.config/devin/skills/, project .devin/skills/ | devin.ai, docs.devin.ai (external site) |
| OpenCode | ~/.config/opencode/skills/, project .agents/skills/ | vercel-labs/skills (external site) |
The npx skills installer knows the right folder for each one: npx skills add MTRCio/wp2next -g -a <agent>
(for example -a gemini-cli). It runs on Node 24 (the toolchain baseline).
Source: github.com, vercel labs, skills (external site)
How each of these adds MCP servers varies; see the assistant's own docs. The Vercel and Sanity setup
helpers (npx -y add-mcp https://mcp.vercel.com -g and npx sanity@latest mcp configure) detect
many of them for you. See MCP servers and command-line tools.
Companion skills
Sanity, Vercel, Next.js and Playwright publish their own skills, which wp2next uses at the right
moments. wp2next init offers to install them for your assistant; the list and the install command
for each assistant are in Companion skills.
If your assistant can't ask multiple-choice questions
The Claude desktop app and Claude Code show wp2next's questions as clickable choices. Other assistants get the same questions as a numbered list in chat. Answer with the number, or type your own answer.
Next steps
- Set up accounts: Accounts and plans
- Connect Vercel, Sanity and GitHub: MCP servers and command-line tools
- Add companion skills: Companion skills
- Back to the quick start