wp-wpcli-and-ops

Automate WordPress operational tasks with WP-CLI across single or multisite installations.

2|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/iamandrewpeters/claude-skills --skill wp-wpcli-and-ops-iamandrewpeters
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wp-wpcli-and-ops
Source: https://github.com/iamandrewpeters/claude-skills/tree/main/wp-wpcli-and-ops
Command: npx skills add https://github.com/iamandrewpeters/claude-skills --skill wp-wpcli-and-ops-iamandrewpeters

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

WordPress administration can be error-prone and time-consuming. This Skill centralizes safe WP-CLI operations to manage plugins, themes, languages, databases, cron, caching, rewrites, and multisite coordination with guardrails.

Core Features & Use Cases

  • Safe plugin/theme/language management (install, activate, deactivate, delete).
  • Database operations (export, import, find/replace, reset) and cron event debugging.
  • Site infrastructure actions (cache flush, rewrite rules) and multisite coordination.

Quick Start

Use the wp-wpcli-and-ops skill to perform a safe plugin install on a staging site.

Frequently Asked Questions about wp-wpcli-and-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WordPress plugin management safely using WP-CLI?

You can automate WordPress plugin management safely by executing WP-CLI commands with built-in guardrails. The skill applies dry-run options, environment targeting, and backup requirements to handle plugin installation, activation, and deletion without risking site stability.

What is the best way to run WordPress database operations like find and replace across a multisite network?

The best way to run WordPress database operations across a multisite network is using centralized WP-CLI commands. This approach safely executes database exports, imports, and find/replace actions while coordinating multisite infrastructure requirements.

Can I use WP-CLI to debug cron events on my WordPress site?

Yes, you can use WP-CLI to debug cron events on your WordPress site. The skill automates cron event debugging alongside site infrastructure actions like cache flushing and rewrite rule management for both single and multisite installations.

Does this WP-CLI automation approach support dry-run options for site ops?

Yes, this WP-CLI automation approach supports dry-run options for site operations. It enforces safe command execution by satisfying requirements for environment targeting, backups, and dry-runs before applying changes to plugins, themes, or databases.

How do I manage WordPress language packs and themes via command line?

You manage WordPress language packs and themes via command line using safe WP-CLI operations. The skill centralizes language management and theme actions, applying installation and deletion guardrails to prevent operational errors.

Why should I use a centralized WP-CLI skill instead of running standard WordPress shell commands?

You should use a centralized WP-CLI skill instead of standard WordPress shell commands to prevent error-prone manual administration. It provides structured guardrails for safe command execution, ensuring backups and environment targeting are satisfied before modifying site infrastructure.