WP Wpcli and Ops
94TrustedShips scriptsCommand-line administration and database operations for WordPress sites.
What it does
This skill equips your assistant to perform technical site maintenance using WP-CLI. By understanding environment targeting and command-line safety, it ensures that your operations—from database migrations to plugin management—are executed with appropriate caution and correct path configuration.
It bridges the gap between general AI assistance and direct server-side interaction. When installed, the assistant gains the ability to interpret site structures, evaluate the potential impact of database changes, and draft scripts that follow best practices for WordPress infrastructure management.
When it earns its place
Reach for it when…
Use this when you need to perform high-impact operations like domain migrations via search-replace, bulk updates to plugins or themes, or debugging cron events and caches on a WordPress installation. It is particularly effective for setting up reproducible CI/CD pipelines and defining configuration defaults in a wp-cli.yml file.
Look elsewhere when…
This is not intended for managing frontend design, modifying CSS, or writing PHP code for themes and plugins. If your task involves editing the visual layout of a page or correcting syntax errors inside a plugin file, standard file editing tools are more appropriate.
What to say to use it
You never invoke a skill directly — the assistant picks it up when your request matches what it covers. These are the kinds of things that do that.
- help me migrate my site domain to a new URL
- how do I safely update plugins across a multisite installation
- show me how to export the database and flush the object cache
- create a wp-cli script to automate daily maintenance
Install it
Install for all your projects
Copy the skill directory into your personal skills folder. Claude picks it up on its own the next time your request matches what it does — there is nothing to enable.
git clone --depth 1 --branch trunk https://github.com/WordPress/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/wp-wpcli-and-ops ~/.claude/skills/wp-wpcli-and-opsInstall for one project only
Put it in the project's own skills folder instead, so it can be committed and shared with everyone working on that repository.
cp -r /tmp/agent-skills/skills/wp-wpcli-and-ops .claude/skills/wp-wpcli-and-opsIf a skill of the same name exists in both places, the personal one wins.
Installing on Claude.ai or through the API instead? The full guide covers every surface.
Pair it with an MCP server
WP Wpcli and Ops changes how the work is done. These servers change what Claude can reach while doing it.
- GitHub MCP Server53The skill sets the conventions the code should follow; GitHub MCP Server is what lets Claude read the repository it is writing into.
- Context Forge MCP Server86Context Forge MCP Server gives the code somewhere to actually run, so the skill's guidance can be checked instead of assumed.
- Supabase MCP Server100Pair with Supabase MCP Server when the code being written has to match a real schema rather than a described one.