Agent Native

wp-wpcli-and-ops

This skill enables agents to perform WordPress operations using WP-CLI, including safe search-replace for domain migrations, database export/import, plugin…

by AutomatticOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (Automattic)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode
License
No license stated
Pin
48d4aa2pinned Oct 9, 2026
Context cost
about 900 tokenswhen the skill loads
GitHub stars
211on automattic/agent-skills
Scripts
1 script

What it does

“Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill enables agents to perform WordPress operations using WP-CLI, including safe search-replace for domain migrations, database export/import, plugin and theme management, cron event handling, cache flushing, and multisite administration. It provides guardrails to confirm environment safety and site targeting before running destructive commands, and supports automation through wp-cli.yml and shell scripts.

When to use it

  • Managing WordPress installations via command-line WP-CLI operations
  • Executing safe search-replace for URL changes or domain migrations
  • Automating plugin, theme, user, and content operations across sites
  • Running database exports, imports, or inspections in WordPress environments

When not to

  • When WP-CLI is not available in the execution environment
  • For tasks requiring direct database manipulation outside WP-CLI
  • When working with WordPress versions below 6.9 or PHP below 7.2.24

Install

No license stated: install from the publisher's repository, and ask the author before you reuse or share it.

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add automattic/agent-skills --skill wp-wpcli-and-ops

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install automattic/agent-skills wp-wpcli-and-ops@48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25

Installs the commit we checked (48d4aa2).

Copy by hand

Download the folder at 48d4aa2 and put it in .claude/skills/wp-wpcli-and-ops for Claude Code and in .agents/skills/wp-wpcli-and-ops for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 48d4aa2

Claude Code plugin

/plugin install build-with-wordpress@claude-plugins-official

The publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "wp-wpcli-and-ops" by Automattic.

Source, pinned to commit 48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25:
https://github.com/automattic/agent-skills/tree/48d4aa21d0da0e7bda1c7ac155fef2e16b87aa25/skills/wp-wpcli-and-ops

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/wp-wpcli-and-ops/ for Claude Code and .agents/skills/wp-wpcli-and-ops/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Its license is restricted or not stated. Show me the license terms from the repository before you copy anything.

Listing and checks: https://www.agentnative.dev/skills/automattic/wp-wpcli-and-ops

SKILL.md at the pin

The license of this skill does not let us show its files here.

Files

9 files, 12 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 48d4aa2
All 31 skills from Automattic

More from Automattic

  • annotate

    This skill opens a browser with annotation tools that let users click page elements and leave feedback, then the agent reads those annotations and applies the…

    Claude Code, Codex, Cursor +3 · about 1K tokens · pinned 6 days ago

  • block-content

    This skill instructs agents to write editable WordPress block markup for block themes, enforcing use of core blocks over HTML, managing layout cascades, and…

    Claude Code, Codex, Cursor +3 · about 4.4K tokens · pinned 6 days ago

  • hosting-plans-helper

    This skill fetches current WordPress.com plan names, pricing, and feature details from live APIs, then answers questions about which plan tier includes…

    Claude Code, Codex, Cursor +3 · about 840 tokens · pinned 6 days ago

  • imagery

    This skill guides generating AI images for WordPress sites using the generate_images tool, or alternative image generation tools.

    Claude Code, Codex, Cursor +3 · about 2.6K tokens · pinned 6 days ago

  • liberate

    This skill helps agents migrate websites into WordPress by copying the site from a URL or local files using the Studio CLI, then comparing the imported…

    Claude Code, Codex, Cursor +4 · about 830 tokens · pinned 6 days ago

  • need-for-speed

    Measures Core Web Vitals and page composition metrics for WordPress sites using synthetic testing, then suggests targeted optimization actions based on…

    Claude Code, Codex, Cursor +3 · about 650 tokens · pinned 6 days ago

All Cloud and DevOps skills
  • studio-cli

    The Studio CLI skill allows agents to create, manage, and operate local WordPress sites on a development machine.

    by AutomatticOfficial publisher

    Claude Code, Codex, Cursor +4 · about 2.4K tokens · pinned 6 days ago

  • wp-playground

    This skill enables agents to quickly spin up disposable WordPress instances using Playground, either locally via CLI or in the browser.

    by AutomatticOfficial publisher

    Claude Code, Codex, Cursor +4 · about 1K tokens · pinned 6 days ago

  • n8n-cli

    This skill enables agents to manage n8n workflows, credentials, executions, and instance resources via the n8n CLI command-line tool.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago

  • managing-streamlit-apps

    Manage Streamlit apps running in PostHog sandboxes through the full lifecycle: create, set or edit source code, start and stop the sandbox, poll status, and…

    by PostHogOfficial publisher

    Claude Code, Codex, Cursor +4 · about 1.4K tokens · pinned 6 days ago

  • release-candidate-prep

    Prepares a local Python SDK release candidate in a dedicated Git worktree when explicitly invoked with a version number.

    by OpenAIOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 4.8K tokens · pinned 6 days ago

  • cloud-run-basics

    Deploys and manages Google Cloud Run services, jobs, and worker pools for running containerized applications or source code.

    by GoogleOfficial publisher

    Claude Code, Codex, Cursor +4 · about 3.9K tokens · pinned 6 days ago

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use