ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit kaizakin/dotfiles/claude/.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 kaizakin/dotfiles/claude/.claude/skills/reverse-engineer-anything .claude/skills/reverse-engineer-anything 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": "'~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js'"
},
{
"type": "command",
"command": "'~/.nvm/versions/node/v24.19.0/bin/caveman' shrink-hook"
},
{
"type": "command",
"command": "if [ -z \"${HOME-}\" ]; then case \"${OSTYPE-}\" in msys*|cygwin*|win32*) printf '{}\\n'; if [ -z \"${ORCA_AGENT_HOOK_PORT-}\" ] || [ -z \"${ORCA_AGENT_HOOK_TOKEN-}\" ] || [ -z \"${ORCA_PANE_KEY-}\" ]; then exit 0; fi; { command -p cat 2>/dev/null || "
}
]
}
]
}
} Skills (1)
Hooks (26)
| event | matcher | runs |
|---|---|---|
| UserPromptSubmit | * | codegraph prompt-hook |
| UserPromptSubmit | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| UserPromptSubmit | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| SessionStart | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| SessionStart | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| PreToolUse | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| PreToolUse | * | '~/.nvm/versions/node/v24.19.0/bin/caveman' shrink-hook |
| PreToolUse | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| PostToolUse | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| PostToolUse | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| PostToolUseFailure | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| PostToolUseFailure | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| PreCompact | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| PostCompact | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| PostCompact | * | if [ -n "${HOME-}" ] && [ -f "${HOME-}/.orca/agent-hooks/claude-hook.sh" ] && [ -r "${HOME-}/.orca/agent-hooks/claude-hook.sh" ] && [ -x "${HOME-}/.orca/agent-hooks/claude-hook.sh" ]; then ORCA_HOOK_AGENT_PID="${PPID:-}"; export ORCA_HOOK_A |
| SubagentStart | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| SubagentStart | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| SubagentStop | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| SubagentStop | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| Stop | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| Stop | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| SessionEnd | * | '~/.caveman/bin/caveman-proxy' native-hook claude --adapter '~/.nvm/versions/node/v24.19.0/lib/node_modules/@caveman-ai/cli/dist/native-hook-fast.js' |
| SessionEnd | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| StopFailure | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| TeammateIdle | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
| PermissionRequest | * | if [ -z "${HOME-}" ]; then case "${OSTYPE-}" in msys*|cygwin*|win32*) printf '{}\n'; if [ -z "${ORCA_AGENT_HOOK_PORT-}" ] || [ -z "${ORCA_AGENT_HOOK_TOKEN-}" ] || [ -z "${ORCA_PANE_KEY-}" ]; then exit 0; fi; { command -p cat 2>/dev/null || |
Plugins (4)
rust-analyzer-lsp@claude-plugins-officialpstack@pstack-claudevibe-wise@vibe-wisegopls-lsp@claude-plugins-official
Permissions
deny (0)
—
ask (0)
—
allow (1)
mcp__codegraph__*
Similar rigs
pablodiazjorge/rea-lab
Reverse engineering with AI agents on Windows: verifying, measuring and visualising the tools agents use, with rea and Ghidra
Pragmatist 4.0k tok · · Q20
VeigaPunk/xsnapshot-pc
Reproducible, sanitized workstation specification and configuration snapshots
Minimalist 99 tok · · Q0
stefanistrate/dotfiles
Dotfiles for productivity.
Pragmatist 341 tok · · Q0
mjebalidev/dotfiles-claude
—
Orchestrator 1.8k tok · · Q0