Sign in
Explore
Prompts · PromptWeb & UIReviewed

webperf

Run a web performance audit via the web-performance-auditor persona

Kind
Prompt
Works with
Claude Code
Source
addyosmani/agent-skills @ 2686b620fc1f
Path
.claude/commands/webperf.md
Jobs
Review, UI/UX work

Credit

Made by
addyosmani
Original
github.com/addyosmani/agent-skills/blob/2686b620fc1fed2e8f60c…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • .claude/commands/webperf.md (run as /webperf)
Runs scripts
None found
Uses the network
None found
Needs secrets
Yes
  • CRUX_API_KEY
  • GOOGLE_API_KEY
Reads environment variables
  • CRUX_API_KEY
  • GOOGLE_API_KEY
Source revision
2686b620fc1f
Licence
MIT
Last activity
24 Nov 2026
Source changed after the scan
Yes
  • Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

`/webperf` targets web applications specifically. Do not use it for utility libraries, CLIs, or server-only code with no browser-facing output.

## Determine the mode

**Deep mode** — activate when any of these is available:
- A Lighthouse JSON report file (e.g. `npx lighthouse <url> --output json --output-path ./report.json`, or `npx -p chrome-devtools-mcp chrome-devtools lighthouse_audit --output-format=json` from the Chrome DevTools MCP CLI)
- A PageSpeed Insights JSON response (includes Lighthouse + CrUX)
- A CrUX API response (requires `CRUX_API_KEY` or `GOOGLE_API_KEY`)
- A DevTools performance trace
- A live URL plus the `chrome-devtools` MCP server configured in the harness (the agent can capture metrics directly via `lighthouse_audit` and `performance_*` tools)
- The Chrome DevTools MCP CLI invoked locally (via `npx -p chrome-devtools-mcp chrome-devtools <tool>` or after `npm i -g chrome-devtools-mcp`) — the user runs commands like `chrome-devtools lighthouse_audit --output-format=json` and passes the JSON output to the agent
…