← Files get-fableARCHIVED FILE
hooks/hooks.json
3.11 KB · Oct 3, 2026 · 06:31 UTC
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event SessionStart --handler profile"
},
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event SessionStart --handler event"
}
]
}
],
"PreToolUse": [
{
"matcher": "Agent|Task|Workflow",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PreToolUse --handler spawn"
}
]
},
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PreToolUse --handler event"
}
]
}
],
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUse --handler failure"
}
]
},
{
"matcher": "Edit|Write|MultiEdit|NotebookEdit|apply_patch",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUse --handler mutation"
}
]
},
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUse --handler event"
}
]
}
],
"PostToolUseFailure": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUseFailure --handler failure"
}
]
},
{
"matcher": "Edit|Write|MultiEdit|NotebookEdit|apply_patch",
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUseFailure --handler mutation"
}
]
},
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event PostToolUseFailure --handler event"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event Stop --handler close"
},
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/fable_hook_dispatch.py\" --host claude --event Stop --handler event"
}
]
}
]
}
}
SHA-256: 0202b68703faffd8842eb6aeb063dc09804aeb6d9fdd7bc72a45a8e6ea9c8be1