From cortex
After every Claude response: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-stop.sh. Before context compaction (auto|manual): runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-pre-compact.sh. On PostCompact: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-post-compact.sh. And 4 more.
5 events · 7 hooks
Ships in cortex. 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 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-stop.sh5sauto|manualbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-pre-compact.sh10sbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-post-compact.sh10sWrite|Edit|MultiEditbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-tool-use.sh write10sBashbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-tool-use.sh bash10sRead|Searchbash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-tool-use.sh read10sstartup|resumebash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/on-session-start.sh5sWhere this hook configuration is defined
Defined in hooks/hooks.json
2 plugins ship this exact hooks config · first indexed Apr 30, 2026
Other plugins' hooks for the same job
Generated from the plugin's indexed repository (peaky8linders/claude-cortex) — no native marketplace selected
npx claudepluginhub p/peaky8linders-cortex