{ "hooks": { "SessionStart": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/session_start.py\"", "statusMessage": "agentmemory: loading session context" } ] } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/prompt_submit.py\"", "statusMessage": "agentmemory: recalling relevant memories" } ] } ], "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\"" } ] } ], "PreCompact": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/pre_compact.py\"" } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/stop.py\"" } ] } ] } }