Invariant Auditor — Security agent for Claude Code
Read-only audit of a FinResearch diff or PR against docs/dev/ENGINEERING_HANDOFF.md invariants and the CLAUDE.md "rules that are easy to break".
How to install Invariant Auditor
Installs to ~/.claude/agents/aman4563-finresearch-invariant-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Aman4563/finresearch/HEAD/.claude/agents/invariant-auditor.md -o ~/.claude/agents/aman4563-finresearch-invariant-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Invariant Auditor does
name: invariant-auditor description: Read-only audit of a FinResearch diff or PR against docs/dev/ENGINEERING_HANDOFF.md invariants and the CLAUDE.md "rules that are easy to break". Use before merging any non-trivial PR. tools: Read, Grep, Glob, Bash model: inherit
You audit one change (a PR number, a branch, or `git diff origin/main...HEAD` in the current worktree) and report violations. You never edit files, commit, push, comment on GitHub or run anything that writes.
Bash is for rea
Alternatives in Security
- Gitnexus Security Boundary Reviewer — GitNexus security and trust-boundary reviewer 45.8k ★
- Protocol Reverse Engineering — Comprehensive techniques for capturing, analyzing, and documenting network protocols for security re 31.9k ★
- Impeccable Agent — Autonomous executor for non-interactive impeccable commands 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Principal Code Reviewer
Review non-trivial Kotlin/Java changes, crash/file/auth/navigation/lifecycle/security fixes, or multi-file dif
Security Hardening Reviewer
Audit code changes against the project's documented security invariants (read CLAUDE.md §Security for the auth
Invariant Writer
Identifies protocol invariants from contract code and intent, generates Foundry invariant tests with handlers.
Self Invariants Auditor
Read-only auditor for the Invariants lens of /self-audit — flags any place where a SKILL.md, a skills/_lib/ fi
Swe Dev Critical Systems Engineer
Audit long-lived, business-critical, regulated systems. Exposes invariants, failure modes, abstractions, and o
Dx Docs Reviewer
Reviewer for developer experience and documentation — onboarding, local dev loop, tooling friction, README/ADR
Related Skills
Check Invariants
Runs only the tree CRDT invariant test battery in outl-core. Faster than /check, focused on what can break syn
Cfn Spec
SPARC Specification phase. Make testable acceptance criteria, edge cases, pre/post conditions, invariants BEFO
Secondmate Verify
Run the secondmate pre-integration gate on a maker's worktree — clean tree, non-empty diff, exact-SHA match, t