# Wp abilities API

> Wp abilities API is an open-source agent skill for developer tools. Guides an agent through registering and exposing WordPress Abilities API features. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/hekivo/kivo-wise/tree/main/third-party/wp-abilities-api
- **Repository:** https://github.com/hekivo/kivo-wise
- **GitHub stars:** 14
- **License:** MIT
- **Skill name:** wp-abilities-api
- **Collection:** https://github.com/hekivo/kivo-wise
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/hekivo/kivo-wise/tree/HEAD/third-party/wp-abilities-api)
- [License: MIT](https://github.com/hekivo/kivo-wise/tree/HEAD/third-party/wp-abilities-api)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Wp abilities MCP](https://ai-powered.com/skills/wp-abilities-mcp): Wp abilities MCP is an open-source agent skill for developer tools.
- [Wp REST API](https://ai-powered.com/skills/wp-rest-api): Wp REST API is an open-source agent skill for developer tools.
- [Acf native](https://ai-powered.com/skills/acf-native): Acf native is an open-source agent skill for developer tools.
- [Craftcms](https://ai-powered.com/skills/craftcms): Craftcms is an open-source agent skill for developer tools.
- [Testing wp](https://ai-powered.com/skills/testing-wp): Testing wp is an open-source agent skill for developer tools.
- [Wp hooks lifecycle](https://ai-powered.com/skills/wp-hooks-lifecycle): Wp hooks lifecycle is an open-source agent skill for developer tools.
- [Wp security escaping](https://ai-powered.com/skills/wp-security-escaping): Wp security escaping is an open-source agent skill for security.
- [Wp performance](https://ai-powered.com/skills/wp-performance): Wp performance is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/wp-abilities-api
