page-speed
Skill0 starsChanged 16 days agoMITView on GitHub
Check a page's speed and Core Web Vitals (LCP, INP, CLS) from Google's PageSpeed Insights or a local Lighthouse report, separating real-user field data from lab data, read the Chrome UX Report's history of real-user Core Web Vitals for a whole site or a page over up to 40 weeks, and turn the opportunities into concrete fixes in the site's code, images, fonts and server. Use when someone asks about page speed, site speed, Core Web Vitals, PageSpeed Insights, Lighthouse, CrUX or the Chrome UX Report, LCP, INP or CLS, whether a speed fix worked, slow pages, or whether speed affects SEO or AI crawlers.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- garthcodes/claude-skillstheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- garthcodes/claude-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- ai-crawler-accessSkill
- ai-search-auditSkill
- ai-traffic-analyticsSkill
- ai-traffic-readoutSkill
- answer-drift-reviewSkill
- answer-first-contentSkill
- backlink-auditSkill
- brand-fact-sheetSkill
- brand-in-ai-answersSkill
- buyer-questionsSkill
- client-reportSkill
- comparison-pagesSkill
- competitor-movementSkill
- connect-visibianSkill
- content-briefSkill
- ecommerce-seoSkill
- geo-optimizationSkill
- hallucination-fixesSkill
- internal-linkingSkill
- international-seoSkill
- keyword-researchSkill
- llms-txtSkill
- local-seoSkill
- on-page-seoSkill
- search-consoleSkill
- seo-auditSkill
- seo-monitoringSkill
- seo-reportSkill
- source-gap-planSkill
- structured-dataSkill
- visibility-briefSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Read field data first. If a metric is "poor" or "needs improvement", that is the problem to solve.
- Distinctive: line 44
Do not promise a ranking change from speed alone.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Page speed and Core Web Vitals
Measure how fast a page is for real visitors, find what slows it, and fix it where the page is built.
What to tell the user first
- Core Web Vitals are three measures of real visits at the 75th percentile: Largest Contentful Paint (good within 2.5 seconds), Interaction to Next Paint (200 milliseconds or less) and Cumulative Layout Shift (0.1 or less) (web.dev, "Web Vitals", updated 31 October 2024).
- Field data (from real Chrome users, when Google has enough of it) decides whether a page passes. Lab data, from one Lighthouse run, is for finding causes; it moves between runs.
- Google has no single page experience signal; its ranking systems "look at a variety of signals that align with overall page experience", and it "always seeks to show the most relevant content, even if the page experience is sub-par" (Google Search Central, "Understanding page experience in Google Search results", updated 22 September 2026). Speed alone does not lift a page.
Steps
- Measure the key pages, from this skill's folder:
python3 scripts/page_speed.py https://example.com/pricing(mobile; add--strategy desktopfor desktop). If it answers 429, the shared quota is used up: ask the user to set a free PageSpeed Insights API key of their own inPAGESPEED_API_KEY, or to run Lighthouse on their machine and give you the report (--file report.json; the command is in the script's help). Never ask the user to paste a key into the chat. - Read field data first. If a metric is "poor" or "needs improvement", that is the problem to solve. If there is no field data, say so and work from lab data.
- For the trend, and for the whole site rather than one page, read the Chrome UX Report's history:
python3 scripts/crux_history.py https://example.com(add--pagefor one page,--form-factor phone,--periods 40for about ten months). It needs a free key with the Chrome UX Report API enabled inCRUX_API_KEY(the same Google Cloud key as PageSpeed Insights works once both APIs are enabled). It shows each metric now, its first value in the history, its best and worst, and how many weekly periods were good, so it answers "did our fix work" and "since when are we failing". Without a key, skip this step and say so. - Match causes to fixes, using the opportunities and the largest element the script names:
- LCP: serve the main image in a modern format at the size shown, preload it or give it
fetchpriority="high", never lazy-load it; cut server response time (caching, a CDN); remove render-blocking CSS and scripts above it. - INP: break up long JavaScript tasks, defer or remove third-party scripts, avoid heavy work in input handlers.
- CLS: give images, videos, ads and embeds width and height or an aspect ratio; reserve space for banners; load web fonts with
font-displayand matching fallback metrics.
- LCP: serve the main image in a modern format at the size shown, preload it or give it
- In a codebase, make the changes where the page is built (components, image pipeline, font loading, server or CDN settings), then measure again. Field data covers "the previous 28-day collection period" (PageSpeed Insights, "About PageSpeed Insights", updated 21 October 2024), so it reflects a change only gradually.
Output
- A table per page: metric, field value and rating, lab value.
- With the history: whether each metric improved, held or slipped, and since which period.
- The three to five changes with the most effect, each tied to a metric and to the element or file it touches.
- What could not be measured, and why (no field data, quota, a page behind a login).
Ground rules
- Report numbers as the tools return them, with the date and device. Do not average runs into a new number.
- Do not promise a ranking change from speed alone.
- The Lighthouse performance score is Lighthouse's own; present it as that, never as Visibian's or your own score.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

