From Claude Harness
Before context compaction: runs "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" pre-compact. Before a tool call (Bash|Edit|Write): runs "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" pre-tool-use. When a session ends: runs "${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" session-end. And 5 more.
8 events · 8 hooks
Ships in Claude 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
"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" pre-compact30sBash|Edit|Write"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" pre-tool-use5s"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" session-end15s"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" session-start30s"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" teammate-idle60sgeneral-purpose|harness-implementer|claude-harness:harness-implementer"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" subagent-start5s"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" task-completed300s"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd" permission-request5sWhere this hook configuration is defined
Defined in hooks/hooks.json
harness, memory, quality-gate, session-lifecycle, autonomous-agent
panayiotism-claude-harness@cascade-ai-ml-agents-agent-framework is listed by joshuarweaver/cascade-ai-ml-agents-agent-framework — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-agent-framework --plugin panayiotism-claude-harnessOther plugins' hooks for the same job