ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit DrakTheDude/zipline/.claude ./rig-zipline # 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.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Write|Edit|MultiEdit|NotebookEdit|WebFetch|WebSearch|mcp__.*",
"hooks": [
{
"type": "command",
"command": "for p in python3 python py; do $p -c \"\" </dev/null >/dev/null 2>&1 && break; done; $p \"$CLAUDE_PROJECT_DIR/tools/hooks.py\" before-tool"
}
]
}
]
}
} Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | for p in python3 python py; do $p -c "" </dev/null >/dev/null 2>&1 && break; done; $p "$CLAUDE_PROJECT_DIR/tools/hooks.py" session-start |
| UserPromptSubmit | * | for p in python3 python py; do $p -c "" </dev/null >/dev/null 2>&1 && break; done; $p "$CLAUDE_PROJECT_DIR/tools/hooks.py" prompt |
| PostToolUse | Bash|Write|Edit|MultiEdit|NotebookEdit|WebFetch|WebSearch|mcp__.* | for p in python3 python py; do $p -c "" </dev/null >/dev/null 2>&1 && break; done; $p "$CLAUDE_PROJECT_DIR/tools/hooks.py" after-edit |
| PreToolUse | Bash|Write|Edit|MultiEdit|NotebookEdit|WebFetch|WebSearch|mcp__.* | for p in python3 python py; do $p -c "" </dev/null >/dev/null 2>&1 && break; done; $p "$CLAUDE_PROJECT_DIR/tools/hooks.py" before-tool |
Plugins (1)
small-business@knowledge-work-plugins
Similar rigs
eyaltoledano/claude-task-master
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
Automator 64.3k tok · · Q3
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok · · Q18
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok · · Q48
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok · · Q11