PageSpeed Insights · Claude Code

Turn Lighthouse audits into a fix plan.

Analyze any URL with Google PageSpeed Insights, then download a CLAUDE.md tailored to the failing audits. Drop it into your repo and let Claude Code do the work.

What you get

A repo-ready brief that turns abstract Lighthouse output into work Claude Code can act on.

Real fix suggestions

Each failing audit comes with a concrete, prescriptive action across Performance, Accessibility, Best Practices and SEO.

Top offenders, ranked

The exact URLs, selectors, and HTML snippets responsible, with potential savings in ms or KB.

One-click handoff

Open Claude Code with the full plan pre-loaded, or copy / download the CLAUDE.md.

How it works

From URL to merged PR in four steps.

  1. Paste a URL. Pick mobile or desktop strategy.
  2. We call PageSpeed Insights v5. Lighthouse runs in the cloud, takes 10–30 seconds.
  3. Review failing audits. Every audit below 0.9 gets a fix suggestion and offender list.
  4. Hand off to Claude Code. Open it with the prompt loaded, or drop CLAUDE.md into your repo.

FAQ

Common questions about CLAUDE.md and the workflow.

What is CLAUDE.md and why does Claude Code need it?

CLAUDE.md is a plain markdown file Claude Code reads when you point it at a repository. It captures project context, goals, and constraints so the agent behaves consistently across sessions. This tool generates one scoped to your failing Lighthouse audits.

Does the “Ask Claude to fix problems” button require the desktop app?

Yes. It uses the claude://code/new deep link, which is registered by the Claude Code installation. Without it, use Download or Copy CLAUDE.md instead.

What audits are included?

Every Lighthouse audit across Performance, Accessibility, Best Practices, and SEO that scores below 0.9. Top offenders are surfaced where Lighthouse provides them (URLs, selectors, snippets, savings).

How accurate are the “Top offenders” lists?

They come straight from Lighthouse's own audit results. We surface the first few items per audit so the brief stays actionable rather than exhaustive.