From core
Before context compaction: runs han hook dispatch PreCompact. When a session ends: runs han hook dispatch SessionEnd. On ConfigChange: runs han hook dispatch ConfigChange. When a session starts: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/ensure-han.sh". And 14 more.
11 events · 18 hooks
Ships in core. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
han hook dispatch PreCompact5shan hook dispatch SessionEnd5shan hook dispatch ConfigChange5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/ensure-han.sh"15shan coordinator ensure --background5shan plugin migrate --silent5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/register-config-dir.sh"5shan hook context10sbash "${CLAUDE_PLUGIN_ROOT}/hooks/session-references.sh"10shan hook reference hooks/instruction-priority.md --must-read-first "instruction priority hierarchy"5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-merge-prompt.sh"15shan hook dispatch TeammateIdle5shan hook dispatch TaskCompleted5shan hook dispatch WorktreeRemove5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/current-datetime.sh"5shan hook reference hooks/no-excuses.md --must-read-first "no excuses for pre-existing issues"5shan hook dispatch PermissionRequest5shan hook dispatch PostToolUseFailure5sWhere this hook configuration is defined
Defined in hooks/hooks.json
session-start, lifecycle-hooks, subagent, worktree, coordinator
Other plugins' hooks for the same job
npx claudepluginhub thebushidocollective/han --plugin core