performance-web-vitals

performance-web-vitals is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 79 tokens per session (2,935 once invoked), scanned A, original, MIT.

A guide to measuring and improving how quickly web pages load and respond, using metrics such as Core Web Vitals and tools such as Lighthouse.

In plain words
What is it for?
Use it to improve Lighthouse scores, diagnose LCP, INP, and CLS, optimize images, fonts, and bundles, tune React rendering, and set up real-user monitoring.
Why use it?
It helps locate slow server responses, large JavaScript bundles, blocking resources, and layout movement that make a site feel slow or unstable.

Skill for Claude CodeCodex

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

Good fit Use it to improve Lighthouse scores, diagnose LCP, INP, and CLS, optimize images, fonts, and bundles, tune React rendering, and set up real-user monitoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/performance-web-vitals
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 roedyrustam/vibes-plug --skill performance-web-vitals
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

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 performance-web-vitals

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/performance-web-vitals.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/performance-web-vitals)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/performance-web-vitals"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/performance-web-vitals.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,935 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.00079 $0.02935
Opus 5 $0.00039 $0.01468
Sonnet 5 $0.00016 $0.00587
Haiku 4.5 $0.00008 $0.00294

Measured 4d ago against content hash f7d318f0fd2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

performance-web-vitals 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 4d 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/performance-web-vitals/SKILL.md · 339 lines

How it starts

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

Web Performance & Core Web Vitals Expert

English | Bahasa Indonesia


English

Orchestration & Integration

Connects and orchestrates with relevant domain skills like brainstorming, zero-to-prod-orchestrator, and project-context-mapper to ensure cohesive execution.

Description

Expert guide for measuring, diagnosing, and optimizing web application performance with a focus on Core Web Vitals (LCP, INP, CLS), JavaScript bundle optimization, image and font loading strategies, rendering performance, and achieving high Lighthouse scores. Covers Next.js 15, React 19, and modern browser APIs.

Trigger Conditions

  • Improving Lighthouse performance score below 90.
  • Diagnosing poor LCP, INP, or CLS metrics.
  • Reducing JavaScript bundle size or eliminating render-blocking resources.
  • Optimizing image loading, lazy loading, or font delivery.
  • Implementing React performance patterns (memo, useDeferredValue, Suspense).
  • Setting up Real User Monitoring (RUM) for Core Web Vitals.
  • Optimizing server response times (TTFB).

Core Web Vitals Targets (2024+)

Metric Good Needs Improvement Poor Measures
LCP (Largest Contentful Paint) ≤ 2.5s 2.5–4.0s > 4.0s Loading performance
INP (Interaction to Next Paint) ≤ 200ms 200–500ms > 500ms Interactivity (replaced FID)
CLS (Cumulative Layout Shift) ≤ 0.1 0.1–0.25 > 0.25 Visual stability
FCP (First Contentful Paint) ≤ 1.8s 1.8–3.0s > 3.0s Perceived loading
TTFB (Time to First Byte) ≤ 800ms 800–1800ms > 1800ms Server responsiveness

LCP Optimization Strategies

1. Identify and Optimize the LCP Element
// Measure LCP with web-vitals library
import { onLCP, onINP, onCLS } from 'web-vitals';

onLCP((metric) => {
  console.log('LCP:', metric.value, 'element:', metric.attribution.lcpEntry?.element);
  // Send to analytics
  sendToAnalytics({ name: metric.name, value: metric.value });
});

Read the full file on GitHub · 339 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. 4d ago First seen · 339 lines · 79 tokens per session scan A f7d318f0fd2b

Subscribe to this mod's changes

performance-web-vitals is a skill published in the GitHub repository roedyrustam/vibes-plug (49 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 2,935 once invoked, about $0.0004 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

nextjs-code-review

A code-review assistant for Next.js applications. Next.js is a framework for building React websites and web applications, including pages that run on the server.

sutchan/Agent-Skills-Hub · 72 tokens

component-scaffold

Create a new React component with co-located test, story, and styles. Use when creating new UI components, when asked to scaffold/generate a component, or when building new pages.

zakelfassi/skills-driven-development · 42 tokens

expo

Expert in Expo for React Native development. Covers Expo Router, EAS Build and Submit, development builds, native module integration, and production deployment. Knows how to build cross-platform mobile apps efficiently while maintaining access to native capabilities. Use when "expo, react native, mobile app, eas…

omer-metin/skills-for-antigravity · 86 tokens

frontend

World-class frontend engineering - React philosophy, performance, accessibility, and production-grade interfacesUse when "frontend, react, vue, svelte, next.js, nuxt, component, state management, redux, zustand, client side, spa, ssr, hydration, bundle size, web vitals, accessibility, a11y, responsive, css, tailwind…

omer-metin/skills-for-antigravity · 95 tokens

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

Jamkris/everything-gemini-code · 28 tokens

clerk-nextjs-patterns

A collection of implementation patterns for adding Clerk authentication to Next.js applications. Clerk is a service that manages user accounts and login sessions.

sutchan/Agent-Skills-Hub · 41 tokens