wp-performance-review

wp-performance-review is a skill for Claude Code from elvismdev/claude-wordpress-skills. It costs 122 tokens per session (4,549 once invoked), scanned A, original, MIT.

A review process for WordPress themes, plugins, and custom PHP code that looks for causes of slow pages, timeouts, memory exhaustion, and database problems.

In plain words
What is it for?
Use it to review WordPress code, investigate slow loading or server errors, improve WP_Query and database operations, or check a site before a busy launch.
Why use it?
It helps identify serious performance issues, such as queries that grow without limits or code that bypasses caching, before they affect visitors.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-wordpress-skills plugin — 1 skill, 2 commands shipped together

Good fit Use it to review WordPress code, investigate slow loading or server errors, improve WP_Query and database operations, or check a site before a busy launch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elvismdev/claude-wordpress-skills/wp-performance-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add elvismdev/claude-wordpress-skills --skill wp-performance-review
Clone the repo
git clone --depth 1 https://github.com/elvismdev/claude-wordpress-skills

Made for: Claude Code.

Or install claude-wordpress-skills, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wp-performance-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/elvismdev/claude-wordpress-skills/wp-performance-review.svg)](https://agentmods.dev/skills/elvismdev/claude-wordpress-skills/wp-performance-review)
Your own site
<a href="https://agentmods.dev/skills/elvismdev/claude-wordpress-skills/wp-performance-review"><img src="https://agentmods.dev/badge/skills/elvismdev/claude-wordpress-skills/wp-performance-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.04549
Opus 5 $0.00061 $0.02275
Sonnet 5 $0.00024 $0.00910
Haiku 4.5 $0.00012 $0.00455

Measured 9d ago against content hash 1d75c1d1545d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wp-performance-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wp-performance-review/SKILL.md · 507 lines

How it starts

The opening of the file, as written. The whole thing — 507 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WordPress Performance Review Skill

Overview

Systematic performance code review for WordPress themes, plugins, and custom code. Core principle: Scan critical issues first (OOM, unbounded queries, cache bypass), then warnings, then optimizations. Report with line numbers and severity levels.

When to Use

Use when:

  • Reviewing PR/code for WordPress theme or plugin
  • User reports slow page loads, timeouts, or 500 errors
  • Auditing before high-traffic event (launch, sale, viral moment)
  • Optimizing WP_Query or database operations
  • Investigating memory exhaustion or DB locks

Don't use for:

  • Security-only audits (use wp-security-review when available)
  • Gutenberg block development patterns (use wp-gutenberg-blocks when available)
  • General PHP code review not specific to WordPress

Code Review Workflow

  1. Identify file type and apply relevant checks below
  2. Scan for critical patterns first (OOM, unbounded queries, cache bypass)
  3. Check warnings (inefficient but not catastrophic)
  4. Note optimizations (nice-to-have improvements)
  5. Report with line numbers using output format below

File-Type Specific Checks

Plugin/Theme PHP Files (functions.php, plugin.php, *.php)

Scan for:

  • query_posts() → CRITICAL: Never use - breaks main query
  • posts_per_page.*-1 or numberposts.*-1 → CRITICAL: Unbounded query
  • session_start() → CRITICAL: Bypasses page cache
  • add_action.*init.* or add_action.*wp_loaded → Check if expensive code runs every request
  • update_option or add_option in non-admin context → WARNING: DB writes on page load
  • wp_remote_get or wp_remote_post without caching → WARNING: Blocking HTTP

WP_Query / Database Code

Scan for:

  • Missing posts_per_page argument → WARNING: Defaults to blog setting
  • 'meta_query' with 'value' comparisons → WARNING: Unindexed column scan
  • post__not_in with large arrays → WARNING: Slow exclusion
  • LIKE '%term%' (leading wildcard) → WARNING: Full table scan
  • Missing no_found_rows => true when not paginating → INFO: Unnecessary count

Read the full file on GitHub · 507 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 507 lines · 122 tokens per session scan A 1d75c1d1545d

Subscribe to this mod's changes

wp-performance-review is a skill published in the GitHub repository elvismdev/claude-wordpress-skills (227 stars, last pushed 9mo ago), licensed MIT. It adds 122 tokens to every session and 4,549 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-design-reviewer

Use when reviewing API designs for consistency, usability, versioning, error semantics, security, backward compatibility, and developer experience before implementation or release.

seaworld008/Commonly-used-high-value-skills · 34 tokens

python-services

Python patterns for CLI tools, async parallelism, and backend services. Use when building CLI apps, async/parallel Python, FastAPI services, background jobs, or configuring Python project tooling (uv, ruff, ty).

iliaal/whetstone · 48 tokens

nodejs-backend

Node.js backend patterns: framework selection, layered architecture, TypeScript, validation, error handling, security, production deployment. Use when building REST APIs, Express/Fastify servers, microservices, or server-side TypeScript.

iliaal/whetstone · 50 tokens

meta-reviewing-api-reviewing

Backend code review patterns. Use when reviewing API routes, database operations, auth middleware, and server utilities. Covers injection, boundary validation, authorization coverage, secret/PII exposure, error leakage, and query patterns.

agents-inc/skills · 50 tokens

rudder-mcp-workflow

Connects AI agents to RudderStack via MCP tool calls for catalog, sources, destinations, transformations, and live events. Use when connecting an AI agent to RudderStack's MCP server, driving RudderStack via MCP, or mentions of mcp.rudderstack.com.

rudderlabs/rudder-agent-skills · 63 tokens

tactical-ddd

Design, refactor, analyze, and review code by applying the principles and patterns of tactical domain-driven design. Triggers on: domain modeling, aggregate design, 'entity', 'value object', 'repository', 'bounded context', 'domain event', 'domain service', code touching domain/ directories, rich domain model…

NoesisVision/nasde-toolkit · 70 tokens