wp-performance

A backend-only profiling workflow for slow WordPress sites when you can't click around in wp-admin.

wordpress 1.9k ↓ 3.2k NOASSERTION updated 26d ago
Claude Code
View source ↗

What it does

  • 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
  • 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>

Requirements & configuration

  • you need a profiling plan and tooling recommendations (WP-CLI profile/doctor, Query Monitor, Xdebug/XHProf, APMs)
  • If you need system-level profiling (APM, PHP profiler extensions), coordinate with ops/hosting.

Configuration: SAVEQUERIES

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

A backend-only profiling workflow for slow WordPress sites when you can't click around in wp-admin.

Source

Repository: https://github.com/wordpress/agent-skills

wp-performance FAQ

What does the wp-performance skill do?

Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers), database/query optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification. 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)

What does wp-performance require?

you need a profiling plan and tooling recommendations (WP-CLI profile/doctor, Query Monitor, Xdebug/XHProf, APMs) If you need system-level profiling (APM, PHP profiler extensions), coordinate with ops/hosting. Configuration keys: SAVEQUERIES.

How do I install wp-performance?

Run: npx -y skills add https://github.com/wordpress/agent-skills --skill wp-performance --agent claude-code — the source lives at github.com/wordpress/agent-skills.

Maintain wp-performance?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[wp-performance on getagentictools](https://getagentictools.com/skills/wordpress-agent-skills-wp-performance?ref=badge)
npx agentictools info skills/wordpress-agent-skills-wp-performance

The second line is the CLI lookup for this page — handy in READMEs and docs.