Stats
Actions
Tags
From context-mode
Runs Node.js hooks on PreToolUse to block or modify Bash, Read, Write, and MCP tool calls. Also fires on session start, user prompt, and compact events. Executes bash and writes files.
5 events · 12 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
node "${CLAUDE_PLUGIN_ROOT}/hooks/precompact.mjs"Bashnode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"WebFetchnode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"Readnode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"Grepnode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"Agentnode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"mcp__plugin_context-mode_context-mode__ctx_executenode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"mcp__plugin_context-mode_context-mode__ctx_execute_filenode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"mcp__plugin_context-mode_context-mode__ctx_batch_executenode "${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.mjs"Bash|Read|Write|Edit|NotebookEdit|Glob|Grep|TodoWrite|TaskCreate|TaskUpdate|EnterPlanMode|ExitPlanMode|Skill|Agent|AskUserQuestion|EnterWorktree|mcp__node "${CLAUDE_PLUGIN_ROOT}/hooks/posttooluse.mjs"node "${CLAUDE_PLUGIN_ROOT}/hooks/sessionstart.mjs"node "${CLAUDE_PLUGIN_ROOT}/hooks/userpromptsubmit.mjs"19plugins reuse this hooks config
First indexed Mar 28, 2026
Showing the 6 earliest of 19 plugins
npx claudepluginhub clementtrebuchet/context-mode