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.

referencesobject-cache.md

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

Object caching

Use this file when profiling indicates repeated queries or low cache hit rate.

Concepts

  • Default WP object cache is per-request memory only.
  • A persistent object cache “drop-in” (wp-content/object-cache.php) can persist cache across requests.

WP-CLI cache commands:

Guardrails:

Fix patterns

  • Cache expensive computed results (transients or object cache) with explicit invalidation.
  • Avoid unbounded caches (set expirations or implement invalidation hooks).
  • If adding a persistent object cache, coordinate with infra (Redis/Memcached) and test cache flush behavior.

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.