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 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, LLM, and agent handlers; can block tool use
Notes 4 handler types (command, http, prompt, agent) across 26 lifecycle events; async hooks run in background; 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 Root
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, sessionStart/End; SDK exposes hooks programmatically via JSON-RPC
Extension Name Hooks
Vendor Terms hooks, hook events
Scopes
User / HomeProject / Repo Root
Interfaces CLI, IDE extension
Availability experimental (explicit)
Trust Model Deterministic scripts that run on lifecycle events; PreToolUse can deny commands but enforcement is incomplete
Notes Behind feature flag; 5 hook events; PreToolUse/PostToolUse only intercept Bash tool calls; multiple hooks run concurrently