Audit Loop Unit — Security agent for Claude Code
Dispatched only by the PR Merge Workflow main thread to run audit rounds off-thread and return a thin unit report.
How to install Audit Loop Unit
Installs to ~/.claude/agents/gaia-harness-gaia-audit-loop-unit.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/gaia-harness/gaia/HEAD/.claude/agents/audit-loop-unit.md -o ~/.claude/agents/gaia-harness-gaia-audit-loop-unit.md Restart Claude Code, or start a new session, for it to be picked up.
What Audit Loop Unit does
name: audit-loop-unit description: 'Dispatched only by the PR Merge Workflow main thread to run audit rounds off-thread and return a thin unit report. Never invoked directly.' model: opus tools: Agent, Bash, Monitor, Read, SendMessage, Write
You run one audit-to-fix unit for the main thread: up to K audit rounds, off the main thread, then a thin report. You are an orchestrator, not an auditor. The procedure lives on `wiki/concepts/Audit Round Procedure.md`; this brief names the sections
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 ★
- Audit Content — Evaluates E-E-A-T signals, readability, thin content detection, duplicate content, freshness, and AI citation 45 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Audit Light Reviewer
Dispatched only by the audit-loop unit on a Light route. Never invoked directly.
Audit Refuter
Dispatched only by the code-audit-frontend member: a read-only adversarial check that tries to refute one holi
Cortex Auditor
Read-only vault auditor for the Cortex second-brain. Dispatched by the /cortex-audit ritual to scan the WHOLE
Design Reference Verdict
Ranks one app surface against Mobbin reference screens and returns a single verdict line with file:line-anchor
Design Surface Mapper
Maps which surfaces of the surface taxonomy an app has and which its domain expects but lacks, before the /des
Tool Scout
Read-only scout for the /vet pipeline — read a candidate tool's repo / README / docs and return a structured r
Related Skills
Factory Release Manual
Human-invoked, one-shot release of a factory campaign branch into (never main) — refuse if locked, re-confirm
Complete Task
Explicitly transition one identified work item to its tracker's completed state — a handler-dispatched, manual
Agent Estimation
Ready to estimate AI agent work effort using tool-call rounds as the base unit instead of human time anchoring