LaunchKit · 2026
Back to skills

wp-wpcli-and-ops

Handles WordPress operational tasks via WP-CLI: database exports and imports, URL and domain migrations with search-replace, plugin and theme management, cron inspection, cache flushing, and multisite operations.

Setup & Installation

npx skills add https://github.com/WordPress/agent-skills --skill wp-wpcli-and-ops
or paste the link and ask your coding assistant to install it
https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-wpcli-and-ops
View on GitHub

What This Skill Does

Handles WordPress operational tasks via WP-CLI: database exports and imports, URL and domain migrations with search-replace, plugin and theme management, cron inspection, cache flushing, and multisite operations. Supports scripting repeatable workflows with wp-cli.yml and shell scripts.

WP-CLI operations like search-replace on serialized data or multisite targeting are easy to misfire manually, and this skill enforces the backup-dry-run-execute sequence with correct flags every time.

When to use it

  • Running a safe domain migration with dry-run search-replace before writing to the database
  • Exporting and importing the database during a staging-to-production push
  • Installing and activating plugins across a WordPress multisite network
  • Listing and manually triggering cron events to debug a stuck scheduled task
  • Building a wp-cli.yml config to lock in default paths for CI deployment jobs