# agentmemory hooks reference Generated from `plugin/hooks/hooks.json`. Do not edit the block below by hand; run `npm run skills:gen` after changing the hook registration. The Claude Code plugin registers hooks on 12 lifecycle events to capture observations automatically: - `Notification` - `PostToolUse` - `PostToolUseFailure` - `PreCompact` - `PreToolUse` - `SessionEnd` - `SessionStart` - `Stop` - `SubagentStart` - `SubagentStop` - `TaskCompleted` - `UserPromptSubmit`