/browser-and-app-testing-tools:lighthouse-pagespeed-stingerfrom browser-and-app-testing-tools
Runs Lighthouse and PageSpeed Insights for React/Next.js: CI setup (LHCI), audit categories, performance budgets, lab-vs-CrUX gap. Use when setting up or debugging Lighthouse CI.
Ships in browser-and-app-testing-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Opinionated playbook for running Lighthouse and PageSpeed Insights correctly: in CI, locally, and as part of a long-term performance tracking strategy. Synthesized from the Lighthouse 12.6.1 + LHCI 0.15.x canon, the web.dev lab-vs-field framework, and 2025-2026 practitioner patterns.
Read first: guides/00-runner-selection.md: the decision tree for which tool to use before you touch any config.
Load this skill when lighthouse-pagespeed-wasp-drone is invoked. Trigger phrases:
Do NOT load for:
seo-aeo-wasp-drone)react-wasp-drone or performance-optimizer)devops-wasp-drone)These are non-negotiables. They protect reproducibility, team trust, and the lab-vs-field mental model.
Always specify throttling and form-factor explicitly. A mobile simulation at 4x CPU / 1.6 Mbps and a desktop no-throttle run produce completely different scores; mixing them corrupts trend data. See guides/00-runner-selection.md.
Run at least three passes; report the median. LHCI defaults to three runs for this reason (numberOfRuns: 3). A single Lighthouse run has high variance due to non-deterministic CPU and network simulation. See guides/01-lhci-configuration.md.
Always present both lab scores and CrUX field data when PSI API data is available. Lab data reflects ideal conditions; field data (p75) reflects real users. The gap between them is often the most actionable signal. See guides/02-lab-vs-field.md.
Never set a score budget below the current production baseline without a remediation plan. Measure first (lhci autorun without assertions), document baselines, then add a 10-20% buffer. A budget that gates CI on day one with no remediation plan blocks deploys without unblocking the team. See guides/01-lhci-configuration.md.
TBT is an imperfect proxy for INP. A good TBT does not guarantee a good INP. INP measures full interaction latency (delay + processing + presentation). TBT only captures blocking tasks during load. A page can have TBT < 200ms and INP > 500ms. Always check field INP separately. See guides/02-lab-vs-field.md.
Scope custom plugins to audits that existing Lighthouse audits cannot cover. Plugins cannot access custom Gatherers; they can only read existing artifacts (ImageElements, ScriptElements, devtoolsLogs, etc.). If you need custom page data, you need a full custom config. See guides/05-custom-plugins.md.
Source:
research/external/2026-05-20-lighthouse-performance-scoring.md(source-repository research, not shipped with the plugin)
Current version: Lighthouse 12.6.1 (LHCI 0.15.x). Node 18+ required.
Four categories (not five: PWA removed in LH12, May 2024):
Performance score weights (unchanged from LH10):
| Metric | Weight |
|---|---|
| Total Blocking Time (TBT) | 30% |
| Largest Contentful Paint (LCP) | 25% |
| Cumulative Layout Shift (CLS) | 25% |
| First Contentful Paint (FCP) | 10% |
| Speed Index (SI) | 10% |
INP is NOT in the Lighthouse Performance score. INP replaced FID as a Core Web Vital (March 12, 2024), but INP is a field-only metric. TBT is its lab proxy. TTI was removed from the score in Lighthouse 10.
Score color bands: 0-49 red (Poor), 50-89 orange (Needs Improvement), 90-100 green (Good). Reaching 90+ means being in the top 8% of HTTP Archive sites for that metric.
Each guide is a self-contained instruction set. Read in order on first use; jump directly to the relevant guide for targeted tasks.
| Guide | When to read |
|---|---|
guides/00-runner-selection.md | First: before choosing any tool |
guides/01-lhci-configuration.md | Setting up lighthouserc.json/yaml, collect/assert/upload |
guides/02-lab-vs-field.md | Reconciling Lighthouse scores vs CrUX / PSI field data |
guides/03-ci-integration.md | GitHub Actions workflow, LHCI setup, score gating |
guides/04-performance-tracking.md | Treo, SpeedCurve, self-hosted LHCI server |
guides/05-custom-plugins.md | Authoring custom Lighthouse audit plugins |
guides/06-audit-category-glossary.md | Understanding individual audits and their score weights |
templates/lighthouserc-starter.yaml: Annotated production-ready LHCI configtemplates/custom-plugin-starter.js: Scaffold for a custom Lighthouse pluginexamples/happy-path-lhci-setup.md: End-to-end LHCI setup from zero to CI-gating a Next.js appexamples/lab-field-reconciliation.md: Walking through a case where Lighthouse scores 90 but CrUX INP failsreports/README.md: Report template and location convention for audit reportsCommand Brief: ai-tools/command-briefs/lighthouse-pagespeed-wasp-drone-command-brief.md
Research: research/research-summary.md (normal depth, 9 sources, May 2026)
Forged by stinger-forge as part of The Wasp Nest by Mario Aldayuz a.k.a @thenotoriousllama
README.md (opens in a new tab)examples/happy-path-lhci-setup.md (opens in a new tab)examples/lab-field-reconciliation.md (opens in a new tab)guides/00-runner-selection.md (opens in a new tab)guides/01-lhci-configuration.md (opens in a new tab)guides/02-lab-vs-field.md (opens in a new tab)guides/03-ci-integration.md (opens in a new tab)guides/04-performance-tracking.md (opens in a new tab)guides/05-custom-plugins.md (opens in a new tab)guides/06-audit-category-glossary.md (opens in a new tab)reports/README.md (opens in a new tab)research/research-summary.md (opens in a new tab)templates/custom-plugin-starter.js (opens in a new tab)templates/lighthouserc-starter.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/browser-automation-stingerPlaywright and Puppeteer automation for deterministic browser tests, debugging, downloads, screenshots, and browser lifecycle control. Use for browser automation work./chrome-chromium-stingerChrome DevTools Protocol and Chromium development for remote debugging, profiles, protocol inspection, source builds, and browser-engine diagnosis. Use for Chrome or Chromium engineering./source-command-webapp-captureCapture a live web app. Demo video and script; component library with design tokens, a Claude Design handoff zip, and a shadcn/ui map; UI inconsistency audit. By Legion Code Inc./webapp-capture-stingerCapture live web apps. Demo videos and scripts; component library with tokens, a Claude Design handoff zip, and a shadcn/ui map; visual and code audits.npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin browser-and-app-testing-toolsOther plugins' skills for the same job