ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 30/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit NedcloarBR/dotfiles/Tools/.claude ./rig-dotfiles # 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 NedcloarBR/dotfiles/Tools/.claude/skills/commit .claude/skills/commit $ npx degit NedcloarBR/dotfiles/Tools/.claude/skills/handoff .claude/skills/handoff
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(**/.env)",
"Read(**/.env.*)",
"Read(**/*.pem)",
"Read(**/id_rsa*)",
"Read(**/id_ed25519*)",
"Read(~/.ssh/**)",
"Read(~/.aws/**)",
"Read(~/.gnupg/**)",
"Read(~/.claude/.credentials.json)"
],
"ask": [
"Bash(git push *)",
"Bash(git reset --hard*)",
"Bash(git clean *)",
"Bash(git branch -D *)",
"Bash(git checkout -- *)",
"Bash(git restore *)",
"Bash(find * -delete*)",
"Bash(find * -exec *)",
"Bash(rtk git push *)",
"Bash(rtk git reset --hard*)",
"Bash(rtk git clean *)",
"Bash(rtk git branch -D *)",
"Bash(rtk git checkout -- *)",
"Bash(rtk git restore *)",
"Bash(rtk find * -delete*)",
"Bash(rtk find * -exec *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/pre-bash-guard.sh\""
},
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/rtk-hook.sh\""
}
]
}
]
}
} Skills (2)
Hooks (11)
| event | matcher | runs |
|---|---|---|
| SessionStart | startup|resume|clear|compact | bash "$HOME/.claude/hooks/session-start-handoff.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/pre-bash-guard.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/rtk-hook.sh" |
| PostToolUse | Edit|Write|MultiEdit|NotebookEdit | bash "$HOME/.claude/hooks/post-edit-format.sh" |
| PostToolUse | Bash | bash "$HOME/.claude/hooks/notify.sh" 'pnpm install done' |
| PostToolUse | Bash | bash "$HOME/.claude/hooks/notify.sh" 'yarn install done' |
| PostToolUse | Bash | bash "$HOME/.claude/hooks/notify.sh" 'npm install done' |
| PostToolUse | Bash | bash "$HOME/.claude/hooks/notify.sh" 'npm install done' |
| PostToolUse | Bash | bash "$HOME/.claude/hooks/notify.sh" 'bun install done' |
| Notification | permission_prompt|idle_prompt | bash "$HOME/.claude/hooks/notify.sh" 'Claude is waiting for you' |
| Stop | * | bash "$HOME/.claude/hooks/notify.sh" 'Response finished' |
Plugins (2)
typescript-lsp@claude-plugins-officialfrontend-design@claude-plugins-official
Permissions
deny (9)
Read(**/.env)
Read(**/.env.*)
Read(**/*.pem)
Read(**/id_rsa*)
Read(**/id_ed25519*)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.gnupg/**)
Read(~/.claude/.credentials.json)
ask (16)
Bash(git push *)
Bash(git reset --hard*)
Bash(git clean *)
Bash(git branch -D *)
Bash(git checkout -- *)
Bash(git restore *)
Bash(find * -delete*)
Bash(find * -exec *)
Bash(rtk git push *)
Bash(rtk git reset --hard*)
Bash(rtk git clean *)
Bash(rtk git branch -D *)
Bash(rtk git checkout -- *)
Bash(rtk git restore *)
Bash(rtk find * -delete*)
Bash(rtk find * -exec *)
allow (62)
Bash(git *)
Bash(ls *)
Bash(find *)
Bash(grep *)
Bash(rg *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(wc *)
Bash(diff *)
Bash(tree *)
Bash(which *)
Bash(jq *)
Bash(pnpm *)
Bash(yarn *)
Bash(npm *)
Bash(bun *)
Bash(go *)
Bash(cargo *)
Bash(docker ps *)
Bash(docker logs *)
Bash(docker compose ps *)
Bash(docker compose logs *)
Bash(gh pr view *)
Bash(gh pr list *)
Bash(gh pr diff *)
Bash(gh pr checks *)
Bash(gh issue view *)
Bash(gh issue list *)
Bash(gh run view *)
Bash(gh run list *)
Bash(rtk git *)
Bash(rtk ls *)
Bash(rtk find *)
Bash(rtk grep *)
Bash(rtk rg *)
Bash(rtk cat *)
Bash(rtk head *)
Bash(rtk tail *)
Bash(rtk wc *)
Bash(rtk diff *)
Bash(rtk tree *)
Bash(rtk which *)
Bash(rtk jq *)
Bash(rtk pnpm *)
Bash(rtk yarn *)
Bash(rtk npm *)
Bash(rtk bun *)
Bash(rtk go *)
Bash(rtk cargo *)
Bash(rtk docker ps *)
Bash(rtk docker logs *)
Bash(rtk docker compose ps *)
Bash(rtk docker compose logs *)
Bash(rtk gh pr view *)
Bash(rtk gh pr list *)
Bash(rtk gh pr diff *)
Bash(rtk gh pr checks *)
Bash(rtk gh issue view *)
Bash(rtk gh issue list *)
Similar rigs
alex35mil/dotfiles
My dotfiles
Minimalist 1.2k tok · · Q0
simnalamburt/.dotfiles
:memo: My UNIX-like system configuration files
Minimalist 21 tok · · Q15
Xsxdot/handoff
把实现计划派发给另一个 AI 执行,你只负责审——纯 CLI 的协调者/executor 两角色协作工具(opencode / Claude Code / grok / codex,支持远程开发机)
Minimalist 2.4k tok · · Q18
KURANADO2/dotfiles
—
Minimalist 994 tok · · Q0