Agent Hooks

Standard Coding Agent Hooks

Definition

Integration points in coding agents that allow external tools to be notified of and react to specific agent lifecycle events, such as plan creation, code generation, or mode transitions. Hooks enable tools like PlanBridge to intercept agent workflows without modifying core agent code.

Examples in the Wild

  • Example 1:Claude Code plugin hook on ExitPlanMode
  • Example 2:Codex Stop hook entry
  • Example 3:PlanBridge skill invocation