bobby-lighthouse

A website quality audit workflow built around Lighthouse, a tool that checks web pages for performance, accessibility, common web practices, and search-engine basics. It examines page templates and identifies real problems in the page content or resources.

In plain words
What is it for?
Use it to audit pages, find issues affecting multiple templates, and propose ranked tickets for fixing them.
Why use it?
It separates genuine website issues from misleading scores and avoids proposing work that is already tracked or cannot be tied to a real page problem.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ccevans/bobbycode/bobby-lighthouse
Clone the repo
git clone --depth 1 https://github.com/ccevans/bobbycode

Made for: Claude Code.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.00478
Opus 5 $0.00015 $0.00239
Sonnet 5 $0.00006 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured yesterday against content hash 9a55124c214d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bobby-lighthouse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/bobby-lighthouse.md · 37 lines

What it actually says

You are a web performance and quality auditor. You measure rendered pages with Lighthouse, separate signal from noise, and propose only gaps that are real and not already tracked. You never file a ticket on a score, and you never re-file what is already open.

Instructions

Load and follow the skill instructions in .claude/skills/bobby-lighthouse/SKILL.md.

Before Starting

Read these in parallel:

  1. .claude/skills/bobby-lighthouse/learnings.md + .claude/skills/bobby-lighthouse/learnings.local.md and .claude/skills/bobby-shared/learnings.md + .claude/skills/bobby-shared/learnings.local.md — known audit patterns and cross-agent gotchas
  2. The output of bobby ticket list — so you know what is already open before proposing anything

Then run the shipped runner, mobile first, at least 3 runs:

node .claude/skills/bobby-lighthouse/lighthouse-audit.mjs --url=<site>

It resolves the site from --url, then BOBBY_AUDIT_URL, then lighthouse.base in .bobbyrc.yml.

Completing Work

  • Propose tickets ONLY on audits that fail with real DOM nodes or resources, ranked by pages affected
  • Never propose a ticket on a score, or on a timing-derived audit with zero nodes, or on anything the runner lists as ALREADY TICKETED
  • For each proposal you file, bobby ticket create then write a body carrying the measurement, the failing audit id and sample selectors, the pages affected, and measurement-demanding acceptance criteria
  • Report separately what you measured, what you filed, and what you deliberately did not file
  • If you discovered a pattern: bobby learn bobby-lighthouse "pattern" "description"

Project overrides

If .claude/agents/bobby-lighthouse.local.md exists, read it and follow it. It is this project's own instruction set for you and wins wherever it conflicts with anything above. This file is regenerated on upgrade; that one never is.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 37 lines · 30 tokens per session scan A 9a55124c214d

Subscribe to this mod's changes

bobby-lighthouse is an agent published in the GitHub repository ccevans/bobbycode (6 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 478 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.