core-web-vitals
Skill5 starsChanged 36 days agoMITView on GitHub
Audit Core Web Vitals (LCP, INP, CLS) via Google PageSpeed Insights (--psi) alongside offline performance hygiene (HTML payload weight, image dimensions, lazy loading, and third-party script bloat).
- Reads credentials
33 other projects use a version of this.
Adopted by
Most recently taken up by
- theopenco/llmgatewaytheir own version, first seen Nov 6, 2026
- jbobbink/seo-gsc-wizardtheir own version, first seen Nov 1, 2026
- advisorppc-org/advisorseo-claude-plugintheir own version, first seen Nov 1, 2026
- xuweizhengo/skills-hubtheir own version, first seen Nov 1, 2026
- joaoguirunas/team-ostheir own version, first seen Nov 1, 2026
- carlosuhart/seo-audit-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use web-quality-audit, structured-data and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
RodrigoTomeESSkillweb-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
Also in 12 projects that use this
huiferSkillstructured-data
生成和验证 JSON-LD 结构化数据,支持 Article、BlogPosting、Organization、WebPage、Product、LocalBusiness 等 Schema.org 类型。自动检测页面类型,验证语法,检查必需字段,提供 Google Rich Results 测试工具链接和 Next.js 组件代码示例。
Also in 3 projects that use this
kpbraySkillbest-practices
Applies Power BI best practices, BPA rules, and enterprise standards. Use for quality validation, naming conventions, and performance optimization.
Also in 7 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 18 projects that use this
nilssonrSkillseo
Full SEO workflow for auditing pages and creating SEO-optimized content. Provides checklists with educational explanations aligned with Google Search Central documentation.
Also in 10 projects that use this
GSA-TTSSkillarchitecture-decision-records
Load when a user wants architecture decision records (ADRs) drafted from requirements or a design discussion, asks which decisions need an ADR, or wants an ADR draft reviewed for one-sided trade-offs, weak alternatives or missing requirement links. Not for setting up a project's whole documentation system (project-documentation-system).
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- midudev/preguntas-entrevista-react★ 7.8ksame name
- theopenco/llmgateway★ 1.7ksame name
- vmDeshpande/ai-agent-automation★ 177same name
- PracticalSwan/agent-skills★ 22same name
- Quality-Max/free-qa-skills★ 13same name
- RodrigoTomeES/getmcp★ 13same name
- 4gentic/obelus★ 8same name
- carlosuhart/seo-audit-skills★ 6same name
- joaoguirunas/team-os★ 6same name
- hsynozdamar-byte/claude-skills-edited★ 4same name
23 more not listed
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 repository24 other files it gives its agents.
- one-step-seoSkill
- accessibility-seoSkill
- answer-engine-optimizationSkill
- content-qualitySkill
- duplicate-contentSkill
- ecommerce-seoSkill
- entity-optimizationSkill
- geo-optimizationSkill
- http-statusSkill
- image-seoSkill
- internal-linkingSkill
- international-seoSkill
- javascript-seoSkill
- llms-txtSkill
- local-seoSkill
- onpage-optimizationSkill
- schema-validationSkill
- security-hygieneSkill
- seo-auditSkill
- seo-fixSkill
- seo-regressionSkill
- sitemap-robotsSkill
- social-metadataSkill
- technical-seoSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 0 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Never treat
null/ missing metrics as0: If CrUX field data is unavailable for a low-traffic URL, report Field metrics as Unavailable … - Very specific: line 35
CLS drivers: Check O09-img-dims (P2) for <img> tags missing explicit width and height attributes.
- Very specific: line 36
LCP / payload drivers: Check P01-html-size (>300 KB HTML) and P02-img-count (>20 images).
- Very specific: line 37
INP / TBT drivers: Check T14-third-party (>5 distinct third-party <script> hosts) and recommend defer or removing non-essential trackers.
- Very specific: line 51
Always distinguish Lighthouse Lab (simulated) from CrUX Field (real-user 75th percentile) metrics and state the active strategy (mobile or …
- Very specific: line 63
Rate limits & errors: If the PSI API returns HTTP 429 or times out, P05-psi-error (P3) records the diagnostic note without crashing the …
- Very specific: line 67
Never hardcode or echo PSI_API_KEY into command arguments, commit messages, or generated reports.
- Very specific: line 68
Do not recommend adding loading="lazy" to the primary above-the-fold hero/LCP <img>, as lazy-loading the LCP element delays largest …
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
core-web-vitals — Core Web Vitals & Performance Hygiene
1. Description & Activation Criteria
Activate core-web-vitals when the user wants to:
- Measure or interpret Lighthouse Lab metrics (Performance score, LCP, CLS, FCP, TBT, Speed Index, TTFB) and Chrome UX Report (CrUX) 75th-percentile Field metrics (LCP, INP, CLS) via
--psi. - Audit offline performance and layout stability signals (
P01-html-size,P02-img-count,O09-img-dims,T14-third-party,T00-truncated).
2. Inputs & Prerequisites
- Target: Public
http(s)URL (for--psilive metrics) or local HTML file (for offline HTML/image/script hygiene checks). - Environment variable for
--psi:PSI_API_KEY: Required when passing--psi. Read exclusively fromprocess.env.PSI_API_KEY(never passed on the command line or logged in reports).--psi-strategy <mobile|desktop>: Defaults tomobile.
3. Step-by-Step Workflow
- Run performance checks:
- With
PSI_API_KEYconfigured:npx one-step-seo page <url> --psi --psi-strategy mobile --out ./seo-report - Without
PSI_API_KEY(offline/HTML hygiene):npx one-step-seo page <target> --skills core-web-vitals --out ./seo-report
- With
- Separate Lab vs CrUX Field results (
P03-psi-lab,P04-psi-field,P05-psi-error):- Inspect
report.page.psi.labandreport.page.psi.fieldinreport.json. - Never treat
null/ missing metrics as0: If CrUX field data is unavailable for a low-traffic URL, report Field metrics asUnavailable (insufficient CrUX field data), never0msor0.00. - Evaluate CrUX 75th-percentile thresholds (
lib/psi.mjs):- LCP: Good
<=2.5s, Needs Improvement2.5s–4.0s(P2), Poor>4.0s(P1). - INP: Good
<=200ms, Needs Improvement200ms–500ms(P2), Poor>500ms(P1). - CLS: Good
<=0.10, Needs Improvement0.10–0.25(P2), Poor>0.25(P1).
- LCP: Good
- Inspect
- Diagnose root causes in HTML markup (
P01,P02,O09,T14):- CLS drivers: Check
O09-img-dims(P2) for<img>tags missing explicitwidthandheightattributes. - LCP / payload drivers: Check
P01-html-size(>300 KB HTML) andP02-img-count(>20 images). Note: keep the hero/LCP image eager (fetchpriority="high", noloading="lazy") and lazy-load below-the-fold images. - INP / TBT drivers: Check
T14-third-party(>5 distinct third-party<script>hosts) and recommenddeferor removing non-essential trackers.
- CLS drivers: Check
4. Tools & CLI Commands
# Run a mobile PageSpeed Insights + SEO audit (requires PSI_API_KEY in environment)
PSI_API_KEY=your_key npx one-step-seo page https://example.com --psi --psi-strategy mobile --out ./seo-report
# Run offline performance & script hygiene checks without an API key
npx one-step-seo page https://example.com --skills core-web-vitals --out ./seo-report5. Evidence Requirements
- Always distinguish Lighthouse Lab (simulated) from CrUX Field (real-user 75th percentile) metrics and state the active strategy (
mobileordesktop). - Explicitly report
nullmetrics asUnavailable / Not measured. - Cite exact counts from
P01-html-size,P02-img-count,O09-img-dims, andT14-third-party.
6. Expected Outputs
- Core Web Vitals Table: Metric, Lab Value, CrUX Field Value (p75), Threshold Status (
Good / Needs Improvement / Poor / Unavailable). - Markup Bottleneck Plan: Specific images missing dimensions, third-party script hosts to defer, and HTML payload reductions.
7. Limitations & External Data
- External API dependency for
--psi: Live LCP/INP/CLS measurements require network access tohttps://www.googleapis.com/pagespeedonline/v5/runPagespeedandPSI_API_KEY. - Rate limits & errors: If the PSI API returns HTTP 429 or times out,
P05-psi-error(P3) records the diagnostic note without crashing the audit or penalizing the Search SEO score.
8. Safety & Approval Rules
- Never hardcode or echo
PSI_API_KEYinto command arguments, commit messages, or generated reports. - Do not recommend adding
loading="lazy"to the primary above-the-fold hero/LCP<img>, as lazy-loading the LCP element delays largest contentful paint.
9. Examples
# Check environment readiness for PSI
npx one-step-seo doctor
# Audit desktop Core Web Vitals
PSI_API_KEY=your_key npx one-step-seo page https://example.com --psi --psi-strategy desktop --out ./seo-reportDoes 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.

