Hooks
Deterministic automation that runs on lifecycle events outside the LLM loop
Extension Name Hooks
Vendor Terms hooks, agent hooks
Scopes
Project / Repo RootUser / Home
Interfaces IDE, CLI
Availability current (explicit)
Trust Model Deterministic scripts that run on lifecycle events; exit code semantics differ between IDE and CLI
Notes IDE: 10 trigger types with Ask Kiro and Run Command actions; CLI: 5 types (agentSpawn, userPromptSubmit, preToolUse, postToolUse, stop) with JSON stdin, tool matching aliases/wildcards, and caching; natural language hook creation in IDE
Extension Name Hooks
Vendor Terms hooks, agent hooks, async hooks
Scopes
User / HomeProject / Repo RootOrganization / Enterprise
Interfaces terminal CLI, VS Code, Desktop
Availability current (explicit)
Trust Model Deterministic scripts that run on lifecycle events; supports shell, HTTP, MCP tool, LLM, and agent handlers; can block tool use
Notes 5 handler types (command, http, mcp_tool, prompt, agent) across 29 lifecycle events; async hooks with asyncRewake for background execution; PreToolUse hooks enforce policy even in bypass mode; if field enables granular tool+argument filtering
Extension Name Hooks
Vendor Terms hooks, lifecycle interceptors
Scopes
Project / Repo RootUser / Home
Interfaces GitHub.com, VS Code, CLI, Copilot SDK
Availability current (explicit)
Trust Model Deterministic scripts that run synchronously on lifecycle events; can block tool use
Notes 8 hook types including preToolUse (can deny), postToolUse, agentStop, subagentStop, errorOccurred; SDK exposes hooks programmatically via native language callbacks
Extension Name Hooks
Vendor Terms hooks, hook events, managed hooks
Scopes
User / HomeProject / Repo Root
Interfaces CLI, IDE extension
Availability current (explicit)
Trust Model Deterministic scripts that run on lifecycle events; non-managed hooks require hash-based trust review; enterprise managed hooks via requirements.toml
Notes 10 lifecycle events including PermissionRequest, SubagentStart/Stop, PreCompact/PostCompact; PreToolUse can deny or rewrite tool calls; managed hooks via requirements.toml; plugin-bundled hooks supported