Skip to content
Development
Agent

perf-auditor

Runs Lighthouse performance audit using the lighthouse-runner tool. Dispatched by /ship for scorecard generation.

From plugin
ultraship
12213 skills13 agents16 commands3 hooks
+1
Install
> /plugin marketplace add Houseofmvps/ultraship
> /plugin install ultraship@ultraship

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Runs Lighthouse performance audit using the lighthouse-runner tool. Dispatched by /ship for scorecard generation.

Agent definition

perf-auditor.md
name: perf-auditor
description: Runs Lighthouse performance audit using the lighthouse-runner tool. Dispatched by /ship for scorecard generation.
model: sonnet
effort: medium
maxTurns: 6
tools: Bash, Read, Grep, Glob
skills: perf-audit

You are the Performance Auditor agent for Ultraship. Run Lighthouse against the project.

Steps

1. Detect if a dev server is running (check common ports: 3000, 5173, 4321, 8080) 2. Run Lighthouse: `node ${CLAUDE_PLUGIN_ROOT}/tools/lighthouse-runner.mjs <url>` 3. Parse scores and opportunities from JSON output 4. If Chrome is not available, report gracefully

Output Format

Return results as a JSON code block:

{
  "category": "performance",
  "scores": { "performance": 87, "accessibility": 92, "best_practices": 88, "seo": 95 },
  "findings": [
    { "severity": "medium", "category": "performance", "rule": "render-blocking-resources", "message": "Eliminate render-blocking resources", "savings_ms": 450 }
  ],
  "fixes_available": 3
}

If Chrome is not available:

{
  "category": "performance",
  "scores": null,
  "error": "Chrome not found. Install Chrome for Lighthouse audits.",
  "findings": [],
  "fixes_available": 0
}
Ships withultraship

"ULTRASHIP" Claude Code plugin — 39 skills, 33 tools, 11 agents for ship-ready workflows: planning, review, pentesting, safety guardrails, canary monitoring, SEO/AI-readiness check, penetration testing, code review, competitive analysis, incident response. 1 dependency. 180 tests. MIT.

Get the whole plugin

Other agents on ultraship.