Hooks Builder A comprehensive guide for creating Claude Code hooks — event-driven automation that monitors and controls Claude's actions. Quick Reference The 10 Hook Events | Event | When It Fires | Can Block? | Supports Matchers? | |-------|--------------|------------|-------------------| | PreToolUse | Before tool executes | YES | YES (tool names) | | PermissionRequest | Permission dialog shown | YES | YES (tool names) | | PostToolUse | After tool succeeds | No | YES (tool names) | | Notification | Claude sends notification | No | YES | | UserPromptSubmit | User submits prompt | YES | No |…