WordPress WP-CLI Admin for Openclaw

A comprehensive administrative skill for managing WordPress installations through the WP-CLI command-line interface.

matthewxmurphy
v0.5.0
Mar 5, 2026
2
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wordpress-wp-cli-admin

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wordpress-wp-cli-admin using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WordPress WP-CLI Admin?

The WordPress WP-CLI Admin skill provides a robust interface for AI agents to interact with WordPress environments using the powerful WP-CLI tool. Instead of relying on restricted REST API endpoints, this skill allows for deep-level administration involving the file system, core updates, and complex database migrations. It is a vital addition to the Openclaw Skills ecosystem for developers who need to automate site maintenance, user management, and multisite networking directly from a shell or SSH environment.

This skill focuses on precision and safety, guiding the agent through an inspection-first workflow. It helps prevent accidental data loss by emphasizing read-only operations and verification steps before committing to destructive changes like database search-and-replace or core updates.

WordPress WP-CLI Admin Use Cases

  • Verifying the health and reachability of WordPress installations via the command line.
  • Mass management of plugins and themes across multiple environments.
  • Performing complex database operations including exports, imports, and search-replace tasks.
  • Managing user roles, permissions, and multisite network configurations.
  • Troubleshooting runtime issues by inspecting cron jobs, transients, and rewrite rules.

How WordPress WP-CLI Admin Works

  1. The agent first uses the inspection script to verify the target directory and WordPress core status.
  2. It identifies the necessary command family, such as core, plugin, or database, based on the administrative goal.
  3. The skill attaches appropriate global flags like --path, --url, or --ssh to ensure the command targets the correct environment.
  4. Read-only commands are executed first to gather current state and context for the requested task.
  5. Write operations and high-risk tasks are performed using safety protocols like dry runs to ensure stability within the Openclaw Skills framework.

WordPress WP-CLI Admin Setup

To get started with this skill, ensure that WP-CLI is installed on your local or remote system. Clone the repository and make the provided utility scripts executable:

chmod +x scripts/inspect-install.sh
chmod +x scripts/list-commands.sh

Configure your environment paths so the AI agent can find the target WordPress directories and execute the Openclaw Skills commands correctly.

WordPress WP-CLI Admin Data Schema & Taxonomy

The WordPress WP-CLI Admin skill organizes its operational logic and metadata through specific file structures:

File/Directory Purpose
scripts/ Shell scripts for installation inspection and live command discovery.
references/ Documentation for command families and global flag safety rules.
WP-CLI Output Standardized JSON or table-formatted data from WordPress operations.
Metadata Emoji identifiers and skill definitions for the Openclaw Skills index.

WordPress WP-CLI Admin Advanced Features

  • Multisite-aware administration for managing entire networks using site-specific URL flags.
  • Remote execution capabilities leveraging the --ssh global flag for cloud-hosted environments.
  • Automated discovery of available WP-CLI commands and help documentation.
  • Safe-mode execution support using --skip-plugins and --skip-themes for troubleshooting core issues.
  • Integration with database migration workflows using search-replace and dry-run validation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*