From hunch
Before a tool call (Edit|Write|MultiEdit|NotebookEdit): runs "${CLAUDE_PLUGIN_ROOT}/scripts/guard". When a session ends: runs hunch clear 2> /dev/null || true. When a session starts: runs hunch set role agent 2> /dev/null || true.
3 events · 3 hooks
Ships in hunch. 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|MultiEdit|NotebookEdit"${CLAUDE_PLUGIN_ROOT}/scripts/guard"5shunch clear 2> /dev/null || true5shunch set role agent 2> /dev/null || true5sWhere this hook configuration is defined
Defined in hooks/hooks.json
4 plugins ship this exact hooks config · first indexed Dec 5, 2025
npx claudepluginhub roolebo/claude-hunch --plugin hunchOther plugins' hooks for the same job