Skip to content llms.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_compactPreCompactPreCompressPreCompactPreCompactsession_before_compact
context_updatecontext
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_taskPost Task Execution
agent_stopStopAfterAgentStoppost_cascade_responseagentStopstopStopagent_end
before_promptUserPromptSubmitBeforeAgentUserPromptSubmitpre_user_promptuserPromptSubmitteduserPromptSubmitUserPromptSubmitinput
before_taskPre Task Execution
error_occurredErrorOccurrederrorOccurred
session_endSessionEndSessionEndSessionEndsession_endsessionEndSessionEndsession_shutdown
session_startSessionStartSessionStartSessionStartsession_startsessionStartagentSpawnSessionStartsession_start
stop_failureStopFailure
subagent_startSubagentStartSubagentStartSubagentStartbefore_agent_start
subagent_stopSubagentStopSubagentStopsubagentStopSubagentStop
task_completedTaskCompleted

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

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
after_modelAfterModelafterAgentResponse
before_modelBeforeModelbeforeAgentResponse
before_tool_selectionBeforeToolSelectionbeforeToolSelection
message_endmessage_end
message_startmessage_start
model_selectmodel_select
turn_endturn_end
turn_startturn_start

Events for agent output like notifications and status messages.

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
notificationNotificationNotification
transcript_exportpost_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_executePostToolUseAfterToolPostToolUsepostToolUsepostToolUsePostToolUsetool_result
before_tool_executePreToolUseBeforeToolPreToolUsepreToolUsepreToolUsePreToolUsetool_call
tool_use_failurePostToolUseFailurepostToolUseFailureerrorOccurred
user_bashuser_bash

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

Canonical EventClaude CodeGemini CLICursorWindsurfCopilot CLIKiroFactory DroidPi
file_changedFileChangedafterFileEditFile Save
file_createdFile Create
file_deletedFile Delete
worktree_createWorktreeCreatepost_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.10.3 on 2026-04-27.