Populate Log
bonny/WordPress-Simple-History
Populates the event log with test data via WP-CLI. An agent skill from bonny/WordPress-Simple-History.
A skill your agent uses when adding or modifying WordPress abilities
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wp-media/wp-rocket wordpress-ability --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/wordpress-ability .claude/skills/wordpress-ability && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .claude/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-abilityType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wp-media/wp-rocket wordpress-ability --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/wordpress-ability .agents/skills/wordpress-ability && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .agents/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wp-media/wp-rocket wordpress-ability --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/wordpress-ability .cursor/skills/wordpress-ability && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .cursor/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wp-media/wp-rocket.git --path .claude/skills/wordpress-ability--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wp-media/wp-rocket wordpress-ability --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/wordpress-ability .gemini/skills/wordpress-ability && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .gemini/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wp-media/wp-rocket wordpress-abilityInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/wordpress-ability .github/skills/wordpress-ability && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .github/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wp-media/wp-rocket --skill wordpress-ability -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wp-media/wp-rocket wordpress-ability --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wp-media/wp-rocket.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/wordpress-ability .opencode/skills/wordpress-ability && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "wordpress-ability" agent skill from https://github.com/wp-media/wp-rocket/tree/develop/.claude/skills/wordpress-ability into .opencode/skills/wordpress-ability/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "wordpress-ability", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
wordpress-abilityA skill your agent uses when adding or modifying WordPress abilities
Wordpress Ability is an agent skill from wp-media/wp-rocket. Use this skill when adding or modifying WordPress abilities
Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA. It works with WordPress. The repository describes itself as: Performance optimization plugin for WordPress. The licence is GPL-2.0.
Read from SKILL.md and the folder at commit 3a96b66. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are php).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Wordpress Ability loads about 911 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 480 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wp-media/wp-rocket at commit 3a96b66, republished under its GPL-2.0 licence (© wp-media). 480 words, ~911 tokens.
.claude/skills/wordpress-ability/SKILL.md (or your agent's skills folder).Always check if the function exists before calling it, to ensure compatibility with WordPress versions prior to 6.9:
if ( ! function_exists( 'wp_register_ability' ) ) {
return;
}To add a new ability, follow these steps:
AbilitiesInterfaceServiceProviderwp_abilities_api_init hookAn ability name must be unique and follow the format wp-rocket/ability-name, where wp-rocket is the vendor name and ability-name is a descriptive name for the ability. Use hyphens to separate words in the ability name.
The check_permissions()method should always verify against the current user capabilities, using current_user_can( 'rocket_manage_options ) by default, to ensure that only authorized users can execute the ability, except explicitly required otherwise.
An ability must be associated to an ability category. If the category doesn't exist yet, register a new one in the related subscriber using the wp_abilities_api_categories_init hook.
Make the ability available to the REST API and the MCP by adding meta.show_in_rest=true and meta.mcp.public=true when registering the ability, unless explicitly required otherwise.
Annotations should be added to the meta field when registering the ability, as an array of key-value pairs:
An example of an ability class can be found in the /inc/Engine/Abilities/Options/GetOptions.php file.
If an ability requires input parameters, the parameters of the execute() method should always match the input schema defined when registering the ability.
The return value of the execute() method of an ability should always match the output schema defined when registering the ability.
Test only the execute() method of the ability class, which contains the logic to perform the action associated with the ability. Mock any dependencies and assert that the method behaves as expected under different conditions.
An example of unit tests for an ability class can be found in the /tests/Unit/inc/Engine/Abilities/Options/GetOptions/ExecuteTest.php file.
Check for WordPress version compatibility, abilities are available starting WordPress 6.9. Mark skip test if version under test is lower than 6.9.
Set up user to ensure ability permissions are correctly applied. Add scenario where user has the ability and another where they don't, and assert that the expected outcomes occur in both cases.
Test ability execution output by getting the ability WP_Ability object using wp_get_ability( $ability_name ) and calling the execute() method. Assert that the output is correct based on the input parameters and the expected behavior of the ability.
An example of integration tests for an ability class can be found in the /tests/Integration/inc/Engine/Abilities/Options/GetOptions/RegisterGetOptionsAbilityTest.php file.
© wp-media, GPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/wordpress-ability of wp-media/wp-rocket.
Open the folder on GitHubat commit 3a96b66
Wordpress Ability next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Wordpress Ability this skillwp-media/wp-rocket | 767 | — | ~911 | Automated safety check: Pass | GPL-2.0 | |
| Populate Logbonny/WordPress-Simple-History | 317 | — | ~1.2k | Automated safety check: Notes | None | |
| Wp Test Strategyjorgerosal/wordpress-skills | 100 | — | ~974 | Automated safety check: Pass | MIT | |
| Testingbonny/WordPress-Simple-History | 317 | — | ~5k | Automated safety check: Notes | None | |
| Wp Test Strategyjorgerosal/wordpress-skills | 100 | — | ~280 | Automated safety check: Pass | MIT | |
| WooCommerce Dev Cyclewoocommerce/woocommerce | 11k | 3 repos | ~431 | Automated safety check: Pass | Custom licence |
bonny/WordPress-Simple-History
Populates the event log with test data via WP-CLI. An agent skill from bonny/WordPress-Simple-History.
jorgerosal/wordpress-skills
WordPress testing strategy and review guidance. An agent skill from jorgerosal/wordpress-skills.
bonny/WordPress-Simple-History
Guidance for writing and running tests in Simple History, including the Premium add-on.
jorgerosal/wordpress-skills
WordPress test strategy guidance for Codex. An agent skill from jorgerosal/wordpress-skills.
woocommerce/woocommerce
Workflow for WooCommerce development: run PHP and JavaScript tests, lint and fix code style on the current branch, and follow guides for i18n and markdown.
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
wp-media/wp-rocket
Read and refresh wp-rocket's pre-built dependency graph at .claude/graph/dependency-graph.json.
wp-media/wp-rocket
A skill your agent uses when modifying templates, admin UI, output, hooks, plugin metadata, sanitization, escaping, or any code that must remain compliant with WordPress.org and repository PHPCS…
wp-media/wp-rocket
A skill your agent uses when changing service structure, Subscribers, ServiceProviders, Container wiring, bootstrapping, Context classes, or any code that may affect the core caching engine in WP…
wp-media/wp-rocket
Adversarially review a grooming spec before implementation starts.
wp-media/wp-rocket
Check a change against WordPress.org plugin rules and PHPCS standards.
wp-media/wp-rocket
Update developer-facing documentation to reflect code changes on the current branch.
Works with
Categories
A skill your agent uses when adding or modifying WordPress abilities. Wordpress Ability is an agent skill from wp-media/wp-rocket.
Wordpress Ability fits situations like: modifying WordPress abilities.
Run `npx skills add wp-media/wp-rocket --skill wordpress-ability -a claude-code`. Or copy the skill folder (.claude/skills/wordpress-ability in wp-media/wp-rocket) into .claude/skills/wordpress-ability in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wp-media/wp-rocket --skill wordpress-ability -a codex`. Or copy the skill folder (.claude/skills/wordpress-ability in wp-media/wp-rocket) into .agents/skills/wordpress-ability in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wp-media/wp-rocket --skill wordpress-ability -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wordpress-ability, .gemini/skills/wordpress-ability, .github/skills/wordpress-ability and .opencode/skills/wordpress-ability in your project.
SKILL.md names no scripts, command-line tools or credentials: Wordpress Ability is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Wordpress Ability is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 911 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Wordpress Ability: Populate Log (bonny/WordPress-Simple-History, 317 stars), Wp Test Strategy (jorgerosal/wordpress-skills, 100 stars), Testing (bonny/WordPress-Simple-History, 317 stars) and Wp Test Strategy (jorgerosal/wordpress-skills, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wp-media (a GitHub organization) maintains it in wp-media/wp-rocket, which has 767 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 6, 2026.
Source: wp-media/wp-rocket on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.