Skip to content
automattic avatar

Wp Performance

Backend-only WordPress performance playbook for profiling, query and autoload tuning, caching, cron, and verified fixes.

CCM score
50 of 100
skills.sh installs
449
GitHub stars
211
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers measurement, WP-CLI doctor and profile diagnostics, Query Monitor headless use, and category-based bottleneck fixes
  • Includes scripts/perf_inspect.mjs for a deterministic report on WP-CLI availability, autoloaded options size, and object-cache drop-in presence
  • Enforces measure-first guardrails: no writes, cache flushes, or SAVEQUERIES without explicit approval, and baseline-versus-after verification
  • Designed for agents without browser access that investigate slow pages, REST routes, admin screens, or WP-Cron on WordPress 6.9+

Install

$ npx -y skills add automattic/agent-skills --skill wp-performance -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

WP Performance (backend-only)

When to use

Use this skill when:

  • a WordPress site/page/endpoint is slow (frontend TTFB, admin, REST, WP-Cron)
  • you need a profiling plan and tooling recommendations (WP-CLI profile/doctor, Query Monitor, Xdebug/XHProf, APMs)
  • you’re optimizing DB queries, autoloaded options, object caching, cron tasks, or remote HTTP calls

This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.

Inputs required

  • Environment and safety: dev/staging/prod, any restrictions (no writes, no plugin installs).
  • How to target the install:
    • WP root --path=<path>
    • (multisite/site targeting) --url=<url>
  • The performance symptom and scope:
    • which URL/REST route/admin screen
    • when it happens (always vs sporadic; logged-in vs logged-out)

Procedure

0) Guardrails: measure first, avoid risky ops

  1. Confirm whether you may run write operations (plugin installs, config changes, cache flush).
  2. Pick a reproducible target (URL or REST route) and capture a baseline:
    • TTFB/time with curl if possible
    • WP-CLI profiling if available

Read:

  • references/measurement.md

Details

Repository
github.com/automattic/agent-skills
Categories
PHP & Laravel, Debugging
First seen
Jun 3, 2026

Questions

What is wp-performance?

wp-performance is an agent skill listed on Claude Marketplaces in the PHP & Laravel category. Its page on Claude Marketplaces links to the wp-performance source on GitHub.

How do I install wp-performance?

Run npx -y skills add automattic/agent-skills --skill wp-performance -y in a project to install wp-performance. After that, the agent can use wp-performance in that project.

Which category is wp-performance in?

wp-performance is in the PHP & Laravel category on Claude Marketplaces. On that category page, wp-performance ranks in the top 100.

Where is the source code of wp-performance?

The source code of wp-performance is on GitHub at https://github.com/automattic/agent-skills. The automattic account on GitHub publishes wp-performance.

More from automattic/agent-skills

All 12

Similar to Wp Performance

More PHP & Laravel