Tooling & Ops WordPress.org · ★ 1,902

WP-CLI & Ops

WP-CLI commands, automation, multisite, search-replace.

What it does

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.

Install

This skill ships in WordPress/agent-skills (Official, WordPress core fundamentals).

One command installs it for any assistant. Run this from your project root:

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

You'll be asked to choose a scope: project (shared with your team, committed to version control) or global (available across all your projects). Add --global to skip the prompt and install globally.

Use it in your AI assistant

The destination folder, and how the assistant discovers it, differs per tool:

Claude Code

.claude/skills/wp-wpcli-and-ops/ (or ~/.claude/skills/wp-wpcli-and-ops/ for all projects)

  • Claude Code auto-discovers skills in .claude/skills/ (project) or ~/.claude/skills/ (global, every project).
  • Claude reaches for the skill on its own when a task matches its description, or you can name it directly.

GitHub Copilot (VS Code)

.github/skills/wp-wpcli-and-ops/

  • The skill is copied into .github/skills/wp-wpcli-and-ops/, where Copilot in VS Code picks it up.
  • Copilot Chat applies it automatically once your task matches the skill's description.

OpenAI Codex

.codex/skills/wp-wpcli-and-ops/

  • This installs the skill to .codex/skills/wp-wpcli-and-ops/, which Codex reads for standing instructions on matching tasks.
  • Point Codex at it directly if needed: "follow .codex/skills/wp-wpcli-and-ops/SKILL.md for this task."

Cursor

.cursor/skills/wp-wpcli-and-ops/ (or ~/.cursor/skills/wp-wpcli-and-ops/ globally)

  • Cursor discovers skills in .cursor/skills/ (project) or ~/.cursor/skills/ (global).
  • Cursor loads it automatically when a request matches, same as its native Rules.

Compatibility

Targets WordPress 7.0+ (PHP 7.4.0+). Requires WP-CLI in the execution environment.

Keep exploring

More Tooling & Ops skills

All skills →
W
WordPress Router
WordPress.org
Classifies WordPress repos and routes to the right workflow.
W
WP Project Triage
WordPress.org
Detects project type, tooling, and versions automatically.
C
Changelog Digest
Custom Skills
Summarize plugin and core release notes into a plain digest.