All skills
wordpress avatar

/wp-performance

@20324d2 official
by wordpresswordpress/agent-skills2.2k stars
327

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.

Use this Skill: https://skilld.dev/gh/wordpress/agent-skills/wp-performance

This session only. Nothing lands on disk.

referencesserver-timing.md

≈160 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Server-Timing (Performance Lab)

Use this file when you can enable Server-Timing metrics and want backend-only inspection via HTTP headers.

Performance Lab plugin:

Benchmarking guidance:

Backend-only approach:

  • Enable the relevant module/standalone plugin.
  • Request a URL and inspect the Server-Timing header:
    • curl -sS -D - https://example.test/ -o /dev/null | rg -i \"^server-timing:\"

Guardrails:

  • Don’t enable experimental modules in production without approval.

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides specialized tools and procedures for WordPress performance profiling and optimization, primarily using WP-CLI.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    12/12 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 20324d2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 3 months ago
Other metadata
compatibility
Targets WordPress 7.0+ (PHP 7.4.0+). Backend-only agent; prefers WP-CLI (doctor/profile) when available.

README badge

README badge for wordpress/agent-skills/wp-performance

Diagnoses and optimizes WordPress backend performance using WP-CLI profiling, Query Monitor headless API, and targeted fixes for database queries, autoloaded options, object caching, cron tasks, and remote HTTP calls. Requires backend-only access (no browser UI) and targets WordPress 6.9+ with PHP 7.2.24+.

Generated from the current SKILL.md.

Does this skill work with frontend performance issues like Core Web Vitals?
No. This is a backend-only skill for server-side profiling and optimization. It targets TTFB, database queries, autoloaded options, and cron — not frontend rendering or asset delivery.
What WordPress versions does this support?
WordPress 6.9+ with PHP 7.2.24+. The skill is aware of WordPress 6.9 CSS loading improvements but does not support earlier versions.
Do I need WP-CLI installed to use this skill?
WP-CLI is preferred and enables the fastest diagnostics (wp doctor, wp profile), but the skill can work without it using HTTP requests and log inspection.
Can this skill modify the site or install plugins?
Only with explicit approval in the environment/safety input. The skill defaults to read-only operations and will not make writes without confirmation.
Does this work on multisite installs?
Yes. The skill accepts `--url` targeting to profile specific sites within a multisite network.

Generated from the current SKILL.md. These answers refresh after source changes.