From treeship
Before a tool call: runs ${CLAUDE_PLUGIN_ROOT}/scripts/pre-tool-use.sh. When a session ends: runs ${CLAUDE_PLUGIN_ROOT}/scripts/session-end.sh. After a tool call: runs ${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.sh. And 3 more.
6 events · 6 hooks
Ships in treeship. 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}/scripts/pre-tool-use.sh${CLAUDE_PLUGIN_ROOT}/scripts/session-end.sh${CLAUDE_PLUGIN_ROOT}/scripts/post-tool-use.sh${CLAUDE_PLUGIN_ROOT}/scripts/session-start.sh${CLAUDE_PLUGIN_ROOT}/scripts/subagent-stop.sh${CLAUDE_PLUGIN_ROOT}/scripts/subagent-start.shWhere this hook configuration is defined
Defined in hooks/hooks.json
lifecycle-hooks, session-events, tool-events, subagent-events
2 plugins ship this exact hooks config · first indexed Oct 25, 2026
npx claudepluginhub zerkerlabs/treeship --plugin treeshipOther plugins' hooks for the same job