wp-perf-fix

wp-perf-fix is a skill for Claude Code from billylui/wordpress-performance-skills. It costs 124 tokens per session (3,677 once invoked), scanned A, original, GPL-2.0.

A guarded workflow for applying performance changes to a live WordPress website. It makes one approved change at a time, saves a rollback snapshot, clears the relevant cache, and checks what visitors receive.

In plain words
What is it for?
Use it to investigate and apply WordPress performance fixes on a live site, with a separate approval and verification step for each change.
Why use it?
It limits the risk of changing a live site while troubleshooting speed problems. The snapshot, approval step, cache purge, and visitor-facing verification make each change easier to reverse and assess.

Skill for Claude Code

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

Part of the wordpress-performance plugin — 2 skills shipped together

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.

agentmods
npx agentmods add skills/billylui/wordpress-performance-skills/wp-perf-fix
Any agent
npx skills add billylui/wordpress-performance-skills --skill wp-perf-fix
Clone the repo
git clone --depth 1 https://github.com/billylui/wordpress-performance-skills

Made for: Claude Code.

Or install wordpress-performance, the plugin that ships this one along with the rest of its 2 skills.

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-perf-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/billylui/wordpress-performance-skills/wp-perf-fix.svg)](https://agentmods.dev/skills/billylui/wordpress-performance-skills/wp-perf-fix)
Your own site
<a href="https://agentmods.dev/skills/billylui/wordpress-performance-skills/wp-perf-fix"><img src="https://agentmods.dev/badge/skills/billylui/wordpress-performance-skills/wp-perf-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.00124 $0.03677
Opus 5 $0.00062 $0.01839
Sonnet 5 $0.00025 $0.00735
Haiku 4.5 $0.00012 $0.00368

Measured 5d ago against content hash 7086e3d80ca6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

wp-perf-fix scanned grade A with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_plan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires a shell, curl, and Python 3.9+, plus outbound network access and whatever access the change itself needs (wp-admin, WP-CLI, or a deploy path). Changes a live site; never runs unattended.
skills/wp-perf-fix/SKILL.md · 280 lines

The source is not reproduced here

Licensed GPL-2.0

The repository is licensed GPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

8 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. 5d ago First seen · 280 lines · 124 tokens per session scan A 7086e3d80ca6

Subscribe to this mod's changes

wp-perf-fix is a skill published in the GitHub repository billylui/wordpress-performance-skills (2 stars, last pushed 22d ago), licensed GPL-2.0. It adds 124 tokens to every session and 3,677 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

seo

Optimize for search engine visibility and ranking. Use when asked to "improve SEO", "optimize for search", "fix meta tags", "add structured data", "sitemap optimization", or "search engine optimization".

addyosmani/web-quality-skills · 46 tokens

best-practices

Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities".

addyosmani/web-quality-skills · 49 tokens

performance

Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

addyosmani/web-quality-skills · 49 tokens

web-quality-audit

Run an evidence-led web quality audit covering performance, accessibility, SEO, best practices, and agentic browsing. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

addyosmani/web-quality-skills · 58 tokens

core-web-vitals

Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".

addyosmani/web-quality-skills · 67 tokens