web-performance

web-performance is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 92 tokens per session (1,253 once invoked), scanned A, original, MIT.

A guide for improving website loading speed and runtime behaviour using measurements from real devices. It covers Core Web Vitals, which are metrics for loading, responsiveness, and visual stability.

In plain words
What is it for?
Use it to investigate field performance data, optimise JavaScript, images, and fonts, configure caching, profile runtime problems, and enforce performance budgets.
Why use it?
It helps replace guesswork with evidence and finds problems such as oversized bundles, slow interactions, layout movement, and inefficient asset loading.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend plugin — 9 skills shipped together

Good fit Use it to investigate field performance data, optimise JavaScript, images, and fonts, configure caching, profile runtime problems, and enforce performance budgets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/web-performance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill web-performance
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install frontend, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/web-performance/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/web-performance)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/web-performance"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/web-performance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/web-performance"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/web-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01253
Opus 5.5 $0.00037 $0.00501
Sonnet 5.5 $0.00018 $0.00251
Haiku 4.5 $0.00009 $0.00125

Measured 1mo ago against content hash 53e9b8437982, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-performance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/frontend/web-performance/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Performance

Purpose

Make pages fast on the devices people actually use. Performance work without measurement on representative hardware is guesswork, and it is usually spent on the wrong thing.

When to Use

  • Core Web Vitals failing in field data.
  • A page that feels slow, or a bundle that has quietly grown.
  • Before launching anything that matters commercially.
  • Diagnosing jank, layout shift, or slow interactions.

Capabilities

  • Core Web Vitals: LCP, INP, CLS — diagnosis and remediation.
  • Bundle analysis and code splitting.
  • Image, font, and asset optimization.
  • Caching and CDN header configuration.
  • Runtime profiling: long tasks, layout thrashing, memory growth.

Inputs

  • Field data (Chrome UX Report, RUM), not just a lab score.
  • The bundle, the network waterfall, and a CPU profile.
  • The device and network profile of the actual audience.

Outputs

  • A ranked list of fixes with expected impact.
  • Before/after measurements on throttled hardware.
  • Budgets in CI so the improvement holds.

Workflow

  1. Measure the field, not the lab — Lighthouse on a developer laptop tells you nothing about a mid-range Android on 4G. Start with real-user data and reproduce it with 4x CPU throttling and a Slow 4G profile.
  2. Find the LCP element — It is nearly always a hero image or a heading blocked by a font or a script. Preload it; do not lazy-load it.
  3. Fix INP by breaking up long tasks — Interaction latency comes from the main thread being busy. Find tasks over 50ms in the profile and yield, defer, or move them off-thread.
  4. Fix CLS by reserving space — Every image needs width and height or an aspect-ratio. Every ad slot, embed, and late-loading banner needs a reserved box.
  5. Cut the bundle — Analyze it. One date library, one icon set, or one un-tree-shaken utility library is usually a third of the payload.
  6. Set the cache headers — Immutable, fingerprinted assets get a one-year max-age. HTML gets no-cache and revalidates.
  7. Budget it in CI — Otherwise it regresses within two sprints.

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +52 tokens per session 53e9b8437982
  2. 2mo ago First seen · 105 lines · 40 tokens per session scan A 68733d936abd

Subscribe to this mod's changes

web-performance is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 1,253 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

web-performance compared with skills from other repositories

web-performance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-performancenimadorostkar/Claude-Skills-collectionSkill41todayMITA92Claude Code
slop-evalfabricioctelles/skillsSkill1504d agoApache-2.0A142Claude Code, Codex
dark-mode-designInfrasity-Labs/dev-gtm-claude-skillsSkill1937d agoMITA19Claude Code
ape-designarpitbbhayani/ape-skillsSkill571mo agoMITA80Claude Code, Codex
array-ui-reviewarpitbbhayani/ape-skillsSkill571mo agoMITA92Claude Code, Codex
color-accessibilitytkolleh/skillsSkill26d agoMITA109Claude Code, Codex
liquid-glassstormaref/LiquidGlassSkillSkill213mo agoMITA69Claude Code