wp-wpcli-and-ops

Manage WordPress operations with WP-CLI for search-replace, database, and site tasks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines WordPress operational tasks by leveraging the powerful WP-CLI command-line interface, ensuring safe and efficient management of your WordPress sites.

Core Features & Use Cases

  • Safe Search-Replace: Perform URL and domain migrations with confidence.
  • Database Operations: Export, import, and manage your WordPress database.
  • Content Management: Install, activate, and manage plugins, themes, and users.
  • Site Maintenance: Flush caches, manage cron jobs, and handle multisite configurations.
  • Automation: Build repeatable scripts and CI jobs for consistent operations.

Quick Start

Use the wp-wpcli-and-ops skill to inspect the WordPress installation at /var/www/html.

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 safely run a search-replace on a WordPress database to migrate domains?

You can manage WordPress operations using WP-CLI for safe search-replace, which handles URL and domain migrations by properly processing serialized data to prevent database corruption.

What is the best way to automate WordPress site management tasks like cache flushing and cron jobs?

Automating WordPress site management is best achieved by building repeatable scripts and CI jobs via WP-CLI, which consistently handles cache flushing, cron job management, and multisite configurations.

Do I need a specific PHP version to manage WordPress sites using WP-CLI commands?

Yes, you need an execution environment with WP-CLI installed, targeting WordPress 6.9+ with PHP 7.2.24+ to successfully manage sites and execute operational scripts.

Can I manage plugins, themes, and users from the command line for WordPress multisite configurations?

Yes, you can install, activate, and manage plugins, themes, and users from the command line, with full support for handling WordPress multisite configurations using WP-CLI operations.

How do I export and import a WordPress database using WP-CLI?

You can export, import, and manage your WordPress database by executing WP-CLI commands, streamlining database operations directly from the command line without manual phpMyAdmin interaction.