# Run WordPress site operations safely with WP-CLI targeting and rollback guardrails

> Uses the WordPress wp-wpcli-and-ops skill to guide an agent through environment-aware WP-CLI work like search-replace, plugin or theme operations, cron inspection, and multisite-safe targeting. It is an operational runbook for guarded WordPress changes, not a plain entry for the WP-CLI product.

- Skill: `agentskillexchange/run-wordpress-site-operations-safely-with-wp-cli-targeting-a` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/run-wordpress-site-operations-safely-with-wp-cli-targeting-a`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/run-wordpress-site-operations-safely-with-wp-cli-targeting-a/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/run-wordpress-site-operations-safely-with-wp-cli-targeting-a

---


# Run WordPress site operations safely with WP-CLI targeting and rollback guardrails

Uses the WordPress wp-wpcli-and-ops skill to guide an agent through environment-aware WP-CLI work like search-replace, plugin or theme operations, cron inspection, and multisite-safe targeting. It is an operational runbook for guarded WordPress changes, not a plain entry for the WP-CLI product.

## Prerequisites

WP-CLI plus access to the target WordPress environment

## Installation

Use the upstream install or setup path that matches your environment:
- git clone https://github.com/WordPress/agent-skills.git

Requirements and caveats from upstream:
- node shared/scripts/skillpack-build.mjs --clean
- node shared/scripts/skillpack-install.mjs --global
- node shared/scripts/skillpack-install.mjs --global --skills=wp-playground,wp-block-development

Basic usage or getting-started notes:
- bash
- # Clone agent-skills
- cd agent-skills

- Source: https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-wpcli-and-ops
- Extracted from upstream docs: https://raw.githubusercontent.com/WordPress/agent-skills/HEAD/README.md

## Documentation

- https://github.com/WordPress/agent-skills/tree/trunk/skills/wp-wpcli-and-ops

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-wordpress-site-operations-safely-with-wp-cli-targeting-and-rollback-guardrails/)

