Skip to main content
Cookbook Admin

Run WP-CLI safely

Use WP-CLI-style commands for WordPress admin work with review checkpoints.

Difficulty Intermediate
Time ~10 min

Prerequisites

The WPVibe plugin installed on the connected site.

The prompt
Use WPVibe WP-CLI tools to help with this admin task: [task].

Start with read-only commands to inspect the current state. If a write command is needed, explain what it will change and use dry-run or confirmation when available. Do not run destructive commands until I approve the exact command.
Already connected?

Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:

Run the “Run WP-CLI safely” recipe from the WPVibe cookbook on my connected site.

This recipe is useful for plugin lists, option checks, rewrite rules, cache flushes, post lists, and search-replace dry runs.

WPVibe runs supported WP-CLI-style operations through WordPress/PHP APIs rather than relying on a host-level shell.

Outcome

The AI gathers state first, then uses WP-CLI-style commands with explicit review before writes.