From cli-host
After every Claude response: runs python3 "${CLAUDE_PLUGIN_ROOT}/hooks/compact_context.py" Stop --host cli. Before context compaction: runs python3 "${CLAUDE_PLUGIN_ROOT}/hooks/compact_context.py" PreCompact --host cli. And 1 more.
3 events · 3 hooks
Ships in cli-host. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
python3 "${CLAUDE_PLUGIN_ROOT}/hooks/compact_context.py" Stop --host cli10spython3 "${CLAUDE_PLUGIN_ROOT}/hooks/compact_context.py" PreCompact --host cli10scompactpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/compact_context.py" SessionStart --host cli10sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub pluneto/skills --plugin cli-host51 plugins in 48 repositories ship this exact hooks config · first indexed Jan 10, 2026
Other plugins' hooks for the same job