在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用lighthouse
星标3
分支0
更新时间2026年2月17日 15:54
Web performance audit with Google Lighthouse
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Web performance audit with Google Lighthouse
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Google Calendar — list, create, and manage events via gcal CLI
Manage HubSpot CRM — contacts, companies, deals, tickets
Manage Shopify store — products, orders, customers, inventory
Configure audio transcription and image/video understanding for channels
AWS CLI for S3, EC2, Lambda, CloudWatch, RDS, and ECS
Google Calendar — list, create, and manage events via gcal CLI
基于 SOC 职业分类
| name | lighthouse |
| description | Web performance audit with Google Lighthouse |
| metadata | {"openclaw":{"always":false,"emoji":"🏠"}} |
Audit performance, accessibility, SEO and best practices for websites.
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
# 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"
| 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 |
| 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 |
# 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)"'
done
--chrome-flags="--headless --no-sandbox" for servers--preset=desktop to simulate desktop (default is mobile)