lighthouse-audit

Runs automated Lighthouse audits to check Core Web Vitals and SEO. Use cases include checking page performance, auditing technical SEO issues, monitoring Core Web Vitals, comparing before-and-after optimizations, and bulk auditing multiple URLs.

Last repository push
GitHub Stars
150
Forks
32
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "lighthouse-audit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d0b0a48e178a0498d810cf602f761512a3e964b018805d831cdeb9e378bf2464. Verify the upstream source and version against https://github.com/guia-matthieu/clawfu-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Runs automated Lighthouse audits to check Core Web Vitals and SEO. Use cases include checking page performance, auditing technical SEO issues, monitoring Core Web Vitals, comparing before-and-after optimizations, and bulk auditing multiple URLs.

0 Downloads

Introduction source: third_party · guia-matthieu · 1.0.0 Reference

SkillPi interpretation

Tasks
Run automated Lighthouse audits for Core Web Vitals and SEO. Use when: checking page performance; auditing SEO technical issues; monitoring Core Web Vitals; comparing before/after optimization; batch auditing multiple URLs
Audience
**Performance optimization** - Measure LCP, FID, CLS before and after changes **SEO audits** - Check technical SEO issues (meta tags, structured data, etc.) **Accessibility checks** - Identify a11y issues for compliance **Client reporting** - Generate professional performance reports **Monitoring** - Track scores over time across multiple pages
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: lighthouse-audit
description: "Run automated Lighthouse audits for Core Web Vitals and SEO. Use when: checking page performance; auditing SEO technical issues; monitoring Core Web Vitals; comparing before/after optimization; batch auditing multiple URLs"
license: MIT
metadata:
  author: ClawFu
  version: 1.0.0
  mcp-server: "@clawfu/mcp-skills"

Lighthouse Audit

Automate Google Lighthouse audits to measure and track Core Web Vitals, SEO, and accessibility - the same metrics Google uses for search ranking.

When to Use This Skill

  • Performance optimization - Measure LCP, FID, CLS before and after changes
  • SEO audits - Check technical SEO issues (meta tags, structured data, etc.)
  • Accessibility checks - Identify a11y issues for compliance
  • Client reporting - Generate professional performance reports
  • Monitoring - Track scores over time across multiple pages

What Claude Does vs What You Decide

Claude Does You Decide
Structures analysis frameworks Metric definitions
Identifies patterns in data Business interpretation
Creates visualization templates Dashboard design
Suggests optimization areas Action priorities
Calculates statistical measures Decision thresholds

Dependencies

pip install click pandas jinja2
# Also requires Chrome and Lighthouse CLI
# npm install -g lighthouse
# Or use Chrome DevTools built-in Lighthouse

Commands

Single URL Audit

python scripts/main.py audit https://example.com --categories performance,seo
python scripts/main.py audit https://example.com --format html --output report.html

Batch Audit

python scripts/main.py batch urls.txt --output results/
python scripts/main.py batch urls.txt --categories performance --format csv

Compare Before/After

python scripts/main.py compare https://example.com --baseline scores.json
python scripts/main.py compare https://example.com --baseline-url https://staging.example.com

Monitor Over Time

python scripts/main.py history https://example.com --days 30
python scripts/main.py history https://example.com --plot

Examples

Example 1: Full Site Performance Audit

# Create URL list
cat > urls.txt << EOF
https://example.com/
https://example.com/pricing
https://example.com/features
https://example.com/blog
EOF

# Run batch audit
python scripts/main.py batch urls.txt --categories performance,seo,accessibility

# Output: results/audit_2024-01-15/
# ├── example.com_.json
# ├── example.com_pricing.json
# ├── example.com_features.json
# ├── example.com_blog.json
# └── summary.csv

Example 2: Before/After Comparison

# Save baseline
python scripts/main.py audit https://example.com --output baseline.json

# Make optimizations...

# Compare
python scripts/main.py compare https://example.com --baseline baseline.json

# Output:
# Core Web Vitals Comparison
# ─────────────────────────────
# Metric         Before    After    Change
# LCP            3.2s      1.8s     -44% ✓
# FID            120ms     45ms     -63% ✓
# CLS            0.25      0.08     -68% ✓
# Performance    52        89       +37 pts

Example 3: Generate Client Report

# Full audit with HTML report
python scripts/main.py audit https://client-site.com \
  --format html \
  --output client-report.html \
  --include-screenshots

# Output: Professional HTML report with:
# - Executive summary
# - Core Web Vitals scores
# - Screenshots of issues
# - Prioritized recommendations

Audit Categories

Category Checks Impact
performance LCP, FID, CLS, TTFB, Speed Index Search ranking
seo Meta tags, headings, links, mobile Search visibility
accessibility WCAG compliance, contrast, labels Compliance
best-practices HTTPS, security, modern APIs Trust
pwa Service worker, manifest, offline App-like experience

Core Web Vitals Thresholds

Metric Good Needs Improvement Poor
LCP (Largest Contentful Paint) ≤2.5s 2.5s-4.0s >4.0s
FID (First Input Delay) ≤100ms 100ms-300ms >300ms
CLS (Cumulative Layout Shift) ≤0.1 0.1-0.25 >0.25
INP (Interaction to Next Paint) ≤200ms 200ms-500ms >500ms

Output Formats

Format Use Case Content
json Automation, storage Full raw data
csv Spreadsheets, analysis Summary scores
html Client reports Visual report
md Documentation Markdown summary

Skill Boundaries

What This Skill Does Well

  • Structuring data analysis
  • Identifying patterns and trends
  • Creating visualization frameworks
  • Calculating statistical measures

What This Skill Cannot Do

  • Access your actual data
  • Replace statistical expertise
  • Make business decisions
  • Guarantee prediction accuracy

Related Skills

Skill Metadata

  • Mode: centaur
    category: seo-tools
    subcategory: performance
    dependencies: [lighthouse, click, pandas]
    difficulty: beginner
    time_saved: 3+ hours/week

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供自动化 Lighthouse 审计功能,解决网站性能优化和 SEO 审计的明确需求
  • 覆盖多种使用场景:单页面审计、批量审计、前后对比、历史监控等
  • 具有广泛的实用价值,适用于开发者和 SEO 专业人员
Trigger Precision95/100

Highlights

  • 触发描述完整且位置正确,覆盖多种使用场景变体
  • 边界清晰,不易与其他 Skill 重叠或误触发
Structure and Standards95/100

Highlights

  • 文档结构完整,包含清晰的章节划分和使用示例
  • frontmatter 信息完整,文档长度合理
  • 提供多个端到端的实际使用示例
Execution Reliability80/100

Highlights

  • 工具来源明确(Google Lighthouse CLI),依赖项清晰列出
  • 支持多种输出格式,命令参数设计合理
  • 覆盖主要使用场景和审计类别
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 37, 39
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • client-site.com
  • example.com
  • staging.example.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.