core-web-vitals

core-web-vitals is a skill for Claude Code, Codex from thisisAhsanIqbal/nextjs-seo-audit. It costs 55 tokens per session (1,472 once invoked), scanned A, original, MIT.

A webpage performance checker based on Core Web Vitals, Google’s measures of loading speed, visual stability, and response to user actions.

In plain words
What is it for?
Use it to review LCP, CLS, and INP risks, including lazy-loaded hero images, missing image priority, layout-shift causes, and other loading blockers.
Why use it?
It helps identify HTML patterns that delay the main visible content, move the layout unexpectedly, or make interactions feel slow.

Skill for Claude CodeCodex

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

Good fit Use it to review LCP, CLS, and INP risks, including lazy-loaded hero images, missing image priority, layout-shift causes, and other loading blockers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thisisahsaniqbal/nextjs-seo-audit/core-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 thisisAhsanIqbal/nextjs-seo-audit --skill core-web-vitals
Clone the repo
git clone --depth 1 https://github.com/thisisAhsanIqbal/nextjs-seo-audit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals/github.svg)](https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals)
Your own site
<a href="https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals"><img src="https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals/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 core-web-vitals

Your own site · 80×15
<a href="https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals"><img src="https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/core-web-vitals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.
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.00055 $0.01472
Opus 5 $0.00028 $0.00736
Sonnet 5 $0.00011 $0.00294
Haiku 4.5 $0.00006 $0.00147

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

Security

Grade A, and why

core-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 11d 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/core-web-vitals/SKILL.md · 131 lines

How it starts

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

Core Web Vitals

Audit HTML for patterns that negatively impact Core Web Vitals — the performance metrics Google uses as a ranking signal.

Overview

Metric Full name Good threshold What it measures
LCP Largest Contentful Paint ≤ 2.5s Loading — time until the largest visible element renders
CLS Cumulative Layout Shift ≤ 0.1 Visual stability — unexpected layout movement
INP Interaction to Next Paint ≤ 200ms Responsiveness — delay between user input and visual update

1. LCP (Largest Contentful Paint) checks

Identify the likely LCP element and check for blockers:

Identify LCP candidate

The LCP element is typically the largest visible element above the fold:

  • Hero image (<img> near top of <body>)
  • Hero background image (CSS background-image)
  • Large heading (<h1>) with significant text
  • Video poster image

LCP blockers to flag

Check Status
Hero/banner <img> missing fetchpriority="high" ⚠️ WARN "Add fetchpriority=high to LCP image"
Hero image uses loading="lazy" ❌ FAIL "Never lazy-load the LCP element"
LCP image not preloaded (<link rel="preload" as="image">) ⚠️ WARN "Preload LCP image for faster rendering"
Render-blocking CSS in <head> (stylesheets without media attribute) ⚠️ WARN
Render-blocking JS in <head> (scripts without async/defer) ⚠️ WARN
LCP image served in legacy format (JPG/PNG instead of WebP/AVIF) ⚠️ WARN
No render-blocking resources ✅ PASS

Font loading

Check Status
Custom fonts without <link rel="preload" as="font"> ⚠️ WARN "Preload critical fonts"
No font-display: swap or font-display: optional in @font-face ⚠️ WARN "Add font-display to prevent invisible text"
Fonts preloaded properly ✅ PASS

2. CLS (Cumulative Layout Shift) checks

Identify HTML patterns that cause layout shift:

Check Status
<img> without width and height attributes ❌ FAIL "Missing dimensions cause layout shift"
<video> or <iframe> without width/height ⚠️ WARN
Ads/embeds without reserved space (no explicit dimensions) ⚠️ WARN "Reserve space for dynamic content"
Web fonts causing FOIT (Flash of Invisible Text) — no font-display ⚠️ WARN
Content injected above existing content (banners, cookie notices without reserved space) ⚠️ WARN
All images have dimensions ✅ PASS "No layout shift from images"

Read the full file on GitHub · 131 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. 11d ago First seen · 131 lines · 55 tokens per session scan A 17dba0c6c3c9

Subscribe to this mod's changes

core-web-vitals is a skill published in the GitHub repository thisisAhsanIqbal/nextjs-seo-audit (7 stars, last pushed 6mo ago), licensed MIT. It adds 55 tokens to every session and 1,472 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

tailwind-design-system

Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

calesthio/OpenMontage · 42 tokens

gsap-performance

Official GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or when the user asks about animation performance, FPS, or smooth 60fps.

calesthio/OpenMontage · 52 tokens

gsap-timeline

Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback. Use when sequencing animations, choreographing keyframes, or when the user asks about animation sequencing, timelines, or animation order (in GSAP or when recommending a library that supports timelines).

calesthio/OpenMontage · 61 tokens

svg-character-animation

Animate SVG character rigs with GSAP, CSS transforms, Remotion frame control, and HyperFrames-compatible browser previews.

calesthio/OpenMontage · 27 tokens

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens