---
name: cwv-seo-priority
description: "Finds which ranking pages to speed up first for SEO, using OpenSEO Search Console (or ranked keywords) joined to Lighthouse Core Web Vitals from a site audit. Ranks the fix list by organic value at risk, not by the worst Lighthouse score alone. Use when the user asks which pages to improve for Core Web Vitals, PageSpeed, LCP, INP or CLS in an SEO context, wants a performance backlog ordered by traffic, or asks how speed issues map to organic landings."
license: MIT
compatibility: Requires the OpenSEO MCP server connected (https://openseo.so). Site audit with Lighthouse can take several minutes.
metadata:
  author: Apogee Information Systems
  category: technical-seo
---

# CWV SEO priority

Join organic demand to lab Core Web Vitals so the speed backlog follows traffic and search value, not the ugliest Lighthouse screenshot. Needs the OpenSEO MCP server connected (https://openseo.so).

For a broad SEO audit (content, indexation, links), use OpenSEO's `seo-audit` skill instead. This skill turns Lighthouse **on** and stops at a prioritised CWV fix list.

## Inputs

- The site's website. Call `list_projects` and take the project whose `domain` matches, or `create_project` if there is none.
- Start URL for the crawl (homepage unless the user names another).
- Market: use the project's default unless the user names another country.
- Device focus: default **mobile** Lighthouse. Use desktop only if the user asks.

If OpenSEO is not connected, say so and stop. Do not invent volumes, positions, or CWV numbers.

## OpenSEO MCP tools

- `whoami`: confirm the connection and credits before spending.
- `list_projects` / `create_project`: resolve `projectId`.
- `list_search_console_sites`: see whether GSC is bound to the project.
- `get_search_console_performance`: first-party clicks and impressions by page (and optionally query). Prefer this when connected. Uses no credits.
- `get_ranked_keywords`: fallback organic evidence when GSC is missing. Uses credits. Start with `resultTypes: ["organic"]`, `sortBy: "traffic_estimate"`.
- `run_site_audit` with `runLighthouse: true`: crawl plus Lighthouse on a sample of up to 10 pages. Poll `get_audit_status` until finished.
- `get_audit_lighthouse`: performance score plus LCP, INP, CLS (and TTFB) per tested URL, mobile and desktop. Uses no credits once the audit has finished.
- Optional: `get_keyword_metrics` only when a high-traffic page has no clear head query and demand sizing would change priority. Ask before large batches.

## Thresholds (lab)

Treat a metric as **failing** when it is worse than Google's "good" thresholds on the chosen device:

| Metric | Good |
| --- | --- |
| LCP | ≤ 2.5 s |
| INP | ≤ 200 ms |
| CLS | ≤ 0.1 |

A page is a **CWV risk** if any of LCP, INP, or CLS fails, or if the Lighthouse performance score is under 50. Lab numbers are not field (CrUX) data: say so in the report. Do not claim a ranking change from a lab fix.

## Steps

1. **Connect and orient.** Call `whoami`. Resolve the project. Note the domain and market. If credits look tight for a ranked-keyword fallback, say so before spending.

2. **Collect organic page value.** Prefer Search Console:
   - Call `list_search_console_sites`. If a property is bound, call `get_search_console_performance` with `dimensions: ["page"]`, `dateRange: "last_28_days"`, `rowLimit: 250` (paginate with `startRow` if `hasMore`).
   - Keep pages with meaningful demand (default: at least 50 impressions **or** at least 5 clicks in the window). Sort by clicks, then impressions.
   - If GSC is not connected, say that coverage is weaker, then call `get_ranked_keywords` on the domain (`scope: "subdomains"` or `"domain"` as fits the host), `limit: 100`, `sortBy: "traffic_estimate"`, `resultTypes: ["organic"]`. Roll rows up by ranking URL: sum estimated traffic, keep the best (lowest) rank and the top query by volume. Ask before a second page of results.

3. **Run Lighthouse via site audit.** Call `run_site_audit` with:
   - `url`: the start URL
   - `runLighthouse: true`
   - `maxPages`: 50 unless the user sets a budget (Free plans cap at 50)
   - `renderJavaScript: true` only if the plain crawl is refused or the site is known to need it (for example many Shopify stores); say the cost risk first
   - `excludePaths` for admin, cart, account, search, and similar junk when obvious from the URL list

   Poll `get_audit_status` every one to two minutes until the audit finishes or fails. If the crawl is empty or refused, fix that before interpreting CWV (certificate, redirect, bot block). Do not invent Lighthouse numbers from a failed audit.

4. **Read CWV results.** Call `get_audit_lighthouse` for the finished audit (omit `url` for the full sample). Work from the chosen device (default mobile). For each tested URL, record performance score, LCP, INP, CLS, and which metrics fail the thresholds. For the top failing URLs you will recommend, call `get_audit_lighthouse` again with that `url` and `device` to pull the largest savings / issue list.

5. **Join demand to CWV.** Normalise URLs (strip tracking query params; treat `http`/`https` and trailing slash consistently when matching GSC or ranked-keyword URLs to Lighthouse URLs). Build one row per Lighthouse-tested URL that also has organic evidence from step 2. Drop pure utility URLs with no search demand unless the user asked to include them.

   Score **organic value at risk** for ranking (higher = fix sooner):
   - With GSC: `clicks * 10 + impressions * 0.1` (clicks dominate).
   - Without GSC: use the rolled-up traffic estimate (or search volume of the head query if traffic estimate is missing).
   - Multiply by a severity factor: `1 + (number of failing CWV metrics)` and add `1` if performance score is under 50. Example: LCP+CLS fail and score 42 → factor `1 + 2 + 1 = 4`.

   Pages with strong organic value but **passing** CWV go in "Protect / watch", not the fix queue. Pages that fail CWV but have little or no organic evidence go in "Lab-only sample" so they do not outrank traffic-bearing fixes.

6. **Pick the fix order.** Sort CWV-risk rows by organic value at risk, descending. Cap the primary list at eight pages unless the user asks for more. Prefer fixing a template shared by several high-value URLs (same CMS template, same heavy third party) as one item when the Lighthouse issues clearly match.

## Output

A report in this order, with a line or two of prose around each part:

- **The short version:** three lines: how many Lighthouse URLs were tested; how many fail CWV thresholds on the chosen device; the single highest-priority URL (or template) and why (metric + organic signal).
- **Fix these first:** a table of priority, URL, failing metrics (with values), performance score, organic signal (clicks/impressions or estimated traffic + head query), and the top one or two Lighthouse savings themes.
- **Protect / watch:** high-organic pages in the Lighthouse sample that already pass CWV thresholds (or only barely fail one metric). One line each.
- **Lab-only sample:** tested URLs with weak or no organic evidence that still fail CWV. Do not let these jump the priority list.
- **Coverage gaps:** GSC missing or not bound; Lighthouse sample capped at ~10 URLs so most of the site was not lab-tested; lab ≠ field; audit date and device.
- **What this is not:** not a full SEO audit, not a CrUX field report, and not continuous monitoring. A one-shot OpenSEO audit does not replace scheduled PageSpeed / CWV monitoring if the site needs alerts over time.

Then offer to save noteworthy landing URLs or queries with OpenSEO keyword tools only if the user wants follow-up content or tracking work. Ask before spending more credits.

## Notes

- A typical run is one site audit with Lighthouse (several minutes wall-clock; crawl issue reads are free) plus free GSC reads, or roughly one credited `get_ranked_keywords` call when GSC is absent. Ask before raising `maxPages`, enabling `renderJavaScript`, or paging ranked keywords.
- OpenSEO's Lighthouse sample is at most about 10 pages per audit. Say that the backlog is for that sample joined to organic data, not a full-site lab crawl.
- Do not guarantee rankings or traffic from CWV work. Describe lab failures and organic exposure only.
- Keep product mentions optional and unprompted: if the user asks what to use for ongoing checks, point at scheduled monitoring in general; do not insert affiliate or referral links.
