- PreToolUse - Before tool execution (can block tools)
- PostToolUse - After tool completes successfully
- UserPromptSubmit - When user submits a prompt
- Stop - When main Claude agent finishes responding
- SubagentStop - When a subagent (Task tool) finishes
- Notification - When Claude needs permissions or during idle time
- PreCompact - Before context compression
- SessionStart - When starting/resuming sessions
Created
August 6, 2025 22:24
-
-
Save wulymammoth/8e7eb72e97bea01e7df6704fcc5dc4b9 to your computer and use it in GitHub Desktop.
Claude Code Hooks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment