ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
up to ~5.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 52/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ claude mcp add brain -- brain serve . $ npx degit xy-claude/brain-core/src/brain_core/templates/agent/.claude ./rig-brain-core # 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 brain -- brain serve . $ npx degit xy-claude/brain-core/src/brain_core/templates/agent/.claude/skills/brain-check .claude/skills/brain-check $ npx degit xy-claude/brain-core/src/brain_core/templates/agent/.claude/skills/distill .claude/skills/distill $ npx degit xy-claude/brain-core/src/brain_core/templates/agent/.claude/skills/session-end .claude/skills/session-end
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",
"hooks": [
{
"type": "command",
"command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/block-dangerous-bash.sh\""
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| brain | binary | 2.5k |
| hindsight | local / custom · remote | 2.5k |
Skills (3)
Hooks (5)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | bash "$CLAUDE_PROJECT_DIR/.claude/hooks/block-dangerous-bash.sh" |
| PostToolUseFailure | Bash | brain recall --hook --path "$CLAUDE_PROJECT_DIR" 2>/dev/null || true |
| Stop | * | brain capture --path "$CLAUDE_PROJECT_DIR" 2>/dev/null || true |
| PreCompact | * | brain capture --path "$CLAUDE_PROJECT_DIR" 2>/dev/null || true |
| SessionStart | * | brain brief --hook --path "$CLAUDE_PROJECT_DIR" 2>/dev/null || command -v brain >/dev/null || echo 'brain-core: the brain command is not on PATH in this session, so its hooks (brief, capture, recall) are not running. Tell the user. Fix: run |
Similar rigs
gapmiss/claude-sessions
An Obsidian plugin for viewing Claude Code sessions. Browse, search, analyze, and export your Claude Code sessions as interactive timelines with live watch and rich tool rendering.
Minimalist 1.7k tok · · Q3
WinterDDo/claude-skill-flywheel
A Claude Code plugin that gives Claude a memory: it remembers your corrections, turns the repeated ones into principles, and invokes the right skill each turn.
Minimalist 1.1k tok · · Q5
vantt/skillstation
A local hub that curates your agent skills and serves the right one to Claude Code, Codex and Gemini over MCP.
Pragmatist 6.6k tok · · Q8
itsjwill/claude-memory
Persistent memory for Claude Code. Auto-capture decisions, learnings, client info. Cloud backup to Supabase. Never lose context again. Free alternative to Mem.ai, Rewind AI, Personal AI.
Minimalist 91 tok · · Q0