Skip to content

What Are WordPress Agent Skills? Official WordPress Skills for Claude Code, Codex and Cursor: Contents and Setup

You tell a coding agent "add a secure settings page to this plugin" or "build a Gutenberg block for hotel rooms"; instead of guessing at outdated WordPress patterns, the agent follows the skill's steps, writes the code and runs it through a verification checklist. Agent Skills for WordPress is the WordPress project's official GitHub repository: 20 skills for blocks, block themes, plugins, the REST API, the Interactivity API, the Abilities API, WP-CLI, performance, PHPStan and WordPress Playground. You install them one by one or all at once into Claude Code, Codex, Cursor or VS Code/GitHub Copilot with `npx skills add`; they are free.

What it does
Teaches coding agents current WordPress practices
Type
Skill collection (20 skills)
Where
Claude Code, Codex, Cursor, VS Code / GitHub Copilot
Target version
WordPress 7.0+, PHP 7.4+
Publisher
WordPress (official repository)
Cost
Free (GPL-2.0-or-later)

What do WordPress Agent Skills do?

Coding agents can write WordPress code, but the README lists common mistakes: outdated pre-Gutenberg and pre-block-theme patterns, missing security checks in plugins, forgotten block deprecations that cause "Invalid block" errors, and ignoring the tooling already in the project. A skill is a package of instructions, checklists and optional helper scripts that tells an agent step by step how to do a job. This repository collects 20 of them for WordPress work.

Who it helps: agencies and freelance developers who build WordPress sites, themes or plugins for clients, and teams that hand part of that work to Claude Code, Codex, Cursor or Copilot. For example, an agency has the agent write a "room card" block for a hotel client; the skill makes it set up block.json, deprecations and verification steps correctly.

To have an assistant do jobs on the site itself (not write code), read the WordPress MCP Adapter guide; the Abilities API skills here help you write the abilities that plugin exposes.

How does a WordPress skill work?

You describe the jobThe agent recognizes the matching skill from its description.
It inspects the project› node skills/wp-project-triage/scripts/detect_wp_project.mjsFirst it detects the project type, tooling and versions.
It follows the stepsIt writes the code using the SKILL.md procedure, reading the references/ docs when needed.
It verifiesIt runs the skill's verification checklist (e.g. save and reload, lint, tests).
The wordpress-router skill classifies the repository and routes to the right skill.

Each skill lives in its own folder: SKILL.md (when to use it, inputs, procedure, verification), references/ for deep-dive topics and scripts/ for detection or checks. If the same skill exists both in the project and in the user folder, the project version is used.

Which skills are there? Package contents

2Getting startedRecognizes the repository and routes to the right skill.wordpress-routerwp-project-triage
5Blocks and themesGutenberg blocks, block themes, patterns, interactivity, design system.wp-block-developmentwp-block-themeswp-patternswp-interactivity-apiwpds
3Plugins and APIsPlugin architecture, REST API, plugin directory guidelines.wp-plugin-developmentwp-rest-apiwp-plugin-directory-guidelines
4Abilities APIDefining, designing, auditing and verifying abilities.wp-abilities-apiwp-ability-developmentwp-abilities-auditwp-abilities-verify
6Environments and toolingWP-CLI, local environments, Playground, PHPStan, performance.wp-wpcli-and-opswp-envwp-playgroundblueprintwp-phpstanwp-performance
All 20 skills: when they help and what they need
SkillWhen it helpsRequirements
wordpress-routerClassifying a repository (plugin, theme, block theme, core) and routing to the right workflowbash + node
wp-project-triageProducing a JSON report of project type, tooling, tests and version hintsbash + node
wp-block-developmentGutenberg blocks: block.json, attributes, dynamic rendering, deprecations, buildsbash + node
wp-block-themesBlock themes: theme.json, templates and template parts, patterns, style variationsbash + node
wp-patternsCreating and reviewing block patterns (starter pages, Query Loop layouts)bash + node
wp-interactivity-apiBuilding and debugging frontend interactivity with data-wp-* directivesbash + node
wpdsBuilding UIs with WordPress Design System componentsWPDS MCP server
wp-plugin-developmentPlugin architecture, hooks, settings pages, security, uninstall, release packagingbash + node
wp-rest-apiWriting REST endpoints, schemas, authentication and response shapingbash + node
wp-plugin-directory-guidelinesWordPress.org plugin directory rules: GPL, naming and trademarks, Plugin Check findingsWP-CLI and Plugin Check for automated checks
wp-abilities-apiDefining abilities and categories with the Abilities API, REST exposure, permission checksbash + node
wp-ability-developmentDesigning and reviewing an ability's schema and behavior—
wp-abilities-auditAuditing a plugin's REST surface and proposing ability registrationsThe plugin's source code
wp-abilities-verifyVerifying ability registrations (including catching "read-only" abilities that write)wp-env or similar for runtime mode
wp-wpcli-and-opsWP-CLI: safe search-replace, database export/import, plugin and user management, cron, multisiteWP-CLI
wp-envSetting up and troubleshooting a local WordPress environment with @wordpress/envDocker + Node.js 18.12+
wp-playgroundWordPress Playground: CLI runs, share links, browser previewsNode.js 20.18+
blueprintWriting and validating Playground Blueprint JSON filesOptional Playground CLI
wp-phpstanSetting up PHPStan static analysis and fixing its findingsComposer
wp-performanceMeasuring slowness: WP-CLI profile/doctor, Server-Timing, query and cache tuningPrefers WP-CLI
Your workInstall this first
Writing a plugin for a clientwp-plugin-development, wp-rest-api
A custom block or block themewp-block-development, wp-block-themes
A slow sitewp-performance, wp-wpcli-and-ops
Submitting a plugin to WordPress.orgwp-plugin-directory-guidelines
Opening a plugin to AI assistants (MCP)wp-abilities-api, wp-abilities-audit

The README table lists 19 skills; wp-patterns isn't in the table but is in the repository. The "Requirements" column comes from each SKILL.md's compatibility line. According to skills.sh, as of November 18, 2026 the most-installed are wp-plugin-development and wp-performance, followed by wp-rest-api and wp-block-themes with equal counts.

How do you install WordPress Agent Skills?

There are two scopes: in project scope a skill is copied into a folder inside the repository (e.g. .claude/skills/), where it can go into version control and be shared with the team; in global scope it is copied into your user folder (e.g. ~/.claude/skills/) and shows up in every project.

Install one skill (into the project)› npx skills add WordPress/agent-skills --skill wp-plugin-development
See the list› npx skills add WordPress/agent-skills --list
Install several at once› npx skills add WordPress/agent-skills --skill wp-plugin-development wp-abilities-api wp-playground
Install globally (all projects)› npx skills add WordPress/agent-skills --skill wp-plugin-development --global

The command asks for a scope; if you choose project scope, the skill is written into the agent folder in the repository.

Manual installation works too: copy any folder under the repository's skills/ into your agent's instructions folder.

What do you type, what do you get? Example requests

Once installed, you don't need to type the skill name: describe the job in a plain sentence and the agent uses the skill whose description fits. The examples are based on the "when to use" and "verification" sections of the relevant SKILL.md files.

Custom block (wp-block-development)"Add a Gutenberg block called "Room card" for hotel rooms to this plugin, with fields for room name, photo, number of guests and nightly price. Use block.json; check that saving and reloading the page doesn't produce an "Invalid block" error."What you get: following the skill's procedure, the agent first scans the project and existing blocks, scaffolds the new block with @wordpress/create-block, sets apiVersion 3 and runs the verification checklist: can the block be inserted, is there an error after save and reload, is the frontend output right, do the repository's lint and tests pass.
Secure settings page (wp-plugin-development)"Add a settings page to my plugin. Saving should check a nonce and the user's capability, inputs should be sanitized and output escaped; when the plugin is deleted, only its own settings should be removed."What you get: a settings page registered with the Settings API and uninstall cleanup. The skill's verification items: the plugin activates without errors, settings save and read with capability and nonce checks, and uninstall deletes only the intended data.
Slow page (wp-performance)"The store's product page loads slowly. Find out why by measuring, show the slowest queries and autoloaded options, and suggest improvements."What you get: the skill follows a browser-free approach; a measurement plan with WP-CLI profile and doctor, Server-Timing and Query Monitor via REST headers, plus suggestions on queries, autoloaded options, object caching, cron and outbound HTTP calls.
Opening a plugin to assistants (wp-abilities-audit)"Review this plugin's REST endpoints and prepare an audit document proposing which abilities should be registered with the Abilities API."What you get: per the skill's description, a markdown audit document with a YAML schema and prose sections. Then wp-abilities-verify checks that the registrations actually behave as declared.

Which agents does it work with?

Claude CodeYesProject (.claude/skills/) and global (~/.claude/skills/) installation are in the README.
OpenAI CodexYesProject install into .codex/skills/.
CursorYesProject (.cursor/skills/) and global (~/.cursor/skills/).
VS Code / GitHub CopilotYesProject install into .github/skills/.
AntigravityYesOpt-in target: .agents/skills/ and ~/.gemini/antigravity/skills/.
Claude app (claude.ai, Desktop)UnclearThe README doesn't describe a way to load the skills into these apps.

The README says the skills work "with any AI assistant that supports project-level instructions"; the table only shows those with a documented install path. The skills target WordPress 7.0+ and PHP 7.4+; on an older site, tell the agent the target version.

What do the skills access? AI authorship

Reads

The files of the WordPress project the agent works in: plugin, theme and block folders, block.json, tooling settings.

Runs

Seven skills include Node.js scripts that scan the project and produce a report (such as detect_wp_project.mjs, list_blocks.mjs, perf_inspect.mjs); the agent runs them as part of the skill's steps.

Writes

The agent writes the code. The WP-CLI skill covers database export/import, search-replace and cache-flushing commands; if the agent runs them, they change the connected site.

How it was written

According to the README and the AI authorship disclosure, the 13 skills in the first release (v1) were generated from official Gutenberg and WordPress documentation with an AI model, reviewed and edited by WordPress contributors, and tried with AI assistants on real WordPress tasks. They haven't been through a formal evaluation because no such system exists yet. The documentation doesn't separately describe how the 7 skills added later were written.

Back up before running commands such as search-replace or a database import on a live site, and test the code the agent writes.

Are WordPress Agent Skills free?

Yes. The repository is licensed GPL-2.0-or-later and needs no account or key. The only cost is your coding agent's plan (Claude Code, Codex, Cursor, Copilot).

Allowed
  • GPL-2.0-or-later: free to use, modify, adapt in-house and distribute
Not allowed
  • If you distribute modified skills, you must distribute them under the same license, with their source

Source: LICENSE and README. GitHub's license field shows "NOASSERTION"; the LICENSE file is the GPL-2.0-or-later text. This is not legal advice.

How do you remove or update a skill?

  1. Remove: Delete the folder the skill was copied into: in a project, .claude/skills/<name>, .cursor/skills/<name>, .github/skills/<name>, .codex/skills/<name>; for a global install, ~/.claude/skills/<name> or ~/.cursor/skills/<name>.
  2. Update: The README doesn't describe automatic updates; rerun the install command for a new version. By default, skillpack-install only replaces the skill folders it installs.

Frequently asked questions

What are WordPress Agent Skills?

The WordPress project's official skill collection for coding agents. It contains 20 skills that tell agents such as Claude Code, Codex, Cursor and Copilot how to do block, theme, plugin, REST API, WP-CLI and performance work with current WordPress practices.

How do you install them in Claude Code?

For a single skill, npx skills add WordPress/agent-skills --skill wp-plugin-development is enough. To install all of them globally, clone the repository and run the skillpack-build and skillpack-install --global scripts; the skills go under ~/.claude/skills/.

Who makes these skills, and are they official?

The repository is in WordPress's GitHub organization and is a project of the WordPress Core AI team. The skills in the first release were generated from official documentation with an AI model and reviewed by WordPress contributors.

Are they free?

Yes, they are licensed GPL-2.0-or-later and need no account. The only cost is your coding agent's plan.

Which WordPress version do they work with?

The skills target WordPress 7.0 and later and PHP 7.4 and later. The compatibility policy asks the agent to ask for a target version when behavior differs across core versions.

Can they be used in Antigravity?

Yes, as an opt-in target. If antigravity is added to the targets list for build and install, the skills are copied into .agents/skills/, or into ~/.gemini/antigravity/skills/ for a global install.

Related guides

Sources

Not clear in the official sources: How to load them into the Claude app (claude.ai, Desktop) · use with requests in Turkish · pinning to a specific version, since there are no tagged releases. Each is covered in its section.