Skip to contentllms.txt

Hook Event Matrix

Syllago maps each provider’s native hook event names to canonical events — a shared vocabulary that makes hooks portable across tools. This page shows which events each provider supports and what they call them.

  • Canonical name: The syllago-standard event name used in .syllago.yaml
  • Provider columns: The native event name each provider uses, or — if unsupported
  • Category: Groups related events (lifecycle, tool, context, etc.)

Multi-agent coordination events. Fires when teammate agents become idle or available.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
teammate_idleTeammateIdle———————

Configuration file change detection. Fires when settings files are modified during a session.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
config_changeConfigChange———————

Events related to context management — compaction, instruction loading, and context window maintenance.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
after_compactPostCompact———————
before_compactPreCompactPreCompressPreCompact———PreCompactsession_before_compact
context_update———————context
instructions_loadedInstructionsLoaded———————

User-facing prompts and dialogs. Fires when the agent asks questions or presents choices.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
elicitationElicitation———————
elicitation_resultElicitationResult———————

Session and agent lifecycle boundaries — start, stop, errors, subagents, and task completion.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
after_task—————Post Task Execution——
agent_stopStopAfterAgentStoppost_cascade_responseagentStopstopStopagent_end
before_promptUserPromptSubmitBeforeAgentUserPromptSubmitpre_user_promptuserPromptSubmitteduserPromptSubmitUserPromptSubmitinput
before_task—————Pre Task Execution——
error_occurredErrorOccurred———errorOccurred———
session_endSessionEndSessionEndSessionEndsession_endsessionEnd—SessionEndsession_shutdown
session_startSessionStartSessionStartSessionStartsession_startsessionStartagentSpawnSessionStartsession_start
stop_failureStopFailure———————
subagent_startSubagentStart—SubagentStart———SubagentStartbefore_agent_start
subagent_stopSubagentStop—SubagentStop—subagentStop—SubagentStop—
task_completedTaskCompleted———————

Model invocation boundaries. Fires before/after LLM calls and tool selection decisions.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
after_model—AfterModelafterAgentResponse—————
before_model—BeforeModelbeforeAgentResponse—————
before_tool_selection—BeforeToolSelectionbeforeToolSelection—————
message_end———————message_end
message_start———————message_start
model_select———————model_select
turn_end———————turn_end
turn_start———————turn_start

Events for agent output like notifications and status messages.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
notificationNotificationNotification——————
transcript_export———post_cascade_response_with_transcript————

Permission and authorization checkpoints. Fires when the agent requests elevated permissions.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
permission_requestPermissionRequest———————

Fired before and after tool/function calls. Use these to validate, log, or transform tool inputs and outputs.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
after_tool_executePostToolUseAfterToolPostToolUse—postToolUsepostToolUsePostToolUsetool_result
before_tool_executePreToolUseBeforeToolPreToolUse—preToolUsepreToolUsePreToolUsetool_call
tool_use_failurePostToolUseFailure—postToolUseFailure—errorOccurred———
user_bash———————user_bash

Git worktree creation and removal. Fires when the agent manages isolated working copies.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
file_changedFileChanged—afterFileEdit——File Save——
file_created—————File Create——
file_deleted—————File Delete——
worktree_createWorktreeCreate——post_setup_worktree————
worktree_removeWorktreeRemove———————
ProviderHook EventsHook Types
Claude Code24command, http, prompt, agent
Gemini CLI11command
Cursor14command
Windsurf6command
Copilot CLI9command
Kiro10command
Factory Droid9command
Pi15command

Hooks supported, event mappings pending: Codex, Cline, Amp. These providers support hooks, but syllago does not yet map their event names. Hook conversion is best-effort.

Generated from syllago 0.14.0 on 2026-07-09.