Companion skills
For people running migrations (freelancers, agencies, developers). Moving your own site? Start with Move my site.
wp2next works on its own. Companion skills are optional add-ons, made by Sanity, Vercel, the Next.js team, Microsoft, Resend and others, that give your AI assistant extra know-how for parts of the job: modeling content in Sanity, writing fast React, deploying to Vercel, sending form emails, editing copy, reviewing a finished site. wp2next decides when to use each one, and its own rules win when the advice disagrees.
You can install them during wp2next init, which asks first, or any time with the commands below.
wp2next doctor shows which ones you have.
Do I need them?
No. They help in three places:
- While building: the Sanity skills and two React skills give the assistant better patterns for content models, rich text and components. Worth installing.
- After the new site matches the old one: review skills look for speed, accessibility, search and
hosting-cost improvements. wp2next runs these through
wp2next optimize. - For forms and copy: the Resend skills help set up form emails (Resend is wp2next's default way
to send form submissions), and Humanizer edits text that wp2next writes for you in
wp2next contentso it reads like a person wrote it.
What each one does
| Name | Made by | What it helps with | When wp2next uses it |
|---|---|---|---|
| Sanity agent toolkit | Sanity | Moving content into Sanity, content models, rich text, settings pages, SEO metadata | During the build |
| React best practices | Vercel | About 60 rules for fast React and Next.js code | During the build, and optimize react |
| Composition patterns | Vercel | Clean, reusable component designs | During the build |
Vercel plugin, or the lighter vercel-cli skill | Vercel | Creating the Vercel project, settings, domains, deploys | Going live |
| Playwright | Microsoft | Looking at pages in a real browser | Checking pages |
| Web design guidelines | Vercel | Reviews the site's code for accessibility, focus, forms and typography issues | optimize design, after sign-off |
| Vercel optimize | Vercel | Finds cost and speed savings from your live site's Vercel numbers | optimize vercel, after launch |
| Next.js skills | Next.js team | Checking a running site for errors; trimming JavaScript; newer caching features | optimize and upgrade |
| Next.js DevTools MCP | Next.js team | Lets the assistant read errors and routes from the running dev server | Debugging |
| Resend skills (plugin includes Resend's MCP server) | Resend | Sending email from the contact form, sending-domain setup, email best practices | Building forms, going live, handing over |
| Humanizer | Independent (open source, MIT) | Removes typical AI-writing patterns from text without changing what it says | wp2next content (rewrites, alt text, meta descriptions, FAQs) |
Some of the Next.js tools need Next.js 16. Sites built with wp2next 1.x use Next.js 15; run
wp2next upgrade first (see Updating wp2next and your sites).
Why wp2next sometimes says no to their advice
These skills are written for brand-new Next.js apps. A wp2next site is a careful copy of an existing WordPress site, so a few common tips would break it. wp2next blocks these, and tells you so in its reports:
- "Use
next/image" and "usenext/font". Both change how images and text are laid out, which breaks the pixel-for-pixel match with the old site. wp2next uses its own image component that gets the same speed benefits (sizes, lazy loading, a preloaded main image) without changing the layout. - "Add Tailwind classes", "use shadcn/ui", "run the bootstrap command". wp2next keeps styles in CSS Modules with shared design tokens. Mixing approaches makes the site harder to maintain.
- "Rewrite this title or description." Page titles, descriptions and URLs stay the same as the old site unless you approve a change, so search rankings carry over.
- "Turn on Cache Components" or "use Sanity Live". wp2next's update method (Sanity tells the site when content changes) is simpler. Newer caching is available later as a separate, opt-in change.
- "Change this Vercel setting." wp2next lists these for you and asks before each one, because some change what you pay.
- "Install Resend from the Vercel Marketplace." That ties the Resend account to whoever's Vercel team installed it, which makes handing the site over hard. wp2next has the site owner create their own Resend account instead. (Resend's Vercel guide (external site), checked 2026-12)
- "Make this copy more persuasive." Rewrites never add claims, numbers, prices or testimonials that weren't there, and every edit is saved as a draft you review and publish yourself. Humanizer makes text read better for people; it is not a way to hide AI use (its own docs say AI detectors still flag most of its output).
Before you've signed off that the new site matches the old one, review skills only
report. After sign-off, wp2next optimize applies safe fixes and asks about anything that changes
the look. See Speeding up the finished site.
Install
The installer for most of these is the cross-tool skills command, which runs on Node 24 (the toolchain baseline).
There are two kinds of commands below:
- Terminal commands (in
bashblocks) run in a terminal. Your assistant can run them for you after asking. - Slash commands (starting with
/) are typed into a Claude Code chat. Only you can type them; your assistant can't. Every Claude Code plugin install has a terminal form too (claude plugin install …), so you only need the slash form if you prefer it.
Claude Code
claude plugin install sanity@claude-plugins-official
claude plugin install playwright@claude-plugins-official
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a claude-code
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a claude-code
vercel setup skills # the vercel-cli skill; re-run after updating the Vercel CLIIf claude plugin install says the plugin isn't found, run
claude plugin marketplace update claude-plugins-official and try again. Then type /reload-plugins
in Claude Code (or start a new session) so the plugins load.
The same plugin installs as slash commands, if you'd rather type them in the chat:
/plugin install sanity@claude-plugins-official
/plugin install playwright@claude-plugins-official
/reload-pluginsFor forms and copy:
claude plugin install resend@claude-plugins-official
claude plugin marketplace add blader/humanizer
claude plugin install humanizer@humanizer # needs Claude Code 2.1.142 or newerOn an older Claude Code, install Humanizer with
npx skills add blader/humanizer -g -a claude-code instead.
After sign-off (for optimize):
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -g -a claude-code
npx skills add vercel-labs/agent-skills --skill vercel-optimize -g -a claude-code
npx skills add vercel/next.js --skill next-dev-loop -g -a claude-code
npx skills add vercel/next.js --skill next-bundle-optimizer -g -a claude-code
npx add-mcp next-devtools-mcp@latestPrefer the full Vercel plugin? claude plugin install vercel@claude-plugins-official in a terminal
(or /plugin install vercel@claude-plugins-official in the chat), then /reload-plugins.
Codex
npx skills add sanity-io/agent-toolkit -g -a codex
codex mcp add Sanity --url https://mcp.sanity.io
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a codex
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a codex
npx skills add microsoft/playwright-cli --skill playwright-cli -g -a codex
npx skills add resend/resend-skills -g -a codex
npx skills add blader/humanizer -g -a codex
vercel setup skillsFor optimize, use the same --skill lines as Claude Code with -a codex. Codex's sandbox blocks
network access and local servers by default, so approve those steps when optimize asks.
Cursor
npx skills add sanity-io/agent-toolkit -g -a cursor
npx sanity@latest mcp configure
npx skills add vercel-labs/agent-skills --skill react-best-practices -g -a cursor
npx skills add vercel-labs/agent-skills --skill composition-patterns -g -a cursor
npx skills add microsoft/playwright-cli --skill playwright-cli -g -a cursor
npx skills add resend/resend-skills -g -a cursor
npx skills add blader/humanizer -g -a cursor
vercel setup skillsSanity's plugin is also in the Cursor Marketplace. The Vercel plugin installs with
npx plugins add vercel/vercel-plugin.
Other assistants
Use the same npx skills add … commands with your assistant's name after -a (the
skills installer docs (external site) list them), or leave -a off and pick
from the list it shows.
Full table with every command: the skill's own references/companions.md.
Privacy notes
- The Vercel plugin runs a small check at the start of each session and sends usage telemetry
when a skill is used. Turn telemetry off by setting
VERCEL_PLUGIN_TELEMETRY=offin your environment. The lightervercel-cliskill has no such hooks. (Vercel plugin docs (external site), checked 2026-12) - Vercel optimize reads your project's usage and speed numbers through your Vercel login. Its most detailed, page-by-page advice needs Vercel's paid Observability Plus add-on. (skill source (external site), checked 2026-12)
- The Resend plugin connects to Resend's hosted MCP server, which you sign in to in the browser (no key pasted). It can read your Resend account; wp2next asks before anything that sends email or creates or deletes domains, keys or webhooks. (Resend MCP docs (external site), checked 2026-12)
- Humanizer is a set of written instructions for the assistant; it doesn't send your text anywhere on its own. (source (external site), checked 2026-12)
- None of these need your passwords or keys in the chat. If one asks you to paste a token, don't.
Speeding up the finished site
wp2next optimize runs the review skills on the side while you keep working:
- It builds the site and records "before" screenshots and Lighthouse speed scores.
- Each review skill writes a report. Nothing changes yet.
- You see one combined list, sorted by how much each fix helps. Each item is marked:
- safe: nothing visible changes;
- visual: the look changes (in pixel mode, desktop changes count as a departure from the old site and need your OK);
- content: words, titles or URLs change (always needs your OK);
- hosting: a Vercel or Sanity setting (you approve each one);
- blocked: conflicts with a wp2next rule, shown with the reason.
- Approved fixes go on a separate branch. wp2next then takes "after" screenshots and proves nothing changed that you didn't approve, and compares speed scores. A drop in accessibility or search scores stops the merge.
- You choose what to merge.
You can run one area at a time: wp2next optimize react, bundle, caching, design, seo or
vercel. Three more areas use wp2next's own checks and need no companion: ia (how pages are
organized and linked), redirects (old WordPress addresses still reach the right page) and
structure (turning repeated content like team members or locations into proper Sanity entries).
Updating and removing
- Skills from the
skillsinstaller:npx skills check, thennpx skills update <name> -g -y; remove withnpx skills remove <name> -g. - Claude Code plugins:
claude plugin update <name>@<marketplace>in a terminal, then/reload-pluginsin the chat; or/plugin→ Installed in the chat. vercel-cliskill: runvercel setup skillsagain.- Uninstalling wp2next leaves companion skills alone unless you ask.
Sources (checked 2026-12)
- Sanity agent toolkit: github.com, sanity io, agent toolkit (external site)
- Vercel agent skills: github.com, vercel labs, agent skills (external site)
- Vercel plugin: github.com, vercel, vercel plugin (external site), vercel.com, docs, agent resources, vercel plugin (external site)
vercel setup: vercel.com, docs, cli, setup (external site)- Next.js skills and MCP: github.com, vercel, next.js, tree, canary, skills (external site), nextjs.org, docs, app, guides, ai agents (external site), nextjs.org, docs, app, guides, mcp (external site)
- Playwright CLI skill: github.com, microsoft, playwright cli (external site)
skillsinstaller: github.com, vercel labs, skills (external site)- Claude Code plugin commands: claude.com, code.claude.com, docs, plugin marketplaces (external site)
- Resend skills and MCP: github.com, resend, resend skills (external site), resend.com, docs, mcp server (external site)
- Humanizer: github.com, blader, humanizer (external site)