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 CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
teammate_idleTeammateIdle————————

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

Canonical EventClaude CodeGemini CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
config_changeConfigChange————————

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

Canonical EventClaude CodeGemini CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
after_compactPostCompact——PostCompaction—————
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 CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
elicitationElicitation————————
elicitation_resultElicitationResult————————

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

Canonical EventClaude CodeGemini CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
after_task—————Post Task Execution———
agent_stopStopAfterAgentStopStopagentStopstopStopagent_end—
before_promptUserPromptSubmitBeforeAgentUserPromptSubmitUserPromptSubmituserPromptSubmitteduserPromptSubmitUserPromptSubmitinput—
before_task—————Pre Task Execution———
error_occurredErrorOccurred———errorOccurred————
session_endSessionEndSessionEndSessionEndSessionEndsessionEnd—SessionEndsession_shutdown—
session_startSessionStartSessionStartSessionStartSessionStartsessionStartagentSpawnSessionStartsession_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 CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
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 CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
notificationNotificationNotification———————

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

Canonical EventClaude CodeGemini CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
permission_requestPermissionRequest——PermissionRequest—————

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

Canonical EventClaude CodeGemini CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
after_tool_executePostToolUseAfterToolPostToolUsePostToolUsepostToolUsepostToolUsePostToolUsetool_result—
before_tool_executePreToolUseBeforeToolPreToolUsePreToolUsepreToolUsepreToolUsePreToolUsetool_callPreToolUse
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 CLICursorDevin DesktopCopilot CLIKiroFactory DroidPiCrush
file_changedFileChanged—afterFileEdit——File Save———
file_created—————File Create———
file_deleted—————File Delete———
worktree_createWorktreeCreate————————
worktree_removeWorktreeRemove————————
ProviderHook EventsHook Types
Claude Code24command, http, prompt, agent
Gemini CLI11command
Cursor14command
Devin Desktop8command
Copilot CLI9command
Kiro10command
Factory Droid9command
Pi15command
Crush1command

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.15.0 on 2026-10-02.