From janitor-bash-drain
Before a tool call (Bash): runs janitor cc-hook pretooluse 2>/dev/null || true. When a session ends: runs janitor cc-hook session-end 2>/dev/null || true.
2 events · 2 hooks
Ships in janitor-bash-drain. 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
Bashjanitor cc-hook pretooluse 2>/dev/null || truejanitor cc-hook session-end 2>/dev/null || trueWhere this hook configuration is defined
Defined in hooks/hooks.json
8 plugins ship this exact hooks config · first indexed Mar 26, 2026
npx claudepluginhub alleneubank/janitor --plugin janitor-bash-drainOther plugins' hooks for the same job