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
Tools run_wp_cli

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 to WPVibe?

Skip the copy-paste. Just ask your AI for the “Run WP-CLI safely” recipe, or describe the task, and WPVibe runs these steps on your own 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.