---
name: core-web-vitals-triage
description: "Turns Core Web Vitals data into a short, ranked list of developer tickets. Groups pages by template, rates each template on field data (real Chrome users at the 75th percentile, mobile first), ranks templates by the search traffic they carry and how far they miss the thresholds, then finds the cause in the page (LCP element and its phases, layout shifts, long tasks) and writes the fix with a date to verify it. Use when someone says Core Web Vitals are failing, Search Console shows poor URLs, LCP, INP or CLS problems, the site is slow, a low PageSpeed score, or asks what developers should fix first for speed."
license: MIT
compatibility: "Any AI agent that can call a public API or fetch pages. Field data comes from Google's free PageSpeed Insights API or CrUX API (an API key is optional for light use), or a Search Console Core Web Vitals export. Real-user monitoring data, if the site has it, explains INP best."
metadata:
  title: "Core Web Vitals triage"
  category: "SEO: technical"
  requires: "none"
  data-needed: "None"
  slate-tools: "web_research, screenshot_page, query_pages (Slate MCP); Web research, Screenshot and Search Console page data in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/core-web-vitals-triage"
  author: "Slate"
  version: "1.0.0"
---

# Core Web Vitals triage

Ranks speed and stability problems by template and by the traffic they cost, then hands developers tickets they can act on: which template, which metric, what the page is doing wrong, the fix, and when to check it worked. It keeps field data (what real visitors experience, which decides pass or fail) apart from lab data (a single simulated load, which explains causes), and it fixes templates rather than chasing one URL's PageSpeed score. In [Slate](https://slatehq.com) it also reads Search Console clicks for your tracked pages, so each template is weighted by the traffic it carries.

## When to use

- "Our Core Web Vitals are failing", "Search Console shows poor URLs on mobile", "fix our LCP / INP / CLS", "the site feels slow", "our PageSpeed score is 40", "what should the developers fix first for speed".
- Before a redesign ships, after a new tag, consent banner or framework upgrade, or when the Core Web Vitals report turns red.
- Not for the whole technical layer: use `technical-seo-audit`.
- Not for whether a page converts: use `page-cro-audit`.
- Not for catching each deploy that breaks things: use `seo-regression-monitor`.

## What you need

Required:
- **The domain**, or a list of URLs.

Ask for, or assume and state:
- **Templates and example URLs**. Default: derive them from the sitemap's path patterns in step 2.
- **Traffic per page**: Search Console clicks for the last 3 months. Without it, weight templates by URL count and say so.
- **Search Console's Core Web Vitals report** (mobile and desktop exports). Optional, but it already groups similar URLs and shows Google's own status.
- **Tech stack**: framework, CMS, CDN, image service, tag manager, consent tool, chat widget. Default: read it from the HTML.
- **Real-user monitoring** (the `web-vitals` library, an analytics or APM tool), if the site has it. It is the only good source for what causes slow interactions.

## Data and tools

- **In Slate:** Web research lists sitemap URLs and reads pages, so you can group templates and inspect their HTML; Screenshot shows the first screen (the likely largest element, banners that push content down); Search Console data on the Pages screen gives clicks per tracked page for weighting. Slate doesn't measure Core Web Vitals itself; field data comes from Google's free tools below.
- **With the Slate MCP server:** `web_research` with `action: "sitemap"` (raise `limit`, use `include_string` per section) and `action: "scrape"` for page content; `screenshot_page` with `screenshot_type: "aboveTheFold"` and a `wait_time` of a few seconds to catch late banners; `query_pages` with `view: "list"` sorted by `gsc.clicks`.
- **Without Slate, and for field data in every case:** the PageSpeed Insights API (`https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=<url>&strategy=mobile`): `loadingExperience` holds field data for the URL when it has enough traffic, `originLoadingExperience` the whole origin, and `lighthouseResult` the lab run. PSI reports CLS multiplied by 100 (a percentile of 12 means 0.12). The CrUX API gives the same field data by URL or origin and form factor; the CrUX History API gives weekly trends. Search Console's Core Web Vitals report groups URLs and offers "Validate fix". Traffic weighting needs a Search Console export.

## Procedure

1. **Set the form factor.** Start with mobile: it carries most traffic and usually fails first. Do desktop second, only for templates that fail there.
2. **Group pages into templates.** Use URL patterns and page structure: home, product or feature, category or listing, article, landing, docs, pricing, signup. Pick 2 to 3 representative URLs per template, highest traffic first.
3. **Pull field data.** Use the Search Console groups if available; otherwise PSI or CrUX per representative URL. When a URL has no field data (too little traffic), try the template's other URLs, then the origin. Label every number with its level: URL, template peer, origin, or none.
4. **Rate each template.** At the 75th percentile over 28 days: LCP good at 2.5 s or less, poor above 4.0 s; INP good at 200 ms or less, poor above 500 ms; CLS good at 0.1 or less, poor above 0.25. A template passes only when all three are good.
5. **Rank by impact.** Severity points: poor 3, needs improvement 1, good 0, per metric. Traffic weight: share of organic clicks above 30% scores 3, 10 to 30% scores 2, under 10% scores 1. Priority = severity × traffic weight; add 1 for signup, pricing or checkout templates. Break ties by how far the 75th percentile sits past the threshold.
6. **Diagnose on the page.** Run the lab test on each representative URL and read the raw HTML:
   - **LCP**: identify the largest element and split its time into phases (server response, load delay, load duration, render delay). The longest phase decides the fix.
   - **CLS**: list the shifting elements; check the screenshot for cookie banners, late fonts, ads, embeds and injected bars.
   - **INP**: lab tests can't measure it. Use total blocking time and long tasks as hints, count third-party scripts and DOM size, and look for heavy hydration. Real attribution needs real-user data.
7. **Choose fixes.** Read `references/fix-playbook.md` and pick the fix for the cause you found, not a generic speed list.
8. **Write tickets.** One ticket per template and root cause, in the format below. Give the expected effect in plain terms ("LCP image starts loading with the HTML instead of after the script bundle"), never a promised score.
9. **Plan verification.** Run the lab test right after release as a sanity check. Field data is a 28-day rolling window, so judge the fix about four weeks after release, then use "Validate fix" in Search Console.

## Decision rules

- Field data decides pass or fail. A Lighthouse score of 45 with good field data is not a Core Web Vitals problem; a score of 95 with poor field data is.
- Fix templates, not single URLs: one change to a template fixes every page built on it.
- Never trade one metric for another: lazy-loading the hero image saves bytes and wrecks LCP.
- Third-party scripts count. A chat widget or consent banner that blocks interaction is the site's problem, not the vendor's.
- Page experience is a modest ranking signal. Fix templates that are poor and carry traffic; don't chase a perfect lab score.

## Output

```markdown
## Core Web Vitals triage: <domain>, <date>
Form factor: <mobile / desktop>. Field data: <Search Console report / CrUX via PSI>, 28 days to <date>. Traffic weights: <Search Console, period / URL counts>.

### Templates
| Template | Example URLs | Share of clicks | Data level | LCP p75 | INP p75 | CLS p75 | Status | Priority |

### Tickets (highest priority first)
**<Template>: <metric> <value> (<poor / needs improvement>)**
- Sample URLs: <2-3>
- Evidence: <LCP element and slowest phase / shifting selectors / long tasks and scripts>
- Fix: <specific change>
- Expected effect: <plain description>
- Owner: <front end / back end / marketing ops for tags>
- Verify: lab on release; field on <release + 28 days>

### Not measured
- <templates with no field data, INP causes without real-user data>
```

## Quality checks

- Every field number names its source, form factor, date window and level (URL, template, origin).
- Lab numbers are labelled lab and never used to declare pass or fail.
- Each ticket names the template, sample URLs, the evidence seen and one specific fix.
- Ranking follows the stated formula; traffic weights cite their source.
- Templates without field data are listed, not silently rated.
- No promise of ranking gains or exact score improvements.

## Common mistakes

- **Chasing the PageSpeed score.** It is a lab composite. Real visitors' data is what counts.
- **Auditing the homepage only.** Articles or product pages usually carry the traffic and fail differently.
- **Generic advice.** "Optimise images" helps nobody; "the hero image is lazy-loaded and discovered after the script bundle" does.
- **Calling INP fixed from a lab run.** Lab tests have no real interactions; check field data four weeks later.
- **Ignoring tags and consent tools.** Marketing scripts are often the biggest cause of slow interactions and layout shift.
- **Judging a fix the next day.** The 28-day window hides improvement for weeks.

## Related skills

- `technical-seo-audit`: the full technical layer, of which speed is one part.
- `seo-regression-monitor`: catch a deploy that makes a template slower.
- `page-cro-audit`: when the slow page also needs to convert better.
- `martech-stack-audit`: when third-party tags are the main cause.
