Invariant Audit — Security skill for Claude Code
Review the current diff against ASCC's invariants, ADRs and threat model with the security-reviewer agent.
How to install Invariant Audit
Installs to ~/.claude/commands/ai-automation-tools-ai-security-command-center-invariant-audit.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ai-automation-tools/ai-security-command-center/HEAD/.claude/commands/invariant-audit.md -o ~/.claude/commands/ai-automation-tools-ai-security-command-center-invariant-audit.md Restart Claude Code, or start a new session, for it to be picked up.
What Invariant Audit does
description: Review the current diff against ASCC's invariants, ADRs and threat model with the security-reviewer agent argument-hint: "[path, package or git range; default: the diff against main]"
Launch the `security-reviewer` agent on: `$ARGUMENTS`, or the diff against `main` plus uncommitted changes when empty.
Give it the target and nothing else: no summary of what the change is meant to do and no view on whether it is safe. It reads `AGENTS.md` and the diff itself.
When it return
Alternatives in Security
- Security Threat Model — Generate repo-specific threat models identifying trust boundaries 14.6k ★
- Mcp-scan (Invariant Labs) — MCP security scanner with proxy mode for real-time scanning without infrastructure changes 1.9k ★
- Secfoo — AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code 356 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Audit Invariants
Invokes the hetzner-mcp-invariants-auditor over the current diff. Outputs an invariant compliance table.
Threat Model Skill
Claude Code skill: write the project's security constitution (assets, roles, trust boundaries, invariants, ent
Vf Review
Parallel Salesforce code review of the diff against a base ref - dispatch the quality gate and security review
Craft Review
PR review skill - invokes pr-reviewer-expert agent against branch diff, story commits, or full project audit.
AWS Security Agent Claude
AWS Security Agent for Claude Code, adapted from the Kiro power. Code scan, diff scan, threat model, pentest a
Sota Deep Audit
The heavy audit — a hostile review of a whole repository by someone who will inherit it: the threat model reco
Related Agents
Invariant Guard
Read-only audit of a diff (a commit range, a branch against its base, or a list of files) for the invariants t
Invariant Auditor
Read-only audit of a FinResearch diff or PR against docs/dev/ENGINEERING_HANDOFF.md invariants and the CLAUDE.
Appsec Threat Delta
Use proactively to compare a previous threat model or security report against the current repository state. Cl