Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

wp-wpcli-and-ops — Claude Code skill: what it does, how to install

A skill for WordPress operations through wp: move domains, export the database, install plugins, inspect cron. Useful when the agent has to touch a live site, not just theme files.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add WordPress/agent-skills --skill wp-wpcli-and-ops -a claude-code
Open on GitHub

What wp-wpcli-and-ops does

This one covers the ops side of WordPress through wp: replacing strings in the database when a domain or protocol changes, exporting and importing dumps, installing and updating plugins and themes, listing cron events, flushing caches and rewrites, running site commands on multisite. Before any write it asks for the environment and the target to be confirmed, --path plus --url on a network.

What sits inside is a step-by-step procedure and a references/ folder with separate notes: safety.md, search-replace.md, packages-and-updates.md, cron-and-cache.md, multisite.md, automation.md, debugging.md. On top of that an inspector script: node skills/wp-wpcli-and-ops/scripts/wpcli_inspect.mjs --path=<path> [--url=<url>]. It reports where you are and what you are pointing at before any real command fires. For repeated work it suggests a wp-cli.yml holding the path and PHP memory limits.

You need WP-CLI in the execution environment, and WordPress 7.0+ on PHP 7.4.0+. URL migration follows a fixed order: wp db export, then wp search-replace --dry-run, then the real replace, then a cache flush. When it cannot confirm the environment is safe, it refuses write operations outright. That refusal is the point: check which install your agent is actually looking at before you let it near production.

What it helps with

  • move a site to a new domain without breaking serialized data
  • take a database dump before a risky change
  • install a plugin with its language pack
  • isolate the cron event that breaks a page and run it alone
  • flush caches and rewrite rules after an edit

Example prompts for the agent

  • Export the database with `wp db export` and move the site to the new domain, run `search-replace` with `--dry-run` first
  • Check with the inspector that `--path` points at the right install, then list the active plugins
  • Figure out why `wp db export` fails on staging, leave production alone

How to install wp-wpcli-and-ops

1Skills CLI (Vercel)

npx skills add WordPress/agent-skills --skill wp-wpcli-and-ops -a claude-code

2Manually: put the files in place

~/.claude/skills/wp-wpcli-and-ops/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wp-wpcli-and-ops/

From the same set8

The whole set →

Similar

cost-booster-edit ruvnet Runs simple structural code edits through agent-booster's WASM engine with no LLM call and no token bill. Built for the same transform repeated across a project. Claude Code CX Codex Cursor +1 679installs github-release official github github-release takes a GitHub library through release preparation: it reviews changes, selects a SemVer bump, writes a changelog, and opens a PR. GitHub Copilot 741installs aws-serverless aws A router skill for AWS serverless work: it picks a compute form factor per component and hands off to the skill that owns it. Claude Code CX Codex Cursor +1 10,100installs godot-export gamedev-skills Configures and automates Godot 4.7 exports for desktop and web targets. Helpful for headless CI pipelines and export preset setup. Claude Code CX Codex Cursor +1 5,900installs langgraph-cli langchain-ai Gives the agent a reference for the langgraph CLI: scaffold a project, run it locally, build an image, deploy it. Claude Code CX Codex Cursor +1 8,900installs aws-cdk aws A Claude Code skill that gives the agent AWS CDK expertise in TypeScript and Python: writing constructs, deploying stacks, importing existing resources, and reading CloudFormation failures. Claude Code CX Codex Cursor +1 9,400installs wizard Matt Pocock This skill creates an interactive bash wizard for manual setup steps, CI secrets, third-party dashboards, and one-off migrations. Claude Code 553,369installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. Claude Code CX Codex Cursor +1 1,200,000installs

Questions about wp-wpcli-and-ops

How do I install wp-wpcli-and-ops in Claude Code?

Run npx skills add WordPress/agent-skills --skill wp-wpcli-and-ops -a claude-code. The skill file lands at ~/.claude/skills/wp-wpcli-and-ops/SKILL.md.

What does wp-wpcli-and-ops do?

It gives the agent a procedure for WP-CLI work: URL migrations through search-replace, database dumps, plugins and themes, cron, caches, multisite. Write commands require the environment and path to be confirmed first.

What does the skill need to run?

WP-CLI in the environment where it executes, and WordPress 7.0+ on PHP 7.4.0+. If wp is missing, it falls back to installing it through the project's documented tooling or asks about the execution environment.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor