web-perf
Skill by cloudflare
Web Performance Audit is a Cloudflare agent skill for auditing, diagnosing, and optimizing page load and interaction speed. It is for developers who want Core Web Vitals and Lighthouse-style findings with specific fixes.
Install web-perf
Built from the published package, never by AI.
git clone --depth 1 https://github.com/cloudflare/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/web-perf ~/.claude/skills/web-perfRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/cloudflare/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/web-perf ~/.gemini/antigravity-cli/skills/web-perfAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Web Performance Audit is an agent skill from Cloudflare for auditing and optimizing how fast a website loads and responds. It guides the assistant through five phases: a performance trace, Core Web Vitals analysis, network request review, an accessibility snapshot, and codebase analysis. It uses Chrome DevTools MCP tools to load pages, record traces, and list network requests.
The skill compares metrics such as LCP, INP, CLS, and TBT against good, needs-improvement, and poor thresholds from web.dev and Lighthouse. Findings are presented as a Core Web Vitals summary, a prioritized list of issues with estimated impact, and specific recommendations. It is aimed at developers and site owners who want a measured audit, and it skips codebase analysis for third-party sites.
Written from the project's SKILL.md and checked against it.
What it can do
- navigate_pageLoads the target URL before a performance trace is recorded.
- performance_start_traceRecords a cold-load performance trace with reload enabled.
- performance_analyze_insightExtracts insights such as LCPBreakdown and CLSCulprits from a trace.
- list_network_requestsLists scripts, stylesheets, documents, fonts, and images to find bottlenecks.
- get_network_requestShows details for a single network request by its request ID.
- take_snapshotTakes an accessibility tree snapshot to flag high-level a11y gaps.
- Codebase analysisDetects the framework and bundler and checks tree-shaking, polyfills, and minification.
What you need
- Chrome DevTools MCP server, launched with npx
- Browser access for the page being audited
Try asking
- Audit the Core Web Vitals of https://example.com and rate each metric
- Find render-blocking resources and unused preconnects on my homepage
- Check my build config for tree-shaking and polyfill issues
Good to know
- Insight names may vary across Chrome DevTools versions.
- If trace tools are unavailable, some measurements cannot be collected.
- Codebase analysis is skipped for third-party sites without codebase access.
- MCP configuration is changed only when setup is within the user's authorized scope.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/web-perf/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/skill-feedback.md3 KB
Alternatives to web-perf
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
web-perf: common questions
Which metrics does the web performance audit check?
It checks TTFB, FCP, LCP, INP, TBT, CLS, and Speed Index against good, needs-improvement, and poor thresholds. Thresholds are taken from web.dev and Lighthouse scoring docs.
Does it change my MCP configuration?
Only when the setup is within the user's authorized scope. Otherwise the skill asks first.
Can it audit a site I do not have the code for?
Yes. The skill runs the browser and network checks on a third-party site and skips the codebase analysis phase.
How do I install web-perf?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is web-perf free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is web-perf safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to web-perf?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
