web-perf
Skill1 starsChanged 11 days agoMITView on GitHub
Analyzes web performance using Chrome DevTools MCP. Measures Core Web Vitals (LCP, INP, CLS) and supplementary metrics (FCP, TBT, Speed Index), identifies render-blocking resources, network dependency chains, layout shifts, caching issues, and accessibility gaps. Use when asked to audit, profile, debug, or optimize page load performance, Lighthouse scores, or site speed. Biases towards retrieval from current documentation over pre-trained knowledge.
43 other projects use a version of this, 17 of them edited.
Adopted by
Most recently taken up by
- artivilla/agent-skillsword for word, first seen Nov 8, 2026
- 1stANUNNAKI/majlisedited, first seen Nov 8, 2026
- jackson2w/claude-code-skillsedited, first seen Nov 3, 2026
- mxrsv/agents-skillsedited, first seen Nov 1, 2026
- jjsizemore/jjskillsword for word, first seen Nov 1, 2026
- adrienlupo/Claude-code-configedited, first seen Oct 30, 2026
Used with
Projects with it also use nextjs-on-cloudflare, basin and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CloudflareSkillnextjs-on-cloudflare
Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an existing app to Workers, choosing between vinext and OpenNext, or setting up vinext for Workers. For setup, migration, or deployment, install vinext's upstream skills with `npx skills add cloudflare/vinext` if missing, then read and follow the applicable skill and docs.
Also in 6 projects that use this
CloudflareSkillbasin
Build and troubleshoot Cloudflare Basin analytics workflows with Basin Pipelines, Basin Catalog, and Basin SQL. Use for streaming data into R2 Iceberg tables, managing catalogs, or querying those tables; also use for requests using the former Data Platform, Pipelines, R2 Data Catalog, or R2 SQL names.
Also in 6 projects that use this
- +9 more from cloudflare
Other versions43 projects use a version of this.
Word for word · 23
- secondsky/sap-skills★ 462100% same
- open-fox/agents★ 55100% same
- kevyder/banrepco_mcp★ 9100% same
- Marvellbrazil/my-agentic-skills★ 4100% same
- meowdiocre/meowpi★ 3100% same
- langgenius/mosoo-skills★ 2100% same
- altrwork/skills★ 1100% same
- birdmanmandbir/skills★ 1100% same
- casoon/ai-agent-config★ 1100% same
- ElyzeSolutions/skills★ 1100% same
13 more not listed
Edited · 17
- openai/plugins★ 7.8k99% same
- cloudflare/skills★ 3.3k87% same
- d-padmanabhan/agent-engineering-handbook★ 17100% same
- ariadoss/superskills★ 1297% same
- mxrsv/agents-skills★ 1199% same
- transitive-bullshit/skills★ 589% same
- adrienlupo/Claude-code-config★ 389% same
- 1stANUNNAKI/majlis★ 298% same
- GTMify/claude-skills-starter★ 299% same
- Hahuyphananh/GRYND★ 289% same
7 more not listed
Wrote their own version · 3
- elithrar/dotfiles★ 222same name
- swyxio/skills★ 194same name
- Quad4-Software/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- claude-md-auditSkill
- cloudflare-oneSkill
- cloudflareSkill
- component-factorySkill
- concurrency-probeSkill
- core-sampleSkill
- corroborateSkill
- decision-telemetrySkill
- disk-auditSkill
- engramSkill
- frontend-designSkill
- git-forensicsSkill
- high-signal-engineSkill
- local-swarmSkill
- model-inventorySkill
- muster-triageSkill
- precise-coding-assistantSkill
- preflightSkill
- pr-triageSkill
- read-arxiv-paperSkill
- run-mazze-leczzare-blogSkill
- session-journalSkill
- shipSkill
- stratum-project-initSkill
- touchstoneSkill
- transcript-handoffSkill
- workspace-syncSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 11 are common, 1 is distinctive, and 8 are very specific to this project.
11
Common
Most of the 19 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Ask the user to add this to their MCP config:
- Common: line 33
Be assertive: Verify claims by checking network requests, DOM, or codebase—then state findings definitively.
- Common: line 35
Quantify impact: Use estimated savings from insights.
- Common: line 36
Skip non-issues: If render-blocking resources have 0ms estimated impact, note but don't recommend action.
- Common: line 71
Start a performance trace with reload to capture cold-load metrics:
- Common: line 76
Wait for trace completion, then retrieve results.
- Very specific: line 79
If trace returns empty or fails, verify the page loaded correctly with navigate_page first
- Common: line 80
If insight names don't match, inspect the trace response to list available insights
- Very specific: line 84
Use performance_analyze_insight to extract key metrics.
- Common: line 126
Unused preconnects: If flagged, verify by checking if ANY requests went to that origin.
- Common: line 154
Search for configuration files to identify the stack:
- Very specific: line 172
Webpack: Check for mode: 'production', sideEffects in package.json, usedExports optimization
- Common: line 178
Check for CSS-in-JS vs. static CSS extraction
- Very specific: line 179
Look for PurgeCSS/UnCSS configuration (Tailwind's content config)
- Very specific: line 184
Check for @babel/preset-env targets and useBuiltIns setting
- Very specific: line 185
Look for core-js imports (often oversized)
- Very specific: line 186
Check browserslist config for overly broad targeting
- Very specific: line 190
Check for terser, esbuild, or swc minification
- Common: line 191
Look for gzip/brotli compression in build output or server config
- Common: line 192
Check for source maps in production builds (should be external or disabled)
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Performance Audit
Your knowledge of web performance metrics, thresholds, and tooling APIs may be outdated. Prefer retrieval over pre-training when citing specific numbers or recommendations.
Retrieval Sources
| Source | How to retrieve | Use for |
| web.dev | https://web.dev/articles/vitals | Core Web Vitals thresholds, definitions |
| Chrome DevTools docs | https://developer.chrome.com/docs/devtools/performance | Tooling APIs, trace analysis |
| Lighthouse scoring | https://developer.chrome.com/docs/lighthouse/performance/performance-scoring | Score weights, metric thresholds |
FIRST: Verify MCP Tools Available
Run this before starting. Try calling navigate_page or performance_start_trace. If unavailable, STOP—the chrome-devtools MCP server isn't configured.
Ask the user to add this to their MCP config:
"chrome-devtools": {
"type": "local",
"command": ["npx", "-y", "chrome-devtools-mcp@latest"]
}Key Guidelines
- Be assertive: Verify claims by checking network requests, DOM, or codebase—then state findings definitively.
- Verify before recommending: Confirm something is unused before suggesting removal.
- Quantify impact: Use estimated savings from insights. Don't prioritize changes with 0ms impact.
- Skip non-issues: If render-blocking resources have 0ms estimated impact, note but don't recommend action.
- Be specific: Say "compress hero.png (450KB) to WebP" not "optimize images".
- Prioritize ruthlessly: A site with 200ms LCP and 0 CLS is already excellent—say so.
Quick Reference
| Task | Tool Call |
| Load page | navigate_page(url: "...") |
| Start trace | performance_start_trace(autoStop: true, reload: true) |
| Analyze insight | performance_analyze_insight(insightSetId: "...", insightName: "...") |
| List requests | list_network_requests(resourceTypes: ["Script", "Stylesheet", ...]) |
| Request details | get_network_request(reqid: <id>) |
| A11y snapshot | take_snapshot(verbose: true) |
Workflow
Copy this checklist to track progress:
Audit Progress:
- [ ] Phase 1: Performance trace (navigate + record)
- [ ] Phase 2: Core Web Vitals analysis (includes CLS culprits)
- [ ] Phase 3: Network analysis
- [ ] Phase 4: Accessibility snapshot
- [ ] Phase 5: Codebase analysis (skip if third-party site)Phase 1: Performance Trace
- Navigate to the target URL:
navigate_page(url: "<target-url>") - Start a performance trace with reload to capture cold-load metrics:
performance_start_trace(autoStop: true, reload: true) - Wait for trace completion, then retrieve results.
Troubleshooting:
- If trace returns empty or fails, verify the page loaded correctly with
navigate_pagefirst - If insight names don't match, inspect the trace response to list available insights
Phase 2: Core Web Vitals Analysis
Use performance_analyze_insight to extract key metrics.
Note: Insight names may vary across Chrome DevTools versions. If an insight name doesn't work, check the insightSetId from the trace response to discover available insights.
Common insight names:
| Metric | Insight Name | What to Look For |
| LCP | LCPBreakdown | Time to largest contentful paint; breakdown of TTFB, resource load, render delay |
| CLS | CLSCulprits | Elements causing layout shifts (images without dimensions, injected content, font swaps) |
| Render Blocking | RenderBlocking | CSS/JS blocking first paint |
| Document Latency | DocumentLatency | Server response time issues |
| Network Dependencies | NetworkRequestsDepGraph | Request chains delaying critical resources |
Example:
performance_analyze_insight(insightSetId: "<id-from-trace>", insightName: "LCPBreakdown")Key thresholds (good/needs-improvement/poor):
- TTFB: < 800ms / < 1.8s / > 1.8s
- FCP: < 1.8s / < 3s / > 3s
- LCP: < 2.5s / < 4s / > 4s
- INP: < 200ms / < 500ms / > 500ms
- TBT: < 200ms / < 600ms / > 600ms
- CLS: < 0.1 / < 0.25 / > 0.25
- Speed Index: < 3.4s / < 5.8s / > 5.8s
Phase 3: Network Analysis
List all network requests to identify optimization opportunities:
list_network_requests(resourceTypes: ["Script", "Stylesheet", "Document", "Font", "Image"])Look for:
- Render-blocking resources: JS/CSS in
<head>withoutasync/defer/mediaattributes - Network chains: Resources discovered late because they depend on other resources loading first (e.g., CSS imports, JS-loaded fonts)
- Missing preloads: Critical resources (fonts, hero images, key scripts) not preloaded
- Caching issues: Missing or weak
Cache-Control,ETag, orLast-Modifiedheaders - Large payloads: Uncompressed or oversized JS/CSS bundles
- Unused preconnects: If flagged, verify by checking if ANY requests went to that origin. If zero requests, it's definitively unused—recommend removal. If requests exist but loaded late, the preconnect may still be valuable.
For detailed request info:
get_network_request(reqid: <id>)Phase 4: Accessibility Snapshot
Take an accessibility tree snapshot:
take_snapshot(verbose: true)Flag high-level gaps:
- Missing or duplicate ARIA IDs
- Elements with poor contrast ratios (check against WCAG AA: 4.5:1 for normal text, 3:1 for large text)
- Focus traps or missing focus indicators
- Interactive elements without accessible names
Phase 5: Codebase Analysis
Skip if auditing a third-party site without codebase access.
Analyze the codebase to understand where improvements can be made.
Detect Framework & Bundler
Search for configuration files to identify the stack:
| Tool | Config Files |
| Webpack | webpack.config.js, webpack.*.js |
| Vite | vite.config.js, vite.config.ts |
| Rollup | rollup.config.js, rollup.config.mjs |
| esbuild | esbuild.config.js, build scripts with esbuild |
| Parcel | .parcelrc, package.json (parcel field) |
| Next.js | next.config.js, next.config.mjs |
| Nuxt | nuxt.config.js, nuxt.config.ts |
| SvelteKit | svelte.config.js |
| Astro | astro.config.mjs |
Also check package.json for framework dependencies and build scripts.
Tree-Shaking & Dead Code
- Webpack: Check for
mode: 'production',sideEffectsin package.json,usedExportsoptimization - Vite/Rollup: Tree-shaking enabled by default; check for
treeshakeoptions - Look for: Barrel files (
index.jsre-exports), large utility libraries imported wholesale (lodash, moment)
Unused JS/CSS
- Check for CSS-in-JS vs. static CSS extraction
- Look for PurgeCSS/UnCSS configuration (Tailwind's
contentconfig) - Identify dynamic imports vs. eager loading
Polyfills
- Check for
@babel/preset-envtargets anduseBuiltInssetting - Look for
core-jsimports (often oversized) - Check
browserslistconfig for overly broad targeting
Compression & Minification
- Check for
terser,esbuild, orswcminification - Look for gzip/brotli compression in build output or server config
- Check for source maps in production builds (should be external or disabled)
Output Format
Present findings as:
- Core Web Vitals Summary - Table with metric, value, and rating (good/needs-improvement/poor)
- Top Issues - Prioritized list of problems with estimated impact (high/medium/low)
- Recommendations - Specific, actionable fixes with code snippets or config changes
- Codebase Findings - Framework/bundler detected, optimization opportunities (omit if no codebase access)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

