From Captain Hook
After every Claude response: runs "${CLAUDE_PLUGIN_ROOT}/bin/hook" run Stop. Before context compaction: runs "${CLAUDE_PLUGIN_ROOT}/bin/hook" run PreCompact. Before a tool call: runs "${CLAUDE_PLUGIN_ROOT}/bin/hook" run PreToolUse. And 10 more.
13 events · 13 hooks
Ships in Captain Hook. 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
"${CLAUDE_PLUGIN_ROOT}/bin/hook" run Stop"${CLAUDE_PLUGIN_ROOT}/bin/hook" run PreCompact"${CLAUDE_PLUGIN_ROOT}/bin/hook" run PreToolUse"${CLAUDE_PLUGIN_ROOT}/bin/hook" run SessionEnd"${CLAUDE_PLUGIN_ROOT}/bin/hook" run PostToolUse"${CLAUDE_PLUGIN_ROOT}/bin/hook" run Notification"${CLAUDE_PLUGIN_ROOT}/bin/hook" run SessionStart"${CLAUDE_PLUGIN_ROOT}/bin/hook" run SubagentStop"${CLAUDE_PLUGIN_ROOT}/bin/hook" run SubagentStart"${CLAUDE_PLUGIN_ROOT}/bin/hook" run MessageDisplay10s"${CLAUDE_PLUGIN_ROOT}/bin/hook" run UserPromptSubmit"${CLAUDE_PLUGIN_ROOT}/bin/hook" run PermissionRequest"${CLAUDE_PLUGIN_ROOT}/bin/hook" run PostToolUseFailureWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub yasyf/captain-hook --plugin captain-hookOther plugins' hooks for the same job