/wp-agent-skills:wp-performancefrom wp-agent-skills
Diagnoses and improves WordPress performance via backend-only profiling: WP-CLI profile/doctor, Query Monitor REST headers, database optimization, autoloaded options, object caching, and cron analysis.
Ships in wp-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill when:
This skill assumes the agent cannot use a browser UI. Prefer WP-CLI, logs, and HTTP requests.
--path=<path>--url=<url>curl if possibleRead:
references/measurement.mdRun:
node skills/wp-performance/scripts/perf_inspect.mjs --path=<path> [--url=<url>]This detects:
wp doctor / wp profile are availableIf you have WP-CLI access, prefer:
wp doctor check --all (add --spotlight to show only warnings and errors)wp doctor check autoload-options-size constant-savequeries-falsy constant-wp-debug-falsywp doctor check with no check names and no --all exits with an error instead of running anything.
It catches common production foot-guns (autoload bloat, SAVEQUERIES/WP_DEBUG, plugin counts, updates).
Read:
references/wp-cli-doctor.mdPreferred order:
wp profile stage to see where time goes (bootstrap/main_query/template).wp profile hook (optionally with --url=) to find slow hooks/callbacks.wp profile eval for targeted code paths.Read:
references/wp-cli-profile.mdQuery Monitor is normally UI-driven, but it can be used headlessly via REST API response headers and _envelope responses:
x-qm-*) and/or the qm property when using ?_envelope.Read:
references/query-monitor-headless.mdUse the profile output to pick one primary bottleneck category:
references/database.mdreferences/autoload-options.mdreferences/object-cache.mdreferences/http-api.mdreferences/cron.mdwp profile / wp doctor / REST request.Be aware of these 6.9 changes when profiling:
On-demand CSS for classic themes:
Block themes with no render-blocking resources:
Inline CSS limit increased:
Reference: https://make.wordpress.org/core/2025/11/18/wordpress-6-9-frontend-performance-field-guide/
wp doctor check --all is clean (or improved) when applicable.--url mismatch), caches masked results, or opcode cache is staleSAVEQUERIES/Query Monitor causes overhead:
SAVEQUERIES, run load tests, or flush caches during trafficreferences/autoload-options.md (opens in a new tab)references/cron.md (opens in a new tab)references/database.md (opens in a new tab)references/http-api.md (opens in a new tab)references/measurement.md (opens in a new tab)references/object-cache.md (opens in a new tab)references/query-monitor-headless.md (opens in a new tab)references/server-timing.md (opens in a new tab)references/wp-cli-doctor.md (opens in a new tab)references/wp-cli-profile.md (opens in a new tab)scripts/perf_inspect.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/blueprintUse when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground./wordpress-routerUse when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging)./wp-abilities-apiUse when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients./wp-abilities-auditAudit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML schema and prose sections that humans and agents can both consume when planning a registration rollout. Works on any WP plugin./wp-abilities-verifyVerify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each annotation's claim (the adversarial readonly-but-writes detection), validate permissions and schemas, and validate audit documents produced by wp-abilities-audit./wp-ability-developmentUse when designing, updating, or reviewing the schemas or behavior of a WordPress ability.4 plugins ship this exact skill · first indexed Oct 8, 2026
npx claudepluginhub dennis-n-dean/wp-agent-skills-marketplace --plugin wp-agent-skillsOther plugins' skills for the same job