Skip to content
Skill

Wp abilities API

Guides an agent through registering and exposing WordPress Abilities API features

Wp abilities API is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Wp abilities API

This skill helps an AI coding agent work with the WordPress Abilities API: registering abilities and ability categories in PHP, exposing them over the wp-abilities/v1 REST namespace, and consuming them from JavaScript with @wordpress/abilities. It walks through checking WordPress version support, locating existing registrations in a repository, choosing how to group abilities, and setting metadata such as readonly and show_in_rest.

The workflow points the agent to bundled reference files covering domain versus exposure design, grouping heuristics, shared service layers, standard WP_Error codes and input schema pitfalls. It also lists verification steps, such as confirming endpoints return the registered ability, and a debugging checklist for abilities that do not appear in REST or in client code. The skill itself contains no scripts.

It expects a WordPress project or core checkout, with bash and Node available in the agent environment. Some steps assume WP-CLI, and targets are WordPress 7.0 or later with PHP 7.4 or later.

When your agent uses it

Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 10 files (88 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise

Or copy only this skill to ~/.claude/skills/wp-abilities-api:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/wp-abilities-api &&
cp -R "$tmp/third-party/wp-abilities-api" ~/.claude/skills/wp-abilities-api &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/wp-abilities-api inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/wp-abilities-api to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/wp-abilities-api &&
cp -R "$tmp/third-party/wp-abilities-api" ~/.agents/skills/wp-abilities-api &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/wp-abilities-api inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/wp-abilities-api to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/wp-abilities-api &&
cp -R "$tmp/third-party/wp-abilities-api" ~/.cursor/skills/wp-abilities-api &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/wp-abilities-api inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/hekivo/kivo-wise.git --path third-party/wp-abilities-api

Or copy the folder to ~/.gemini/skills/wp-abilities-api yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/wp-abilities-api:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/wp-abilities-api &&
cp -R "$tmp/third-party/wp-abilities-api" ~/.copilot/skills/wp-abilities-api &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/wp-abilities-api inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hekivo/kivo-wise.git

Then copy kivo-wise/third-party/wp-abilities-api into your agent's skills folder as wp-abilities-api. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Ability registration in PHP
Covers registering abilities with stable IDs, labels, categories and meta using the documented init hooks.
Ability category setup
Explains when and how to register ability categories to group related abilities.
REST exposure checks
Describes verifying wp-abilities/v1 endpoints and the show_in_rest meta setting.
JavaScript consumption
Outlines using @wordpress/abilities on the client and bundling the dependency.
Permissions and grouping guidance
References design notes on grouping abilities and separating domain logic from exposure.
Debugging missing abilities
Lists common causes when abilities fail to appear or return empty results.

Good for

  • Register a new ability for a WordPress plugin
  • Expose plugin functionality to AI clients over REST
  • Find out why an ability does not show up in the REST response
  • Add a category to group existing WordPress abilities
  • Consume registered abilities from a JavaScript block or admin app

Wp abilities API FAQ

What does the skill need to run?

It expects a repository root and a WordPress target version, plus bash and Node in the agent environment. Some workflows require WP-CLI.

Which WordPress versions does Wp abilities API target?

It targets WordPress 7.0 and later, with PHP 7.4.0 or later. For projects below WP 6.9 it notes that the Abilities API plugin or package may be needed.

Does the skill include scripts?

No, the folder has no scripts. It relies on instructions and reference files.

How do I install Wp abilities API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/wp-abilities-api to use it in all your projects, or to .claude/skills/wp-abilities-api in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

Does Wp abilities API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Wp abilities API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Wp abilities API?

The closest alternatives to Wp abilities API are Wp abilities MCP, Wp REST API, Acf native, Craftcms and Testing wp.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Maps design sections to a project's existing blocks before any code is generated

    • Open source
    • 14 GitHub stars
    • Developer tools