Lighthouse Axe
Run Lighthouse and axe audits via npx.
Skill metadata
| Source | Optional — install with vibeos skills install official/web-development/lighthouse-axe |
| Path | optional-skills/web-development/lighthouse-axe |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
| Tags | lighthouse, axe, a11y, seo, performance, audit, web |
| Related skills | site-page-analyze, site-map-crawl, browser-e2e, web-site-kit |
Reference: full SKILL.md
info
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Lighthouse + axe Audit
Optional heavyweight page audit: Lighthouse (perf/SEO/a11y scores) and
axe-core CLI when installed. Not a core tool — runs via npx / local
Node. Prefer site-page-analyze for fast structure signals without Node.
When to Use
- Need numeric Lighthouse categories or axe violation lists
- CI gate after cinematic / admin scaffold
- User explicitly asks for Lighthouse / axe (not plain DOM map)
Prerequisites
- Node.js 20+ and network for first
npxdownload (or preinstalled CLIs) - Target URL reachable (local
localhostor remote) - Script:
scripts/run_page_audit.py
How to Run
python3 scripts/run_page_audit.py --url http://127.0.0.1:3000 --out ./audit
# Lighthouse-only:
python3 scripts/run_page_audit.py --url URL --lighthouse-only --out ./audit
# axe-only (requires @axe-core/cli via npx):
python3 scripts/run_page_audit.py --url URL --axe-only --out ./audit
Then skim audit/lighthouse.json / audit/axe.json and summarize issues.
Quick Reference
| Output | Meaning |
|---|---|
lighthouse.json | Categories + audits (Chrome) |
axe.json | Accessibility violations |
summary.md | Short human summary |
Procedure
- Confirm the app is up (
vibeos project servers --expect <port> --health). - Run
run_page_audit.pywith--urland--out. - If Node/
npxmissing, stop and install Node — do not fake scores. - Report failing categories / axe critical+serious counts with paths.
- Pair with
site-page-analyzefor title/H1/meta structure (lighter).
Pitfalls
- First
npxpull needs network; pin versions in CI when possible. - Auth walls: audit only public or pre-authenticated URLs.
- Do not treat Lighthouse as a substitute for real browser smoke (
browser-e2e). - Optional skill — not seeded by default;
vibeos skills install official/web-development/lighthouse-axe.
Verification
- Script exits 0 when tools run; writes at least one JSON under
--out. - Exit 2 on bad args; exit 1 when Node/
npxunavailable. - Offline unit test covers
--help/ arg validation without network.