{ "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/session_start.py\"" } ] } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/prompt_submit.py\"" } ] } ], "PreToolUse": [ { "matcher": "Edit|Write|Read|Glob|Grep", "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/pre_tool_use.py\"" } ] } ], "PostToolUse": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/post_tool_use.py\"" } ] } ], "PostToolUseFailure": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/post_tool_failure.py\"" } ] } ], "PreCompact": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/pre_compact.py\"" } ] } ], "SubagentStart": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/subagent_start.py\"" } ] } ], "SubagentStop": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/subagent_stop.py\"" } ] } ], "Notification": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/notification.py\"" } ] } ], "TaskCompleted": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/task_completed.py\"" } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/stop.py\"" } ] } ], "SessionEnd": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/session_end.py\"" } ] } ] } }