ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
up to ~12.8k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 26/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add serena -- npx @serena-ai/mcp-server $ claude mcp add playwright -- npx -y @playwright/mcp@latest $ npx degit hikch/dotfiles/.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.
$ claude mcp add serena -- npx @serena-ai/mcp-server $ claude mcp add playwright -- npx -y @playwright/mcp@latest
$ npx degit hikch/dotfiles/.claude/skills/checkpointing .claude/skills/checkpointing $ npx degit hikch/dotfiles/.claude/skills/codex-system .claude/skills/codex-system $ npx degit hikch/dotfiles/.claude/skills/design-tracker .claude/skills/design-tracker $ npx degit hikch/dotfiles/.claude/skills/gemini-system .claude/skills/gemini-system $ npx degit hikch/dotfiles/.claude/skills/init .claude/skills/init $ npx degit hikch/dotfiles/.claude/skills/plan .claude/skills/plan $ npx degit hikch/dotfiles/.claude/skills/research-lib .claude/skills/research-lib $ npx degit hikch/dotfiles/.claude/skills/simplify .claude/skills/simplify $ npx degit hikch/dotfiles/.claude/skills/startproject .claude/skills/startproject $ npx degit hikch/dotfiles/.claude/skills/tdd .claude/skills/tdd $ npx degit hikch/dotfiles/.claude/skills/update-design .claude/skills/update-design $ npx degit hikch/dotfiles/.claude/skills/update-lib-docs .claude/skills/update-lib-docs $ npx degit hikch/dotfiles/.codex/skills/context-loader .claude/skills/context-loader
$ curl -fsSL --create-dirs -o .claude/agents/general-purpose.md https://raw.githubusercontent.com/hikch/dotfiles/main/.claude/agents/general-purpose.md 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(./**/*.key)",
"Read(./**/credentials*)",
"Read(./**/*secret*)",
"Read(~/.ssh/**)",
"Read(~/.aws/**)",
"Read(~/.config/gcloud/**)",
"Bash(rm -rf /)",
"Bash(rm -rf ~)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/check-codex-before-write.py\""
}
]
},
{
"matcher": "WebSearch|WebFetch",
"hooks": [
{
"type": "command",
"command": "python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/suggest-gemini-research.py\""
}
]
},
{
"matcher": "*",
"hooks": [
{
"type": "command",
"command": "~/.config/iterm2/cc-status"
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| @serena-ai/mcp-server · "serena" | npm | 2.5k |
| Playwright MCP · "playwright" | npm | 7.5k |
Skills (13)
checkpointingcodex-systemdesign-trackergemini-systeminitplanresearch-libsimplifystartprojecttddupdate-designupdate-lib-docscontext-loader
Subagents (1)
| general-purpose model: sonnet | General-purpose subagent for independent tasks. Use for exploration, file operations, simple implementations, and **Codex/Gemini delegation** to save main context. Can directly invoke Codex/Gemini CLI |
Hooks (17)
| event | matcher | runs |
|---|---|---|
| UserPromptSubmit | * | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/agent-router.py" |
| PreToolUse | Edit|Write | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/check-codex-before-write.py" |
| PreToolUse | WebSearch|WebFetch | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/suggest-gemini-research.py" |
| PostToolUse | Task | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/check-codex-after-plan.py" |
| PostToolUse | Bash | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/post-test-analysis.py" |
| PostToolUse | Bash | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/log-cli-tools.py" |
| PostToolUse | Edit|Write | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/lint-on-save.py" |
| PostToolUse | Edit|Write | python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/post-implementation-review.py" |
| Notification | * | ~/.config/iterm2/cc-status |
| PermissionRequest | * | ~/.config/iterm2/cc-status |
| PostToolUse | * | ~/.config/iterm2/cc-status |
| PreToolUse | * | ~/.config/iterm2/cc-status |
| SessionEnd | * | ~/.config/iterm2/cc-status |
| SessionStart | * | ~/.config/iterm2/cc-status |
| Stop | * | ~/.config/iterm2/cc-status |
| SubagentStop | * | ~/.config/iterm2/cc-status |
| UserPromptSubmit | * | ~/.config/iterm2/cc-status |
Permissions
deny (11)
Read(./.env)
Read(./.env.*)
Read(./**/*.pem)
Read(./**/*.key)
Read(./**/credentials*)
Read(./**/*secret*)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.config/gcloud/**)
Bash(rm -rf /)
Bash(rm -rf ~)
ask (0)
—
allow (76)
Read(*)
Edit(*)
Write(*)
MultiEdit(*)
Glob(*)
Grep(*)
LS(*)
Task(*)
Skill(*)
TodoRead(*)
TodoWrite(*)
Bash(cat *)
Bash(ls *)
Bash(find *)
Bash(grep *)
Bash(head *)
Bash(tail *)
Bash(wc *)
Bash(sort *)
Bash(uniq *)
Bash(diff *)
Bash(echo *)
Bash(pwd *)
Bash(cd *)
Bash(mkdir *)
Bash(touch *)
Bash(cp *)
Bash(mv *)
Bash(chmod *)
Bash(git *)
Bash(python *)
Bash(python3 *)
Bash(uv *)
Bash(ruff *)
Bash(black *)
Bash(mypy *)
Bash(pytest *)
Bash(node *)
Bash(npm *)
Bash(npm install *)
Bash(npm run dev *)
Bash(npm run build *)
Bash(npm run tsc *)
Bash(npm run test *)
Bash(npm run lint *)
Bash(npm run format *)
Bash(npm exec *)
Bash(npm ls *)
Bash(npx *)
Bash(yarn *)
Bash(pnpm *)
Bash(bun *)
Bash(curl *)
Bash(wget *)
Bash(jq *)
Bash(sed *)
Bash(awk *)
Bash(xargs *)
Bash(tree *)
Bash(which *)
Similar rigs
DeL-TaiseiOzaki/claude-code-orchestra
—
YOLO Cowboy 6.6k tok · · Q24
pg013c/pg-toolkit
My Claude Code toolkit: spec-first, test-first workflow as a plugin (skills, reviewer agent, hooks).
Skill Collector 1.5k tok · · Q3
archcore-ai/archcore
Spec-driven development and context engineering for Claude Code, Cursor, Codex, and GitHub Copilot — backed by project context in Git.
Minimalist 337 tok · · Q0
LanNguyenSi/harness
Declarative control plane for agent harnesses: one YAML for grounding, tools, memory, and hooks. Describe, validate, diff, apply.
Minimalist 39 tok · · Q0