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.
How does a WordPress skill work?
› node skills/wp-project-triage/scripts/detect_wp_project.mjsFirst it detects the project type, tooling and versions.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
wordpress-routerwp-project-triagewp-block-developmentwp-block-themeswp-patternswp-interactivity-apiwpdswp-plugin-developmentwp-rest-apiwp-plugin-directory-guidelineswp-abilities-apiwp-ability-developmentwp-abilities-auditwp-abilities-verifywp-wpcli-and-opswp-envwp-playgroundblueprintwp-phpstanwp-performanceAll 20 skills: when they help and what they need
| Skill | When it helps | Requirements |
|---|---|---|
wordpress-router | Classifying a repository (plugin, theme, block theme, core) and routing to the right workflow | bash + node |
wp-project-triage | Producing a JSON report of project type, tooling, tests and version hints | bash + node |
wp-block-development | Gutenberg blocks: block.json, attributes, dynamic rendering, deprecations, builds | bash + node |
wp-block-themes | Block themes: theme.json, templates and template parts, patterns, style variations | bash + node |
wp-patterns | Creating and reviewing block patterns (starter pages, Query Loop layouts) | bash + node |
wp-interactivity-api | Building and debugging frontend interactivity with data-wp-* directives | bash + node |
wpds | Building UIs with WordPress Design System components | WPDS MCP server |
wp-plugin-development | Plugin architecture, hooks, settings pages, security, uninstall, release packaging | bash + node |
wp-rest-api | Writing REST endpoints, schemas, authentication and response shaping | bash + node |
wp-plugin-directory-guidelines | WordPress.org plugin directory rules: GPL, naming and trademarks, Plugin Check findings | WP-CLI and Plugin Check for automated checks |
wp-abilities-api | Defining abilities and categories with the Abilities API, REST exposure, permission checks | bash + node |
wp-ability-development | Designing and reviewing an ability's schema and behavior | — |
wp-abilities-audit | Auditing a plugin's REST surface and proposing ability registrations | The plugin's source code |
wp-abilities-verify | Verifying ability registrations (including catching "read-only" abilities that write) | wp-env or similar for runtime mode |
wp-wpcli-and-ops | WP-CLI: safe search-replace, database export/import, plugin and user management, cron, multisite | WP-CLI |
wp-env | Setting up and troubleshooting a local WordPress environment with @wordpress/env | Docker + Node.js 18.12+ |
wp-playground | WordPress Playground: CLI runs, share links, browser previews | Node.js 20.18+ |
blueprint | Writing and validating Playground Blueprint JSON files | Optional Playground CLI |
wp-phpstan | Setting up PHPStan static analysis and fixing its findings | Composer |
wp-performance | Measuring slowness: WP-CLI profile/doctor, Server-Timing, query and cache tuning | Prefers WP-CLI |
| Your work | Install this first |
|---|---|
| Writing a plugin for a client | wp-plugin-development, wp-rest-api |
| A custom block or block theme | wp-block-development, wp-block-themes |
| A slow site | wp-performance, wp-wpcli-and-ops |
| Submitting a plugin to WordPress.org | wp-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.
› npx skills add WordPress/agent-skills --skill wp-plugin-development› npx skills add WordPress/agent-skills --list› npx skills add WordPress/agent-skills --skill wp-plugin-development wp-abilities-api wp-playground› npx skills add WordPress/agent-skills --skill wp-plugin-development --globalThe command asks for a scope; if you choose project scope, the skill is written into the agent folder in the repository.
› git clone https://github.com/WordPress/agent-skills.git
cd agent-skills
node shared/scripts/skillpack-build.mjs --clean› node shared/scripts/skillpack-install.mjs --global
node shared/scripts/skillpack-install.mjs --global --skills=wp-playground,wp-block-development--dry-run shows what will happen before installing. Claude Code discovers skills under ~/.claude/skills/ on its own.
› node shared/scripts/skillpack-install.mjs --dest=../your-wp-project --targets=codex,vscode,claude,cursor.codex/skills/for OpenAI Codex.github/skills/for VS Code / GitHub Copilot.claude/skills/for Claude Code (project level).cursor/skills/for Cursor (project level)
Antigravity is opt-in: if antigravity is added to the --targets list for both build and install, skills are also copied into .agents/skills/. Global install for Cursor: --targets=cursor-global.
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.
Which agents does it work with?
| Claude CodeYes | Project (.claude/skills/) and global (~/.claude/skills/) installation are in the README. |
|---|---|
| OpenAI CodexYes | Project install into .codex/skills/. |
| CursorYes | Project (.cursor/skills/) and global (~/.cursor/skills/). |
| VS Code / GitHub CopilotYes | Project install into .github/skills/. |
| AntigravityYes | Opt-in target: .agents/skills/ and ~/.gemini/antigravity/skills/. |
| Claude app (claude.ai, Desktop)Unclear | The 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
The files of the WordPress project the agent works in: plugin, theme and block folders, block.json, tooling settings.
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.
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.
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).
- GPL-2.0-or-later: free to use, modify, adapt in-house and distribute
- 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?
- 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>. - 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
- WordPress/agent-skills repository (README)
- Packaging and installation
- AI authorship disclosure
- Compatibility policy
- skills/
- skills.sh: wordpress/agent-skills
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.





