radozaprazny/attest
A Claude Code kit: a push guard that holds a push until a leak scan and one audit have cleared HEAD.
stack: Shell
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit radozaprazny/attest/.claude ./rig-attest # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit radozaprazny/attest/.claude/skills/business .claude/skills/business $ npx degit radozaprazny/attest/.claude/skills/checkpoint .claude/skills/checkpoint $ npx degit radozaprazny/attest/.claude/skills/compliance .claude/skills/compliance $ npx degit radozaprazny/attest/.claude/skills/decision .claude/skills/decision $ npx degit radozaprazny/attest/.claude/skills/gate .claude/skills/gate
$ curl -fsSL --create-dirs -o .claude/agents/auditor.md https://raw.githubusercontent.com/radozaprazny/attest/main/.claude/agents/auditor.md Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|PowerShell",
"hooks": [
{
"type": "command",
"command": "sh \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ship_guard.sh\""
}
]
},
{
"matcher": "mcp__github__(push_files|create_or_update_file|create_pull_request|create_repository)",
"hooks": [
{
"type": "command",
"command": "sh \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ship_guard.sh\""
}
]
},
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "sh \"${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/record_guard.sh\""
}
]
}
]
}
} Skills (5)
Subagents (1)
| auditor model: inherit | >- |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | sh "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/session_declaration.sh" |
| PreToolUse | Bash|PowerShell | sh "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ship_guard.sh" |
| PreToolUse | mcp__github__(push_files|create_or_update_file|create_pull_request|create_repository) | sh "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/ship_guard.sh" |
| PreToolUse | Write|Edit | sh "${CLAUDE_PROJECT_DIR:-.}/.claude/hooks/record_guard.sh" |
Similar rigs
d10or/workspace-guardian
Preflight coordination for parallel Claude Code sessions on one repo: task-level path ownership, overlap checks before merging, evidence-based handoff. CLI + Claude Code mod.
Minimalist 711 tok · · Q20
SatymSingh01/claude-code-pack
Drop-in config pack for Claude Code: CLAUDE.md best practices, safety hooks, auto-checkpoint, session logging, and slash commands. One install script.
Minimalist 344 tok · · Q3
endario/2mw2lt
Too much work, too little time. The 2mw2lt plugin connects your Claude Code and Codex sessions to one steering partner.
Skill Collector 520 tok · · Q0
jovesun-lab/arcgram
Arcgram — an interactive diagram engine for human–AI collaboration: an AI agent draws its reasoning as an auditable node-and-edge flow and self-audits it, delivered as one standalone HTML file. (Arcgram the AI diagram tool — not Archigram.)
Minimalist 31 tok · · Q0