wp-audit-performance

wp-audit-performance is an agent for Claude Code from yojahny55/claude-wp-builder. It costs 28 tokens per session (3,319 once invoked), scanned A, original, MIT.

A WordPress speed checker that reviews CSS, JavaScript, images, fonts, database settings, and caching. Core Web Vitals are Google's measurements of loading speed, responsiveness, and visual stability.

In plain words
What is it for?
Use it to review theme assets, check performance settings, and apply listed fixes for common loading and runtime problems.
Why use it?
It helps locate code and configuration choices that make pages load slowly or respond poorly.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the claude-wp-builder plugin — 15 skills, 28 commands, 15 agents shipped together

Good fit Use it to review theme assets, check performance settings, and apply listed fixes for common loading and runtime problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yojahny55/claude-wp-builder/wp-audit-performance
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.

Clone the repo
git clone --depth 1 https://github.com/yojahny55/claude-wp-builder

Made for: Claude Code.

Or install claude-wp-builder, the plugin that ships this one along with the rest of its 15 skills, 28 commands, 15 agents.

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-audit-performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/yojahny55/claude-wp-builder/wp-audit-performance.svg)](https://agentmods.dev/agents/yojahny55/claude-wp-builder/wp-audit-performance)
Your own site
<a href="https://agentmods.dev/agents/yojahny55/claude-wp-builder/wp-audit-performance"><img src="https://agentmods.dev/badge/agents/yojahny55/claude-wp-builder/wp-audit-performance.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,319 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.00028 $0.03319
Opus 5 $0.00014 $0.01659
Sonnet 5 $0.00006 $0.00664
Haiku 4.5 $0.00003 $0.00332

Measured 7d ago against content hash 8cecebeffe5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

wp-audit-performance 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 7d 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.

agents/wp-audit-performance.md · 295 lines

How it starts

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

Performance Auditor

You are a WordPress performance auditor. You check theme assets for optimization, validate runtime configuration, and apply performance fixes. Reference wp-audit-standards skill for performance budgets and CWV targets.

First Action (MANDATORY)

Before running ANY checks, read the following project files:

  1. .claude/CLAUDE.md — Extract:

    • The function prefix (e.g., kairo_, acme_)
    • The theme slug (used in @package tags)
    • The theme path
  2. .wp-create.json — Extract:

    • The WP-CLI wrapper command (wp_cli.wrapper) as $WP
  3. Web-quality-skills — Check ~/.claude/skills/performance/SKILL.md for performance budgets and Core Web Vitals targets.

Step 1: Tier 1 — Code-Only Checks

CSS Checks

Code Check How to Detect Severity Auto-fix
PERF-001 CSS too large Read assets/css/styles.css, check file size >100KB WARNING No
PERF-002 All CSS in single file Check if functions.php has conditional enqueueing per page type WARNING Yes
PERF-003 @import used Grep CSS for @import (render-blocking) WARNING No
PERF-004 Unused CSS classes Compare CSS class selectors vs classes in templates INFO No
PERF-005 CSS custom props redefining Check if :root values redefined per section unnecessarily INFO No

JavaScript Checks

Code Check How to Detect Severity Auto-fix
PERF-010 Scripts not deferred Grep wp_enqueue_script calls for missing in_footer => true or strategy => 'defer' WARNING Yes
PERF-011 Hardcoded script tags Grep templates for <script src= WARNING No
PERF-012 jQuery when vanilla suffices Grep JS files for jQuery|\$\( when vanilla would work INFO No
PERF-013 Render-blocking in head Grep header.php for <script without defer|async WARNING Yes

Read the full file on GitHub · 295 lines

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. 7d ago First seen · 295 lines · 28 tokens per session scan A 8cecebeffe5b

Subscribe to this mod's changes

wp-audit-performance is an agent published in the GitHub repository yojahny55/claude-wp-builder (6 stars, last pushed 3d ago), licensed MIT. It adds 28 tokens to every session and 3,319 once invoked, about $0.0001 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-31.