Hooks
Hook scripts on disk: 68 .cjs files in .claude/hooks/
SessionStart
Section titled “SessionStart”| Matcher | Script |
|---|---|
| — | check-cli-updates |
| — | check-kit-update-failures |
| — | check-kit-updates |
| — | check-mcp-health |
| — | decision-tools-preload |
| — | generate-baseline-context |
| — | project-detector |
| — | session-state |
UserPromptSubmit
Section titled “UserPromptSubmit”| Matcher | Script |
|---|---|
| — | check-ambiguous-fork-invocation |
| — | check-module-keywords |
| — | contribution-flush-nudge |
| — | image-routing-human-mcp |
| — | lesson-queue-processor |
| — | prompt-telemetry |
PreToolUse
Section titled “PreToolUse”| Matcher | Script |
|---|---|
Write | descriptive-name |
Agent | generic-agent-detector |
| `Edit | MultiEdit` |
Write | plan-write-guard |
| `Read | Glob |
Bash | require-current-cli |
Skill | require-current-cli |
| `Read | Glob |
Bash | secret-guard |
Bash | skill-commit-gate |
Agent | task-description-model-badge |
Task | task-description-model-badge |
TeamCreate | team-create-preflight-gate |
| `Bash | mcp__UnityMCP__execute_menu_item` |
Bash | workflow-artifact-gate |
PostToolUse
Section titled “PostToolUse”| Matcher | Script |
|---|---|
Bash | contribution-capture |
| `Edit | Write |
Bash | post-kit-update-commit |
TaskUpdate | task-completed-handler |
ToolSearch | team-create-preflight-tracker |
Bash | telemetry-error-collector |
| — | telemetry-kit-error-collector |
Skill | telemetry-skill-tracker |
| — | telemetry-tool-tracker |
SubagentStop
Section titled “SubagentStop”| Matcher | Script |
|---|---|
| — | lesson-collector |
| — | workflow-failure-detector |
| Matcher | Script |
|---|---|
| — | lesson-collector |
| — | notify-desktop |
| — | notify-discord |
| — | prompt-telemetry-flush |
| — | session-state |
| — | sync-back-rollup |
| — | telemetry-stop-reminder |
Raw hooks summary (ground truth)
{ "events": [ { "event": "SessionStart", "rows": [ { "matcher": "", "script": "check-cli-updates" }, { "matcher": "", "script": "check-kit-update-failures" }, { "matcher": "", "script": "check-kit-updates" }, { "matcher": "", "script": "check-mcp-health" }, { "matcher": "", "script": "decision-tools-preload" }, { "matcher": "", "script": "generate-baseline-context" }, { "matcher": "", "script": "project-detector" }, { "matcher": "", "script": "session-state" } ] }, { "event": "UserPromptSubmit", "rows": [ { "matcher": "", "script": "check-ambiguous-fork-invocation" }, { "matcher": "", "script": "check-module-keywords" }, { "matcher": "", "script": "contribution-flush-nudge" }, { "matcher": "", "script": "image-routing-human-mcp" }, { "matcher": "", "script": "lesson-queue-processor" }, { "matcher": "", "script": "prompt-telemetry" } ] }, { "event": "PreToolUse", "rows": [ { "matcher": "Write", "script": "descriptive-name" }, { "matcher": "Agent", "script": "generic-agent-detector" }, { "matcher": "Edit|MultiEdit", "script": "plan-write-guard" }, { "matcher": "Write", "script": "plan-write-guard" }, { "matcher": "Read|Glob|Grep", "script": "privacy-guard" }, { "matcher": "Bash", "script": "require-current-cli" }, { "matcher": "Skill", "script": "require-current-cli" }, { "matcher": "Read|Glob|Grep", "script": "scout-block" }, { "matcher": "Bash", "script": "secret-guard" }, { "matcher": "Bash", "script": "skill-commit-gate" }, { "matcher": "Agent", "script": "task-description-model-badge" }, { "matcher": "Task", "script": "task-description-model-badge" }, { "matcher": "TeamCreate", "script": "team-create-preflight-gate" }, { "matcher": "Bash|mcp__UnityMCP__execute_menu_item", "script": "unity-process-guard" }, { "matcher": "Bash", "script": "workflow-artifact-gate" } ] }, { "event": "PostToolUse", "rows": [ { "matcher": "Bash", "script": "contribution-capture" }, { "matcher": "Edit|Write|MultiEdit", "script": "kit-owned-file-modified" }, { "matcher": "Bash", "script": "post-kit-update-commit" }, { "matcher": "TaskUpdate", "script": "task-completed-handler" }, { "matcher": "ToolSearch", "script": "team-create-preflight-tracker" }, { "matcher": "Bash", "script": "telemetry-error-collector" }, { "matcher": "", "script": "telemetry-kit-error-collector" }, { "matcher": "Skill", "script": "telemetry-skill-tracker" }, { "matcher": "", "script": "telemetry-tool-tracker" } ] }, { "event": "SubagentStop", "rows": [ { "matcher": "", "script": "lesson-collector" }, { "matcher": "", "script": "workflow-failure-detector" } ] }, { "event": "Stop", "rows": [ { "matcher": "", "script": "lesson-collector" }, { "matcher": "", "script": "notify-desktop" }, { "matcher": "", "script": "notify-discord" }, { "matcher": "", "script": "prompt-telemetry-flush" }, { "matcher": "", "script": "session-state" }, { "matcher": "", "script": "sync-back-rollup" }, { "matcher": "", "script": "telemetry-stop-reminder" } ] } ], "scriptCount": 68}