Agent skill

Wp Wpcli And Ops

by Automattic in Automattic/agent-skills

A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…

No licenceAuto-check passedProductivity & Automation

Install Wp Wpcli And Ops

skills CLI
$ npx skills add Automattic/agent-skills --skill wp-wpcli-and-ops -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Automattic/agent-skills wp-wpcli-and-ops --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Automattic/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/wp-wpcli-and-ops .claude/skills/wp-wpcli-and-ops && rm -rf skills-src

Use ~/.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/

Facts

Skill name
wp-wpcli-and-ops
GitHub stars
211
Used in
2 other repos
Token cost
~988 tokens
SKILL.md length
447 words
Files
9 (incl. scripts, references)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…

  • Works in 4 steps: Guardrails: confirm environment and… → Inspect WP-CLI and site targeting… → Choose the right workflow → …
  • Working with WP-CLI (wp) for WordPress operations: safe search-replace
  • SKILL.md covers When to use, Inputs required, Procedure and Verification, plus 2 more sections
  • Runs JavaScript scripts from its folder; calls node

What it does

Wp Wpcli And Ops is an agent skill from Automattic/agent-skills. Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `references/automation.md`, `references/cron-and-cache.md` and `references/debugging.md`). Compatibility notes: Targets WordPress 6.9+ (PHP 7.2.24+). Requires WP-CLI in the execution environment.

It sits in Productivity & Automation, covering Scheduled and recurring tasks. It works with WordPress. The repository describes itself as: Agent Skills for WordPress - folders of instructions, scripts, and resources.

When your agent uses it

  • Working with WP-CLI (wp) for WordPress operations: safe search-replace
  • Db export/import
  • Plugin/theme/user/content management
  • Scripting/automation with wp-cli.yml

Example prompts

  • “/wp-wpcli-and-ops”

Requirements

  • Node.js
  • Docker
  • Compatibility (from SKILL.md): Targets WordPress 6.9+ (PHP 7.2.24+). Requires WP-CLI in the execution environment.

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Guardrails: confirm environment and blast radius
  2. Inspect WP-CLI and site targeting (deterministic)
  3. Choose the right workflow
  4. Automation patterns (scripts + wp-cli.yml)

What it can do on your machine

Read from SKILL.md and the folder at commit 48d4aa2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Targets WordPress 6.9+ (PHP 7.2.24+). Requires WP-CLI in the execution environment.

    From compatibility in the SKILL.md frontmatter.

Context cost

Wp Wpcli And Ops loads about 988 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 447 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~988
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 447 words (~988 tokens).

“Use this skill when the task involves WordPress operational work via WP-CLI, including:”

— opening of SKILL.md by Automattic
name
wp-wpcli-and-ops
compatibility
Targets WordPress 6.9+ (PHP 7.2.24+). Requires WP-CLI in the execution environment.

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts, references) in skills/wp-wpcli-and-ops of Automattic/agent-skills.

  • SKILL.md
  • references/automation.md
  • references/cron-and-cache.md
  • references/debugging.md
  • references/multisite.md
  • references/packages-and-updates.md
  • references/safety.md
  • references/search-replace.md
  • scripts/wpcli_inspect.mjs

Open the folder on GitHubat commit 48d4aa2

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in Automattic/agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Wp Wpcli And Ops 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.

Wp Wpcli And Ops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wp Wpcli And Ops this skillAutomattic/agent-skills2112 repos~988Automated safety check: PassNone
Wp Wpcli And Opsjorgerosal/wordpress-skills102—~326Automated safety check: PassMIT
Wp Performancegambitph/Stackable3513 repos~1.5kAutomated safety check: PassGPL-3.0
Wp Plugin Developmentgambitph/Stackable3513 repos~999Automated safety check: PassGPL-3.0
Cron Opsczl9707/build-your-own-openclaw1.9k—~593Automated safety check: PassMIT
Superset Automatesuperset-sh/superset15k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Wp Wpcli And Ops

    jorgerosal/wordpress-skills

    WordPress WP-CLI and operations review for Codex. An agent skill from jorgerosal/wordpress-skills.

    102 GitHub stars~326 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Wp Performance

    gambitph/Stackable

    A skill your agent uses when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers)…

    351 GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • Wp Plugin Development

    gambitph/Stackable

    A skill your agent uses when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tasks, security…

    351 GitHub starsUsed in 3 repos~999 tokens
    Agent WorkflowsAuto-check passed
  • Cron Ops

    czl9707/build-your-own-openclaw

    Create, list, and delete scheduled cron jobs. An agent skill from czl9707/build-your-own-openclaw.

    1.9k GitHub stars~593 tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check passed
  • Superset Automate

    superset-sh/superset

    Turns a recurring chore into a scheduled or event-triggered Superset agent, drafting its prompt, picking a target and trigger, and reviewing the first run.

    15k GitHub stars~1.4k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Action Items Todoist

    mgonto/executive-assistant-skills

    Extract action items from today's Granola/Grain meetings, create Todoist tasks, complete fulfilled tasks, and draft meeting-triggered follow-up emails.

    118 GitHub stars~3.8k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check: notes

More from Automattic/agent-skills

  • Wp Interactivity API

    Automattic/agent-skills

    A skill your agent uses when building or debugging WordPress Interactivity API features (data-wp- directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration…

    211 GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Wp Phpstan

    Automattic/agent-skills

    A skill your agent uses when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and…

    211 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Wp Playground

    Automattic/agent-skills

    A skill your agent uses for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting…

    211 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Wpds

    Automattic/agent-skills

    A skill your agent uses when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.

    211 GitHub starsUsed in 1 repo~704 tokens
    Auto-check passed

Works with

Questions about Wp Wpcli And Ops

What does Wp Wpcli And Ops do?

A skill your agent uses when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and…. Wp Wpcli And Ops is an agent skill from Automattic/agent-skills.yml.

When should I use Wp Wpcli And Ops?

Wp Wpcli And Ops fits situations like: working with WP-CLI (wp) for WordPress operations: safe search-replace; db export/import; plugin/theme/user/content management; scripting/automation with wp-cli.yml.

How do I install Wp Wpcli And Ops in Claude Code?

Run `npx skills add Automattic/agent-skills --skill wp-wpcli-and-ops -a claude-code`. Or copy the skill folder (skills/wp-wpcli-and-ops in Automattic/agent-skills) into .claude/skills/wp-wpcli-and-ops in your project. Claude Code loads it when a task matches its description.

How do I install Wp Wpcli And Ops in Codex?

Run `npx skills add Automattic/agent-skills --skill wp-wpcli-and-ops -a codex`. Or copy the skill folder (skills/wp-wpcli-and-ops in Automattic/agent-skills) into .agents/skills/wp-wpcli-and-ops in your project. Codex loads it when a task matches its description.

Can I use Wp Wpcli And Ops in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Automattic/agent-skills --skill wp-wpcli-and-ops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wp-wpcli-and-ops, .gemini/skills/wp-wpcli-and-ops, .github/skills/wp-wpcli-and-ops and .opencode/skills/wp-wpcli-and-ops in your project.

What does Wp Wpcli And Ops need to run?

Going by SKILL.md and its folder, Wp Wpcli And Ops needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js; Docker. Compatibility (from SKILL.md): Targets WordPress 6.9+ (PHP 7.2.24+). Requires WP-CLI in the execution environment..

Does Wp Wpcli And Ops access the network?

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.

Is Wp Wpcli And Ops safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Wp Wpcli And Ops use?

No licence was found for Wp Wpcli And Ops or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Wp Wpcli And Ops use?

About 988 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Wp Wpcli And Ops?

Skills that share tags, products or a category with Wp Wpcli And Ops: Wp Wpcli And Ops (jorgerosal/wordpress-skills, 102 stars), Wp Performance (gambitph/Stackable, 351 stars), Wp Plugin Development (gambitph/Stackable, 351 stars) and Cron Ops (czl9707/build-your-own-openclaw, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wp Wpcli And Ops?

Automattic (a GitHub organization) maintains it in Automattic/agent-skills, which has 211 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on February 1, 2026.

Source: Automattic/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.