core-web-vitalslisted
Install: claude install-skill sitetiller/ai-visibility-skills
# Core Web Vitals
Goal: say precisely which metric fails for which device and URL (or origin) from real-user data, then give the fixes that web.dev documents for that metric. Google recommends good Core Web Vitals and says they align with what its core ranking systems seek to reward; it states no ranking boost or weight, so never promise one.
## Inputs
- The URL(s) that matter (home, a key template, the worst-traffic page) and the origin.
- `CRUX_API_KEY` set (see `setup`).
## Thresholds (web.dev), judged at the 75th percentile, mobile and desktop separately
| Metric | Good | Needs improvement | Poor |
|---|---|---|---|
| LCP, Largest Contentful Paint | 2.5 s or less | between | over 4 s |
| INP, Interaction to Next Paint | 200 ms or less | between | over 500 ms |
| CLS, Cumulative Layout Shift | 0.1 or less | between | over 0.25 |
A page passes when all three are good at p75. FID is retired; INP is the responsiveness metric.
## Steps
1. Measure phone first, then desktop, for the page and for the origin:
```bash
npx sitetiller cwv https://example.com/pricing --json
npx sitetiller cwv https://example.com/pricing --form DESKTOP --json
npx sitetiller cwv https://example.com/ --origin --json
npx sitetiller cwv https://example.com/ --origin --form DESKTOP --json
```
Output: `target`, `formFactor`, `available`, `collectionPeriod`, `metrics[]` (`metric`, `p75`, `rating`) and `passes`. `p75` is in milliseconds for LCP and INP and a unitless score for CLS. `r