ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 71/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit niclasedge/claude-code-dsgvo-hooks/.claude ./rig-claude-code-dsgvo-hooks # 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.
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"ask": [
"Bash(rm -rf /)",
"Bash(rm -rf /:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git push origin --force:*)",
"Bash(git push origin -f:*)",
"Bash(git reset --hard:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Write|Edit",
"hooks": [
{
"type": "command",
"command": "cd \"${CLAUDE_PROJECT_DIR:-.}\" && uv run .claude/hooks/pre-tool-safety.py"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "cd \"${CLAUDE_PROJECT_DIR:-.}\" && uv run .claude/hooks/dsgvo-network-guard.py"
}
]
},
{
"matcher": "Read",
"hooks": [
{
"type": "command",
"command": "cd \"${CLAUDE_PROJECT_DIR:-.}\" && uv run .claude/hooks/dsgvo-pii-file-guard.py"
}
]
}
]
}
} Hooks (8)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash|Write|Edit | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/pre-tool-safety.py |
| PreToolUse | Bash | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-network-guard.py |
| PreToolUse | Read | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-pii-file-guard.py |
| PostToolUse | Write|Edit | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/post-write-validate.py |
| PostToolUse | Bash | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-output-guard.py |
| PostToolUse | Read | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-content-guard.py |
| UserPromptSubmit | * | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-prompt-guard.py |
| SessionStart | * | cd "${CLAUDE_PROJECT_DIR:-.}" && uv run .claude/hooks/dsgvo-session-guard.py |
Permissions
deny (0)
—
ask (7)
Bash(rm -rf /)
Bash(rm -rf /:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git push origin --force:*)
Bash(git push origin -f:*)
Bash(git reset --hard:*)
allow (13)
Bash(git status:*)
Bash(git diff:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git log:*)
Bash(git pull:*)
Bash(python:*)
Bash(python3:*)
Bash(uv run:*)
Bash(uvx:*)
Bash(ls:*)
Bash(find:*)
Bash(grep:*)
Similar rigs
ruvnet/RuView
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Fort Knox 14.1k tok · · Q20
ruvnet/ruflo
🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native
Fort Knox 35.3k tok · · Q49
ai-job-search-dev/ai-job-search
The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Fort Knox 2.5k tok · · Q26
Donchitos/Claude-Code-Game-Studios
Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Fort Knox 11.6k tok · · Q57