Skip to main content
skill CX Codex

cwv-audit — Claude Code skill: Core Web Vitals audit and setup

A reference skill for Core Web Vitals: LCP, INP and CLS thresholds, common root causes and concrete fixes. Invoke it with /cwv-audit plus a metric or topic.

no license ★ 116 updated 2026-10-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill cwv-audit -a claude-code
Open on GitHub

What cwv-audit does

Inside is a technical reference covering the three Google vitals: what usually drives bad LCP, INP and CLS scores and how to fix them, plus CrUX BigQuery queries and setup steps for the web-vitals library. An argument narrows the answer — /cwv-audit CLS digs into layout shifts only, /cwv-audit monitoring covers the GA4 and BigQuery monitoring setup.

For real-site data the skill has several paths. With no accounts it calls the PageSpeed Insights API through curl, though keyless calls often hit HTTP 429, so you need a free Google Cloud API key with the PageSpeed Insights and Chrome UX Report APIs enabled. With Cogny MCP connected it pulls RUM data from GA4, traffic weighting from Search Console and dead-click signals from Microsoft Clarity, which allows only 10 requests per project per day.

When field data is unavailable the skill labels results as lab instead of guessing: a curl-only checklist flags TTFB above 0.8 s, render-blocking scripts in <head>, JPEG/PNG heroes without WebP/AVIF and <img> tags missing dimensions.

What it helps with

  • diagnose a poor LCP, INP or CLS score down to its cause
  • pull p75 field data per URL via CrUX and PageSpeed Insights
  • write CrUX BigQuery queries for competitor comparison
  • set up CWV monitoring with GA4 and the web-vitals library
  • audit a page without a browser: TTFB, render-blocking assets, JS/CSS weight

Example prompts for the agent

  • /cwv-audit INP — break down why the checkout page feels unresponsive
  • /cwv-audit CrUX competitor — give me the comparison queries
  • /cwv-audit monitoring — set up GA4 and BigQuery tracking

How to install cwv-audit

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill cwv-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/cwv-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cwv-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cwv-audit

How do I install cwv-audit in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill cwv-audit -a claude-code. The skill lands in ~/.claude/skills/cwv-audit/SKILL.md.

What does cwv-audit do?

It is a Core Web Vitals reference: LCP, INP and CLS thresholds, likely causes, fixes, CrUX BigQuery queries and web-vitals library setup. Passing an argument like /cwv-audit LCP focuses it on one metric.

Does cwv-audit need Google accounts to work?

No — the reference and the curl-only lab checklist work without accounts. Field data from CrUX needs a free Google Cloud API key, and GA4 or Search Console data requires a connected Cogny MCP.

Similar skills

All skills for SEO and GEO →

From the same set60

The whole set →
email-report email-report turns email platform data into weekly or monthly reports for Slack, a CEO email, or a board-deck section. Choose one format or request all three. CX Codex +1 ★ 116repo stars drop-off-rescue drop-off-rescue finds contacts stuck at funnel stages, drafts a re-engagement email for each stage, and schedules the send in your ESP. CX Codex +1 ★ 116repo stars demand-gen-audit demand-gen-audit audits Google Ads Demand Gen campaigns for creative diversity and target CPA drift. It helps marketers pinpoint wasted ad spend across Discover and YouTube. CX Codex +1 ★ 116repo stars deliverability-check deliverability-check audits email-domain DNS records and checks deliverability signals. Use it to spot configuration issues and get a prioritized list of fixes. CX Codex +1 ★ 116repo stars customer-language customer-language extracts verbatim customer pain points from CRMs, support chats, and community threads into weekly reports for marketing prompts. CX Codex +1 ★ 116repo stars crm-sales-momentum The crm-sales-momentum skill reviews deal movement in HubSpot, Pipedrive, and Upsales, covering velocity, stage changes, win/loss signals, and stalled pipeline items. CX Codex +1 ★ 116repo stars crm-icp-analysis The crm-icp-analysis skill reads closed-won deals, contacts and companies in HubSpot, Pipedrive or Upsales and turns them into an ideal customer profile. CX Codex +1 ★ 116repo stars creative-engine creative-engine generates 8 to 12 distinct ad angles from customer quotes and pushes paused drafts directly into ad managers. CX Codex +1 ★ 116repo stars

Project sponsors

Companies that keep this analytics open