ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 18/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit arnegiacomo/dotfiles-mac/agents/.claude ./rig-dotfiles-mac # 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 arnegiacomo/dotfiles-mac/agents/.agents/skills/hunk-intent-review .claude/skills/hunk-intent-review 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": "*",
"hooks": [
{
"type": "command",
"command": "sh -c 'p=$(cat); if [ -n \"$TUIOS_SOCKET\" ] && [ -n \"$p\" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf \"{\\\"id\\\":1,\\\"verb\\\":\\\"agent-hook-event\\\",\\\"params\\\":{\\\"harness\\\":\\\"%s\\\",\\\"forwarder\\\":true,\\\"env\\\":{\" clau"
}
]
}
]
}
} Skills (1)
Hooks (15)
| event | matcher | runs |
|---|---|---|
| SessionStart | ^(startup|resume|clear|compact|fork)$ | bash '~/.claude/hooks/herdr-agent-state.sh' session |
| SessionStart | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| UserPromptSubmit | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| PreToolUse | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| PermissionRequest | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| PostToolUse | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| PostToolUseFailure | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| PermissionDenied | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| ElicitationResult | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| Notification | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| Stop | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| StopFailure | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| SessionEnd | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| SubagentStart | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
| SubagentStop | * | sh -c 'p=$(cat); if [ -n "$TUIOS_SOCKET" ] && [ -n "$p" ]; then case $p in (*PermissionRequest*) w=330;; (*) w=2;; esac; o=$({ printf "{\"id\":1,\"verb\":\"agent-hook-event\",\"params\":{\"harness\":\"%s\",\"forwarder\":true,\"env\":{" clau |
Plugins (2)
mattpocock-skills@claude-plugins-officialrust-analyzer-lsp@claude-plugins-official
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