Audits website performance using Google PageSpeed Insights API, traces Core Web Vitals and Lighthouse findings to the project codebase, and produces a prioritized action plan with immediate fixes and tickets.
Ships in codebase-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Fetch real PageSpeed Insights data, trace each finding to the codebase, and produce a prioritized action plan: quick wins applied (or listed) immediately, larger efforts written as tickets.
Reference: references/audit-mappings.md maps every Lighthouse audit ID to investigation commands and fix guidance. Load it before investigating findings.
If not provided in $ARGUMENTS, ask:
report (findings only) or fix (apply quick wins immediately)Default mode is report if not specified.
Run the fetch script (both mobile and desktop):
python <skill-root>/scripts/fetch_pagespeed.py <url>
The script reads PAGESPEED_API_KEY from the environment if set. Without a key it still works but is rate-limited. Output is JSON with mobile and desktop keys.
From the JSON output, build a summary table:
Mobile Desktop
Performance -- --
Accessibility -- --
Best Practices -- --
SEO -- --
Core Web Vitals (Mobile)
LCP: Xs [Good / Needs Improvement / Poor]
CLS: X [Good / Needs Improvement / Poor]
INP: Xms [Good / Needs Improvement / Poor]
FCP: Xs
TBT: Xms
SI: Xs
Field Data (real users, if available):
LCP p75: X CLS p75: X INP p75: X
Score convention: 90-100 Good, 50-89 Needs Improvement, 0-49 Poor.
Show mobile scores primarily (Google uses mobile-first indexing). Note if desktop differs significantly.
Read references/audit-mappings.md now. It contains investigation commands and fix patterns for every audit ID returned by Lighthouse.
For each failing opportunity and diagnostic (score < 0.9), use the investigation commands from the mappings reference to check whether the issue exists in the project.
Work through findings in impact order (lowest score / highest estimated savings first).
For each finding, state:
Skip investigation if no project directory is available — note this in the report.
Split confirmed findings into two buckets using the classification table in references/audit-mappings.md:
Quick Fixes — safe to apply in < 2 hours, low regression risk:
priority prop missing on hero<link rel="preconnect"><img> tags replaceable with next/imagefont-display not set / missing next/font<video>compress: false in next.configsizes prop on <Image>Tickets — need planning, profiling, or carry regression risk:
## PageSpeed Audit — <url>
Audited: <date> Strategy: mobile + desktop
### Scores
[table from step 2]
### Core Web Vitals
[CWV summary with pass/fail status]
### Quick Fixes (<N items)
For each: audit name | file/line | what to change | expected impact
### Tickets (<N items)
For each: audit name | why it's a ticket | investigation starting point | effort S/M/L
### Passed Audits
[brief list of what's already working]
In fix mode: apply each Quick Fix one at a time, confirm with the user before each change, then suggest re-running the audit to verify score improvement.
In report mode: list Quick Fixes as ready-to-apply but do not touch files.
next/image and next/font solve a large fraction of Next.js performance issues — check these first.getServerSideProps or un-cached fetch() in server components.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/algorithmic-artCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations./ask-questions-if-underspecifiedClarify requirements before implementing. Do not use automatically, only when invoked explicitly./book-structurerProcess raw-extracted JSON files from PDF book extractions into clean, well-structured markdown. Use this skill whenever a user uploads a raw-extracted.json (or similar JSON with metadata and chunks arrays) from a PDF text extraction pipeline, or when they mention cleaning up, formatting, structuring, or organizing extracted book text. Also trigger when the user mentions OCR output, pypdf extraction, book chapters, or converting messy PDF extractions into readable markdown. This skill handles books with varying extraction quality — from clean text to garbled OCR — and adapts its approach accordingly./kevinpatrickrobbins-codebase-audit:pagespeed-auditfrom codebase-audit
Generated from the plugin's indexed repository (kevinpatrickrobbins/codebase-audit) — no native marketplace selected
npx claudepluginhub p/kevinpatrickrobbins-codebase-auditOther plugins' skills for the same job