lighthouse
Skill4 starsChanged 9 months agoMITView on GitHub
Web performance audit with Google Lighthouse
- Installs packages
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 87
Run 3+ times and average (results vary)
- Very specific: line 88
Use --chrome-flags="--headless --no-sandbox" for servers
- Very specific: line 90
Use --preset=desktop to simulate desktop (default is mobile)
“Common” is measured: kept by at least 6 in 10 of the 3 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
Lighthouse
Audit performance, accessibility, SEO and best practices for websites.
Setup
- Check if installed:
command -v node && node --version command -v npx && npx lighthouse --version 2>/dev/null || npm list -g lighthouse 2>/dev/null - Install:
# Node.js (required for npx / lighthouse) # macOS brew install node # Ubuntu / Debian sudo apt update && sudo apt install -y nodejs npm # Lighthouse (use npx, no install needed) npx lighthouse <url> --output=json --chrome-flags="--headless --no-sandbox" # Or install globally npm install -g lighthouse
Run Audit
# Full audit (output to terminal)
npx lighthouse <url> --output=json --chrome-flags="--headless --no-sandbox" 2>/dev/null | jq '{
performance: .categories.performance.score,
accessibility: .categories.accessibility.score,
bestPractices: .categories["best-practices"].score,
seo: .categories.seo.score
}'
# Save HTML report
npx lighthouse <url> --output=html --output-path=./lighthouse-report.html --chrome-flags="--headless --no-sandbox"
# Performance only
npx lighthouse <url> --only-categories=performance --output=json --chrome-flags="--headless --no-sandbox"Categories
| Category | What it measures |
| Performance | LCP, FID, CLS, TTFB, speed index |
| Accessibility | Contrast, alt text, ARIA, keyboard navigation |
| Best Practices | HTTPS, console errors, deprecated APIs |
| SEO | Meta tags, structured data, mobile-friendly |
Interpret Scores
- 90-100: Good (green)
- 50-89: Needs Improvement (orange)
- 0-49: Poor (red)
Key Metrics (Core Web Vitals)
| Metric | Good | Needs Improvement | Poor |
| LCP (Largest Contentful Paint) | < 2.5s | 2.5s - 4s | > 4s |
| FID (First Input Delay) | < 100ms | 100ms - 300ms | > 300ms |
| CLS (Cumulative Layout Shift) | < 0.1 | 0.1 - 0.25 | > 0.25 |
Compare Results
# Run multiple times and compare
for i in 1 2 3; do
npx lighthouse <url> --output=json --chrome-flags="--headless --no-sandbox" 2>/dev/null | \
jq -r '"Run '$i': perf=\(.categories.performance.score) a11y=\(.categories.accessibility.score)"'
doneTips
- Run 3+ times and average (results vary)
- Use
--chrome-flags="--headless --no-sandbox"for servers - Scores are multiplied by 100 (0.95 = 95 points)
- Use
--preset=desktopto simulate desktop (default is mobile) - Install Chrome/Chromium on server if not available
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- freema/ai-skills★ 5same name
- n-n-code/n-n-code-skills★ 4same name
- nimajafari/lighthouse-skill★ 4same name
- manastalukdar/ai-devstudio★ 1same name
- ParkYoungWoong/skills★ 1same 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 repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- browser-automationSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dockerSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- linearSkill
- locationSkill
- media-configSkill
- meeting-notesSkill
- nginxSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- paymentsSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

