From code
Before a tool call: runs ${CLAUDE_PLUGIN_ROOT}/hooks/pre-tool-use.sh. When a session ends: runs ${CLAUDE_PLUGIN_ROOT}/hooks/session-end-hook.sh. After a tool call: runs ${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use-hook.sh. And 4 more.
7 events · 7 hooks
Ships in code. 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}/hooks/pre-tool-use.sh${CLAUDE_PLUGIN_ROOT}/hooks/session-end-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/session-start-hook.sh${CLAUDE_PLUGIN_ROOT}/hooks/subagent-stop.sh${CLAUDE_PLUGIN_ROOT}/hooks/subagent-start-hook.shcreate-plan|execute-implementation${CLAUDE_PLUGIN_ROOT}/hooks/user-prompt-expansion-hook.shWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub closedloop-ai/claude-plugins --plugin codeOther plugins' hooks for the same job