From trekker
Before context compaction: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh. When a session starts: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh. On TaskCompleted: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/task-completed.sh.
3 events · 3 hooks
Ships in trekker. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
*bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh*bash ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.shbash ${CLAUDE_PLUGIN_ROOT}/hooks/task-completed.sh10sWhere this hook configuration is defined
Defined in hooks/hooks.json
2 plugins ship this exact hooks config · first indexed Mar 24, 2026
npx claudepluginhub obsfx/trekker --plugin trekkerOther plugins' hooks for the same job