
core-web-vitals
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience
by addyosmaniFree
Description
core-web-vitals is an agent skill for optimising the three Core Web Vitals, which are largest contentful paint (LCP), interaction to next paint (INP) and cumulative layout shift (CLS). It is aimed at improving the page experience people actually get, so it starts with field data to see the impact on real users before it looks at lab traces to diagnose the causes. Its workflow says to measure before optimising. When a runnable URL is available, the skill reads the performance measurement workflow and prefers page-level Chrome User Experience Report data at the 75th percentile, with a clearly labelled fallback to origin-level data when a page has too little traffic. It then covers each metric in turn. The skill is part of the web-quality-skills repository by Addy Osmani and is added to a compatible agent with the skills command. Its audits passed with Gen Agent Trust Hub, Socket and Snyk. It suits developers who have been asked to fix a slow page and want the fix guided by measured data rather than guesswork.…
Highlights
- Targets LCP, INP and CLS
- Starts with field data for user impact
- Lab traces diagnose causes
- Measures before optimising
Ratings & Reviews
No ratings yet
Be the first to rate core-web-vitals.
People also visit

web-performance-optimization
Optimize website and web application performance including loading speed
core-web-vitals FAQ
What does core-web-vitals optimise?
LCP, INP and CLS, the three Core Web Vitals.
Where does it start?
With field data for user impact, then lab traces for causes.
What data does it prefer?
Page-level CrUX data at the 75th percentile, with a labelled origin fallback.
How do I install it?
Run: npx skills add https://github.com/addyosmani/web-quality-skills --skill core-web-vitals
What security audits has it passed?
Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best core-web-vitals alternatives?
Popular alternatives to core-web-vitals include performance, audit-speed and debug-optimize-lcp. See all core-web-vitals alternatives









