gaia-harness

Audit Loop Unit — Security agent for Claude Code

Security community

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

Terminal
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 Repository