From synapse
Before a tool call (EnterPlanMode): runs ${CLAUDE_PLUGIN_ROOT}/bin/on-pre-enter-plan.sh. Before a tool call (ExitPlanMode): runs ${CLAUDE_PLUGIN_ROOT}/bin/on-pre-exit-plan.sh. Before a tool call (Task): runs ${CLAUDE_PLUGIN_ROOT}/bin/on-pre-spawn-agent.sh. And 9 more.
9 events · 12 hooks
Ships in synapse. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
EnterPlanMode${CLAUDE_PLUGIN_ROOT}/bin/on-pre-enter-plan.shExitPlanMode${CLAUDE_PLUGIN_ROOT}/bin/on-pre-exit-plan.shTask${CLAUDE_PLUGIN_ROOT}/bin/on-pre-spawn-agent.sh${CLAUDE_PLUGIN_ROOT}/bin/on-session-end.shmcp__synapse__synapse_submit_experiment_results|synapse_submit_experiment_results${CLAUDE_PLUGIN_ROOT}/bin/on-post-submit-results.shmcp__synapse__synapse_create_experiment|synapse_create_experiment${CLAUDE_PLUGIN_ROOT}/bin/on-post-create-experiment.shstartup|resume|compact${CLAUDE_PLUGIN_ROOT}/bin/on-session-start.sh${CLAUDE_PLUGIN_ROOT}/bin/on-subagent-stop.sh${CLAUDE_PLUGIN_ROOT}/bin/on-teammate-idle.sh${CLAUDE_PLUGIN_ROOT}/bin/on-subagent-start.sh${CLAUDE_PLUGIN_ROOT}/bin/on-task-completed.sh${CLAUDE_PLUGIN_ROOT}/bin/on-user-prompt.shWhere this hook configuration is defined
Defined in hooks/hooks.json
plan-mode, session-lifecycle, subagent, task-completion, user-prompt
2 plugins ship this exact hooks config · first indexed Apr 2, 2026
npx claudepluginhub vincentwei1021/synapse --plugin synapseOther plugins' hooks for the same job