From clause
Before a tool call (Edit|Write|NotebookEdit): runs node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" pre. After a tool call (Edit|Write|NotebookEdit): runs node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" post. After a tool call (Bash): runs node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" bash. And 3 more.
5 events · 6 hooks
Ships in clause. 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
Edit|Write|NotebookEditnode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" pre15sEdit|Write|NotebookEditnode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" post15sBashnode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" bash15snode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" session-start10snode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" prompt10sEdit|Write|NotebookEditnode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" failure10sWhere this hook configuration is defined
Defined in hooks/hooks.json
hooks, pre-tool-use, post-tool-use, session-start, user-prompt-submit
12 plugins ship this exact hooks config · first indexed Sep 28, 2026
npx claudepluginhub yashpal-0/clause --plugin clauseOther plugins' hooks for the same job