webperf
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install webperf-snippets-webperfWhat this does: Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar.
Manual setup by platform
Claude Code
~/.claude/skills/webperf-snippets-webperf/SKILL.md
Instructions
WebPerf Snippets Toolkit
A collection of 57 JavaScript snippets for measuring and debugging web performance in Chrome DevTools. Each snippet runs in the page and returns a structured result object.
Quick Reference
| Skill | Snippets | Trigger phrases |
|---|---|---|
| webperf-core-web-vitals | 7 | "debug LCP", "slow LCP", "CLS", "layout shifts", "INP", "interaction latency", "responsiveness" |
| webperf-loading | 35 | "TTFB", "slow server", "FCP", "render blocking", "font loading", "script loading", "resource hints", "service worker" |
| webperf-interaction | 10 | "jank", "scroll performance", "long tasks", "animation frames", "INP debug" |
| webperf-media | 4 | "image audit", "lazy loading", "image optimization", "video audit" |
| webperf-resources | 1 | "network quality", "bandwidth", "connection type", "save-data" |
Workflow
- Identify the relevant skill based on the user's question (see Quick Reference above)
- Load the skill's SKILL.md to see available snippets and thresholds
- Execute with Chrome DevTools MCP:
mcp__chrome-devtools__navigate_page→ navigate to target URLmcp__chrome-devtools__evaluate_scriptwithsourcePath(the absolute path of the script) andformat: "script"→ run the snippet and read the returned object, which is the result (the scripts have no console output)status: "tracking"→ call the function named ingetDataFnwith anothermcp__chrome-devtools__evaluate_scriptcall after the interactions, as an arrow function such as() => getINP()- Without Chrome DevTools MCP, run the snippet with the CLI:
npx webperf-snippets <url> --snippet <Name> --json
- Interpret results using the thresholds defined in the skill
- Provide actionable recommendations based on findings
Security
Reviews (0)
Related skills
Browse all →More from webperf-snippets
View source →More Build skills
Browse category →Frequently asked questions about webperf
What does the webperf skill do?
Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the webperf skill?
Run `npx @skills-hub-ai/cli install webperf-snippets-webperf` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/webperf-snippets-webperf/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does webperf work with?
webperf runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the webperf skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use webperf after installing it?
In Claude Code, type `/webperf-snippets-webperf` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the webperf skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/webperf-snippets-webperf)<a href="https://skills-hub.ai/skills/webperf-snippets-webperf"><img src="https://skills-hub.ai/api/badges/skill/webperf-snippets-webperf" alt="Install on Skills Hub"></a>More options in the badge docs.