From token-optimizer
After every Claude response: runs node "${CLAUDE_PLUGIN_ROOT}/hooks/verification_guard.js". Before context compaction: runs node "${CLAUDE_PLUGIN_ROOT}/hooks/precompact.js". Before a tool call (Read): runs node "${CLAUDE_PLUGIN_ROOT}/hooks/read_guard.js". And 12 more.
7 events · 15 hooks
Ships in token-optimizer. 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/verification_guard.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/precompact.js"Readnode "${CLAUDE_PLUGIN_ROOT}/hooks/read_guard.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/postcompact.js"Readnode "${CLAUDE_PLUGIN_ROOT}/hooks/file_read_compress.js"Bashnode "${CLAUDE_PLUGIN_ROOT}/hooks/bash_compress.js"Bashnode "${CLAUDE_PLUGIN_ROOT}/hooks/error_loop_guard.js"Grepnode "${CLAUDE_PLUGIN_ROOT}/hooks/search_compress.js"Globnode "${CLAUDE_PLUGIN_ROOT}/hooks/search_compress.js"Writenode "${CLAUDE_PLUGIN_ROOT}/hooks/write_tracker.js"Editnode "${CLAUDE_PLUGIN_ROOT}/hooks/write_tracker.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/instructions_loaded.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/onboarding_guard.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/secret_detector.js"node "${CLAUDE_PLUGIN_ROOT}/hooks/prompt_preprocess.js"Where this hook configuration is defined
Defined in hooks/hooks.json
6 plugins ship this exact hooks config · first indexed Apr 1, 2026
npx claudepluginhub satyamamarpandey/claudetokensap --plugin token-optimizerOther plugins' hooks for the same job