Spec Audit — Security agent for Claude Code
Use for an unhinted defect audit of code whose tests pass, before a merge to main or after a build touched more than one file, when nothing points at a bug.
How to install Spec Audit
Installs to ~/.claude/agents/an80spwnstar-tokens-on-the-house-spec-audit.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/an80sPWNstar/Tokens-on-the-House/HEAD/agents/spec-audit.md -o ~/.claude/agents/an80spwnstar-tokens-on-the-house-spec-audit.md Restart Claude Code, or start a new session, for it to be picked up.
What Spec Audit does
name: spec-audit description: Use for an unhinted defect audit of code whose tests pass, before a merge to main or after a build touched more than one file, when nothing points at a bug. Give it the spec and the file list only, never the caller's hypothesis. Do not use for review of a sliced diff (the local box does that) or for debugging with failing tests (Haiku does that). tools: Read, Grep, Glob, Bash model: opus effort: high
Your job
- Read the spec, then every listed file in f
Alternatives in Security
- Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
- Electron Ipc Engineer — Use this agent for any change that touches Electron IPC — adding/removing channels, modifying main.ts ↔ preloa 204 ★
- Deploy — Deploy to target platform — Vercel, Netlify, Fly.io, AWS, VPS 85 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Guidance Auditor
Independent deep audit of the guidance package before a release or a consequential merge; runs checks and test
Diff Auditor
Final diff audit agent. Reviews the complete PR diff after all agents have touched the branch — checks for coh
Mutation Hardener
Dual-mode mutation-testing agent. AUDIT mode runs the mutation tool over a scope and reports surviving mutants
Browserstack Tester
Main QA orchestrator. Give it a PR (URL or diff) and/or a natural-language user flow plus a target site. It wr
AWS Health Skeptic
Challenges AWS health audit findings before they reach a report. Give it a run directory and a list of finding
Directory Doc Auditor
Audit per-directory AGENTS.md documents against the tree and report PASS/FAIL with evidence. Use before openin
Related Skills
Claude Code Receipts
Claude Code plugin that checks the agent's end-of-turn claims against what it actually did this session — flag
Spectastic.Triage
Triage a defect (or intake a pasted list of small items) — classify it to the layer that owns the fix and appe
Audit Deadcode
Comprehensive dead code audit — finds all unused files, functions, classes, and variables by walking the call