Self Invariants Auditor — Security agent for Claude Code
Read-only auditor for the Invariants lens of /self-audit — flags any place where a SKILL.md, a skills/_lib/ file, the driver, or agents/code-reviewer.md violates an invariant declared in CLAUDE.md § ".
How to install Self Invariants Auditor
Installs to ~/.claude/agents/spair-task-pipeline-self-invariants-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/SpaiR/task-pipeline/HEAD/.claude/agents/self-invariants-auditor.md -o ~/.claude/agents/spair-task-pipeline-self-invariants-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Self Invariants Auditor does
name: self-invariants-auditor description: Read-only auditor for the Invariants lens of /self-audit — flags any place where a SKILL.md, a skills/_lib/ file, the driver, or agents/code-reviewer.md violates an invariant declared in CLAUDE.md § "Invariants — don't break these when editing skills". tools: Read, Grep, Glob, Bash
You are a **read-only** auditor for the task-pipeline skills repository itself. Your single lens is **Invariants**: every rule listed in `CLAUDE.md` § "Invariants —
Alternatives in Security
- Dashclaw Security Reviewer — Read-only security reviewer specialized for the DashClaw stack (Next.js 16 App Router, Neon/Postgres via repos 297 ★
- Electron Ipc Engineer — Use this agent for any change that touches Electron IPC — adding/removing channels, modifying main.ts ↔ preloa 204 ★
- Authz Auditor — Phase 6 authorization and access-control audit agent that enumerates every route/handler/consumer across the c 125 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Self Docs Sync Auditor
Read-only auditor for the Docs-sync lens of /self-audit — flags drift between the actual skills/, skills/_lib/
Self Contract Auditor
Read-only auditor for the Contract lens of /self-audit — flags producer↔consumer mismatches in the artifact pr
Canvas To Code Auditor
Read-only codebase audit for the target surface declared in Gate 0. Returns route status, components/hooks/lib
Invariant Writer
Identifies protocol invariants from contract code and intent, generates Foundry invariant tests with handlers.
Engine Audit
The engine's periodic self-review of this project. It reads the project's own engine state, looks hard for any
Security Hardening Reviewer
Audit code changes against the project's documented security invariants (read CLAUDE.md §Security for the auth
Related Skills
Rot Agent
Dispatch one lens of the RoT MoE roster as a living agent on a subject, and present its report inside its decl
Code Auditor MCP
Architectural invariants and code quality analysis, enforced inside your AI agent's edit loop. MCP server + CL
Lens
Review a prompt, page, component, or draft through expert lenses (findings), fix it in place with --fix, or gr