ai-automation-tools

Invariant Audit — Security skill for Claude Code

Security community

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

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