Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

wp-performance — Claude Code skill: what it does, how to install

Backend profiling skill for optimizing WordPress sites using WP-CLI, REST headers, and diagnostic scripts without browser access.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add WordPress/agent-skills --skill wp-performance -a claude-code
Open on GitHub

What wp-performance does

The skill targets WordPress 7.0+ on PHP 7.4.0+ and works strictly in headless environments. Instead of opening admin screens, the agent checks response times with curl, runs the bundled script perf_inspect.mjs, and profiles runtime stages using wp doctor and wp profile. This establishes an accurate baseline before any code changes take place.

Investigation focuses on specific bottleneck areas: bloated autoloaded options, inefficient database queries, object cache misses, lagging WP-Cron events, and slow outbound HTTP API requests. When Query Monitor is active, the skill extracts telemetry headlessly by reading x-qm-* HTTP response headers and _envelope payloads from the REST API.

Production environments demand strict safety checks because enabling SAVEQUERIES or clearing caches under active traffic can degrade server stability. The skill requires confirming write permissions first and forbids risky write operations without explicit approval.

What it helps with

  • identify oversized autoloaded options in the database
  • profile hook execution stages with WP-CLI
  • extract headless Query Monitor metrics from REST API headers
  • diagnose bottlenecks in WP-Cron and outbound HTTP requests

Example prompts for the agent

  • Check database and autoload bloat in --path=/var/www/html using wp doctor
  • Profile bootstrap stages and hooks for the /wp-json/wp/v2/posts endpoint
  • Inspect x-qm-* response headers to pinpoint slow database queries

How to install wp-performance

1Skills CLI (Vercel)

npx skills add WordPress/agent-skills --skill wp-performance -a claude-code

2Manually: put the files in place

~/.claude/skills/wp-performance/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wp-performance/

From the same set8

The whole set →
wp-plugin-development WordPress This skill guides WordPress plugin work, from project structure and hooks to admin settings, security checks and release packaging. Claude Code CX Codex Cursor +1 7,900installs wp-block-themes WordPress Guides the agent through building WordPress block themes, editing theme.json, and organizing templates. Useful when styles fail to apply in the Site Editor. Claude Code CX Codex Cursor +1 5,800installs wp-block-development WordPress A WordPress skill for Claude Code, Codex and Cursor that walks an agent through Gutenberg block work, from block.json metadata down to deprecations. Claude Code CX Codex Cursor +1 5,500installs wordpress-router WordPress Identifies the structure of a WordPress codebase and directs the agent to the appropriate workflow. Useful before starting work on plugins, themes, or core checkouts. Claude Code CX Codex Cursor +1 5,500installs wp-wpcli-and-ops WordPress A skill for WordPress operations through wp: move domains, export the database, install plugins, inspect cron. Useful when the agent has to touch a live site, not just theme files. Claude Code CX Codex Cursor +1 5,400installs wp-phpstan WordPress Sets up PHPStan static analysis in WordPress plugins and themes, while managing baselines and WordPress-specific PHPDoc types. Claude Code CX Codex Cursor +1 4,600installs wpds WordPress Feeds WordPress Design System docs to your agent through an MCP server, so UI work lands on real components and tokens instead of guesses. Claude Code CX Codex Cursor +1 4,000installs

Similar

shopify-apps sickn33 Patterns for Shopify app development with Remix and React Router. Guides App Bridge setups, Polaris UI components, billing flows, and webhooks. Claude Code CX Codex Cursor +1 1,000installs backend-security-coder sickn33 Hardens backend application code with allowlist validation, safe database queries, secure cookie handling, and API authentication logic. Claude Code CX Codex Cursor +1 1,000installs twilio-communications sickn33 Helps build Twilio communication features: SMS, voice calls, WhatsApp messaging, and two-factor verification. Useful when wiring IVR systems or securing account logins. Claude Code CX Codex Cursor +1 994installs ddd-aggregate ruvnet Scaffolds a DDD aggregate root with an entity, value objects, a repository interface, domain events, and test stubs. Useful when modeling business logic in an existing bounded context. Claude Code CX Codex Cursor +1 749installs ddd-context ruvnet Scaffolds a standard DDD bounded context directory structure with domain, application, and infrastructure layers. Useful when splitting monoliths. Claude Code CX Codex Cursor +1 738installs ddd-validate ruvnet Checks bounded context integrity in TypeScript projects and flags domain boundary leaks. Useful for DDD architecture audits and pre-merge CI checks. Claude Code CX Codex Cursor +1 736installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. Claude Code Claude.ai 130,949installs google-agents-cli-adk-code official Google A reference skill for building ADK agents with tools, callbacks, state, and workflows. Use it when an agent project needs concrete API patterns or code examples. Claude Code CX Codex Cursor +1 511,400installs

Questions about wp-performance

How to install wp-performance in Claude Code?

Run npx skills add WordPress/agent-skills --skill wp-performance -a claude-code in your terminal. This registers the skill for Claude Code.

What does wp-performance do?

It guides coding agents through backend WordPress profiling, focusing on database indexing, autoloaded option sizes, object caching, and cron execution without requiring a web browser.

Can it use Query Monitor without a browser?

Yes, it authenticates against the WordPress REST API and reads Query Monitor diagnostics directly from x-qm-* response headers or the _envelope response structure.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor