From collavre
Before a tool call (^mcp__(plugin_collavre_)?collavre__(repl…): runs node ${CLAUDE_PLUGIN_ROOT}/dist/pretooluse-hook.js. On StopFailure (rate_limit): runs node ${CLAUDE_PLUGIN_ROOT}/dist/stop-failure-hook.js. And 1 more.
3 events · 3 hooks
Ships in collavre. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
^mcp__(plugin_collavre_)?collavre__(reply|approval_request)$node ${CLAUDE_PLUGIN_ROOT}/dist/pretooluse-hook.jsrate_limitnode ${CLAUDE_PLUGIN_ROOT}/dist/stop-failure-hook.js10scd ${CLAUDE_PLUGIN_ROOT} && { { [ -d node_modules ] && [ ! package-lock.json -nt node_modules/.package-lock.json ]; } || npm install --ignore-scripts; } && { { [ -f dist/index.js ] && [ -z "$(find package.json package-lock.json tsconfig.json src -newer dist/index.js -print -quit 2>/dev/null)" ]; } || npm run build; }Where this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub sh1nj1/plan42 --plugin collavreOther plugins' hooks for the same job