29 hooks fire automatically at lifecycle events.
| Hook | Events | Description |
|---|---|---|
| autopilot-auto-continue | Stop | Keeps /autopilot working through the issue queue without manual prompts |
| check-deliverable | PostToolUse | Validates consulting deliverables |
| ensure-client-dir | SessionStart | Creates client engagement directories for consulting workflows |
| escalation-guard | PostToolUse | Prevents agents exceeding authority level |
| goal-auto-continue | Stop | Keeps /goal driving toward its objective between steps |
| intent-classifier | UserPromptSubmit | Suggests a matching skill when your message looks like one |
| kb-diagram-refresh | PostToolUse | Refreshes the knowledge-base architecture diagram when the KB changes |
| otel-telemetry | CwdChanged, InstructionsLoaded, Notification, PermissionDenied, PermissionRequest, PostCompact, PostToolUse, PostToolUseFailure, PreCompact, PreToolUse, SessionEnd, SessionStart, Stop, StopFailure, SubagentStart, SubagentStop, TaskCompleted, TaskCreated, TeammateIdle, UserPromptSubmit, WorktreeCreate, WorktreeRemove | OpenTelemetry tracing for full observability |
| post-config-change-restart-reminder | PostToolUse | Reminds to restart on config changes |
| post-deploy-health | PostToolUse | Checks deployment health endpoints after deploy |
| post-diff-test-compare | PostToolUse | Compares test results before/after changes |
| post-edit-lint | PostToolUse | Auto-lints files after edits |
| post-git-state | PostToolUse | Tracks git state changes after git operations |
| post-html-render | PostToolUse | Mirrors skill outputs into a browsable HTML project wiki |
| post-merge-cleanup | PostToolUse | Cleans up branches and worktrees after merges |
| post-server-crash-watch | PostToolUse | Detects server crashes and suggests fixes |
| post-test-summary | PostToolUse | Summarizes test results after test commands |
| pre-bash-guard | PreToolUse | Blocks destructive commands (rm -rf, drop database, force push) |
| pre-edit-guard | PreToolUse | Protects critical files from accidental modification |
| pre-pr-docs-check | UserPromptSubmit | Blocks PRs that add skills/agents/hooks without documentation |
| pre-server-port-guard | PreToolUse | Prevents port conflicts when starting dev servers |
| pre-task-context | PreToolUse | Injects relevant project context before tool execution |
| project-setup | SessionStart, UserPromptSubmit | Ensures .claude/ directories and project config exist |
| session-bootstrap | SessionStart | Gathers git state, Docker status, open PRs for the status line |
| session-end | SessionEnd | Cleans up temporary files and background processes |
| session-summary | SessionEnd | Writes session summary with key decisions |
| spec-drift-check | PostToolUse | Warns when an implementation drifts from its locked spec |
| sync-agents | SessionStart | Syncs agent definitions from the toolkit source |
| triage-router | UserPromptSubmit | Routes every message through the SPEED scoring system |
Auto-generated on 2026-07-16