web-performance

web-performance is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 40 tokens per session (1,201 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 CodeCodex

Written for no agent in particular: nothing here depends on one.

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, Codex.

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 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 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.00040 $0.01201
Opus 5 $0.00020 $0.00600
Sonnet 5 $0.00008 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured 9d ago against content hash 68733d936abd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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. 9d 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 (26 stars, last pushed 25d ago), licensed MIT. It adds 40 tokens to every session and 1,201 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build landing pages, websites, dashboards, web components, or any frontend UI. Generates creative, polished code that avoids generic AI aesthetics.

tobihagemann/turbo · 48 tokens

slop-eval

Objectively evaluate a UI/web design against the pols.dev anti-slop design law: detect catalogued slop tells with cited evidence, score 8 weighted axes (color, type, components, layout, motion, execution, signature, cohesion), and emit a Slop Report with a 0–100 Slop Index and grade. Use when the user asks to…

fabricioctelles/skills · 142 tokens

liquid-glass

Liquid glass — Apple-style frosted, refracting surfaces. Use when the user asks for glassmorphism, frosted/translucent panels, cards, menus or a glass topbar; when a glass surface looks wrong (gray, flat, invisible, unreadable text); or when another skill needs the glass recipe.

stormaref/LiquidGlassSkill · 69 tokens

color-accessibility

Trigger on: check contrast, WCAG contrast, accessible colors, readable text color, fix low-contrast, dimmed text color, palette accessibility, pastel color, textcolor for background, make this color readable, UI theme contrast, Neovim highlight contrast. Evaluate, fix, and generate accessible fg/bg pairs with the…

tkolleh/skills · 109 tokens

tailwindcss

TailwindCSS utility-first styling for Rails.

Shoebtamboli/rails_claude_skills · 12 tokens

journalistic-portrait-cn

A tool for creating Chinese magazine-style HTML pages inspired by Southern People Weekly, a Chinese human-interest and profile magazine. It supports layouts such as feature articles, red-framed covers, portrait-based contents pages, and two-column interior pages.

serejaris/kimi-skills · 75 tokens