From mini-harness
Before a tool call (Agent|Task): runs "${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh. When a session ends: runs "${CLAUDE_PLUGIN_ROOT}"/hooks/consolidate.sh. When a session starts (startup|resume|clear|compact): runs "${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh. And 2 more.
5 events · 5 hooks
Ships in mini-harness. 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
Agent|Task"${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh5s"${CLAUDE_PLUGIN_ROOT}"/hooks/consolidate.sh10sstartup|resume|clear|compact"${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh5s"${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh5sBash|PowerShell"${CLAUDE_PLUGIN_ROOT}"/hooks/route.sh5sWhere this hook configuration is defined
Defined in hooks/hooks.json
task-tagging, advisory-pass, repo-memory, trajectory-learning
npx claudepluginhub hangyu8123/mini-harness --plugin mini-harnessOther plugins' hooks for the same job