core-web-vitals

core-web-vitals is a skill for Claude Code, Codex from Quality-Max/free-qa-skills. It costs 58 tokens per session (937 once invoked), scanned A, original, Apache-2.0.

A browser-based measurement of Core Web Vitals, the standard indicators Google uses to describe how quickly and steadily a web page loads and responds. It measures LCP, CLS, INP, TTFB, and FCP and gives each a grade from A to F.

In plain words
What is it for?
Use it to check a live URL with browser performance APIs and review measurements such as largest contentful paint, layout shifts, input delay, server response time, and first contentful paint.
Why use it?
It shows which parts of a page's loading, visual stability, or interaction performance may be poor for visitors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to check a live URL with browser performance APIs and review measurements such as largest contentful paint, layout shifts, input delay, server response time, and first contentful paint.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quality-max/free-qa-skills/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 Quality-Max/free-qa-skills --skill core-web-vitals
Clone the repo
git clone --depth 1 https://github.com/Quality-Max/free-qa-skills

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/quality-max/free-qa-skills/core-web-vitals/github.svg)](https://agentmods.dev/skills/quality-max/free-qa-skills/core-web-vitals)
Your own site
<a href="https://agentmods.dev/skills/quality-max/free-qa-skills/core-web-vitals"><img src="https://agentmods.dev/badge/skills/quality-max/free-qa-skills/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/quality-max/free-qa-skills/core-web-vitals"><img src="https://agentmods.dev/badge/skills/quality-max/free-qa-skills/core-web-vitals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 937 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.00058 $0.00937
Opus 5 $0.00029 $0.00468
Sonnet 5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00094

Measured 12d ago against content hash bdba32ed208f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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 · 100 lines

How it starts

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

Core Web Vitals

Measure the Core Web Vitals of any page using real browser performance APIs. No signup required.

Prerequisites

  • Playwright MCP (comes with Claude Code)

Trigger

  • "Check Core Web Vitals for https://..."
  • "How's the LCP/CLS on my site?"
  • "Web vitals audit mysite.com"

Workflow

  1. Navigate to the URL using mcp__playwright__browser_navigate
  2. Let the page settle (mcp__playwright__browser_wait_for ~3s, or wait for network idle)
  3. Collect metrics with mcp__playwright__browser_evaluate:
() => new Promise((resolve) => {
  const out = {};
  // Navigation timing → TTFB, FCP
  const nav = performance.getEntriesByType('navigation')[0];
  if (nav) out.ttfb = Math.round(nav.responseStart);
  const fcp = performance.getEntriesByName('first-contentful-paint')[0];
  if (fcp) out.fcp = Math.round(fcp.startTime);

  // LCP
  try {
    new PerformanceObserver((list) => {
      const e = list.getEntries();
      out.lcp = Math.round(e[e.length - 1].startTime);
    }).observe({ type: 'largest-contentful-paint', buffered: true });
  } catch (e) {}

  // CLS (cumulative)
  let cls = 0;
  try {
    new PerformanceObserver((list) => {
      for (const entry of list.getEntries()) {
        if (!entry.hadRecentInput) cls += entry.value;
      }
      out.cls = Math.round(cls * 1000) / 1000;
    }).observe({ type: 'layout-shift', buffered: true });
  } catch (e) {}

  // Give observers a tick to flush
  setTimeout(() => resolve(out), 1500);
})
  1. INP can't be measured passively — note it requires interaction. If you can click a primary button via mcp__playwright__browser_click, measure the event timing entry; otherwise report INP as "not measured (needs interaction)".

  2. Grade each metric (Google thresholds):

Metric Good Needs work Poor
LCP ≤ 2500ms 2500–4000ms > 4000ms
CLS ≤ 0.1 0.1–0.25 > 0.25
INP ≤ 200ms 200–500ms > 500ms
TTFB ≤ 800ms 800–1800ms > 1800ms
FCP ≤ 1800ms 1800–3000ms > 3000ms

Read the full file on GitHub · 100 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. 12d ago First seen · 100 lines · 58 tokens per session scan A bdba32ed208f

Subscribe to this mod's changes

core-web-vitals is a skill published in the GitHub repository Quality-Max/free-qa-skills (10 stars, last pushed 18d ago), licensed Apache-2.0. It adds 58 tokens to every session and 937 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

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

performance

Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

addyosmani/web-quality-skills · 49 tokens

seo

Optimize for search engine visibility and ranking. Use when asked to "improve SEO", "optimize for search", "fix meta tags", "add structured data", "sitemap optimization", or "search engine optimization".

addyosmani/web-quality-skills · 46 tokens

best-practices

Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities".

addyosmani/web-quality-skills · 49 tokens

core-web-vitals

Optimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".

addyosmani/web-quality-skills · 67 tokens

web-quality-audit

Run an evidence-led web quality audit covering performance, accessibility, SEO, best practices, and agentic browsing. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

addyosmani/web-quality-skills · 58 tokens