Works with the AI Agents you already use
Core Web Vitals Fixer (LCP, INP, CLS) from Lighthouse
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$9
Core Web Vitals Fixer (LCP, INP, CLS) from Lighthouse
Example session with this skill installed
Run the Core Web Vitals Fixer skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the core web vitals
Here is what the Core Web Vitals Fixer (LCP, INP, CLS) from Lighthouse skill produced.
Demo: real, unedited output of the skill's bundled script on the test fixture that ships with its source repo.
Output
Core Web Vitals triage: https://example.com/
mobile, Lighthouse 12.6.0, performance score 42
Field data: none. Lab data cannot confirm a pass; check CrUX/Search Console when traffic allows.
Lab data (Lighthouse, one run):
LCP 5.20 s poor
CLS 0.180 needs-improvement
TBT 720 ms poor
FCP 2.40 s needs-improvement
SI 4.80 s needs-improvement
Assessment: FAIL LCP=poor, CLS=needs-improvement, INP (TBT proxy)=poor
Prioritised fixes (highest estimated impact first):
1. [FCP/LCP] Eliminate render-blocking resources (render-blocking-resources) - LCP -1.20 s, FCP -1.10 s; Potential savings of 1,200 ms
- https://example.com/css/app.css (800 ms)
2. [CLS] Image elements do not have explicit width and height (unsized-images) - CLS -0.120
- <img src="hero.jpg">
3. [LCP/TBT] Reduce unused JavaScript (unused-javascript) - LCP -300 ms, TBT -250 ms
- https://cdn.example.net/vendor.js
4. [LCP] Reduce initial server response time (server-response-time) - LCP -900 ms
5. [LCP] Largest Contentful Paint image was lazily loaded (lcp-lazy-loaded) - LCP -400 ms
- <img class="hero" loading="lazy">
6. [FCP] Ensure text remains visible during webfont load (font-display) - no estimate
Diagnostics:
largest-contentful-paint-element:
- <img class="hero" src="hero.jpg" loading="lazy">
lcp-lazy-loaded:
- <img class="hero" loading="lazy">
Where to start:
- Make the LCP resource discoverable in the HTML, preload/fetchpriority=high it, never lazy-load it, cut TTFB and render-blocking CSS/JS.
- Reserve space: width/height on images and embeds, min-height for ads and late content, font-display with matched fallbacks.
- Break up long tasks, defer non-critical JS, yield to the main thread in event handlers, avoid layout thrashing.
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Interpret Lighthouse, PageSpeed Insights or Chrome UX Report (CrUX) JSON, rate LCP, INP, CLS, FCP, TTFB and TBT against the official thresholds, separate field data from lab data, and turn the audits into a ranked fix list mapped to the code that causes each problem.
Who it's for
Use when the user shares a Lighthouse or PSI report, asks why a page is slow or fails Core Web Vitals, sees "Poor URLs" in Search Console's Core Web Vitals report, or wants performance budgets in CI.
What's inside
- Tested, offline Python script(s): cwv_triage.py (deterministic results, standard library only unless noted)
- Reference guides: fixes.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Get the data (ask the user, or run locally with permission); Workflow; Thresholds (p75); Decision points; Core Web Vitals triage - <URL> (<mobile|desktop>, <field source or "lab only">)
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/seo-audit-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- lighthouse
Node.js
Python 3.8+