From context-mode
Before a tool call (^(Bash|PowerShell|Read|Grep|WebFetch|Wri…): runs node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code. After a tool call (^(Bash|PowerShell|Read|Grep|WebFetch|Wri…): runs node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code. And 3 more.
5 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
^(Bash|PowerShell|Read|Grep|WebFetch|Write|Edit|NotebookEdit|mcp__plugin_context-mode_context-mode__ctx_.*)$node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code5s^(Bash|PowerShell|Read|Grep|WebFetch|Write|Edit|NotebookEdit|mcp__plugin_context-mode_context-mode__ctx_.*|mcp__.*)$node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code5snode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code5snode "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code5s^(Bash|PowerShell|Read|Grep|WebFetch|Write|Edit|NotebookEdit|mcp__plugin_context-mode_context-mode__ctx_.*)$node "${CLAUDE_PLUGIN_ROOT}/hook.mjs" --agent claude-code5sWhere this hook configuration is defined
Defined in hooks/claude-code.json
hooks, pre-tool-use, post-tool-use, session-start, user-prompt-submit
12 plugins ship this exact hooks config · first indexed Sep 28, 2026
npx claudepluginhub mksglu/context-mode --plugin context-modeOther plugins' hooks for the same job