From context-mode
Before context compaction: runs node ${CLAUDE_PLUGIN_ROOT}/hooks/precompact-survival.cjs. Before a tool call (Bash): runs node ${CLAUDE_PLUGIN_ROOT}/hooks/bash-output-guard.cjs. Before a tool call (Read): runs node ${CLAUDE_PLUGIN_ROOT}/hooks/log-read-guard.cjs. And 2 more.
3 events · 5 hooks
Ships in context-mode. 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
node ${CLAUDE_PLUGIN_ROOT}/hooks/precompact-survival.cjsBashnode ${CLAUDE_PLUGIN_ROOT}/hooks/bash-output-guard.cjsReadnode ${CLAUDE_PLUGIN_ROOT}/hooks/log-read-guard.cjsWebFetch|webReader|mcp__web_reader__webReadernode ${CLAUDE_PLUGIN_ROOT}/hooks/web-fetch-guard.cjsmcp__plugin_context-mode_context-mode__execute|mcp__plugin_context-mode_context-mode__batch_execute|mcp__plugin_context-mode_context-mode__fetch_and_indexnode ${CLAUDE_PLUGIN_ROOT}/hooks/posttooluse-indexer.cjsWhere this hook configuration is defined
Defined in hooks/hooks.json
2 plugins ship this exact hooks config · first indexed Aug 31, 2026
Other plugins' hooks for the same job
npx claudepluginhub kianwoon/context-mode --plugin context-mode