Skip to content

Hooks

Hook scripts on disk: 68 .cjs files in .claude/hooks/

MatcherScript
check-cli-updates
check-kit-update-failures
check-kit-updates
check-mcp-health
decision-tools-preload
generate-baseline-context
project-detector
session-state
MatcherScript
check-ambiguous-fork-invocation
check-module-keywords
contribution-flush-nudge
image-routing-human-mcp
lesson-queue-processor
prompt-telemetry
MatcherScript
Writedescriptive-name
Agentgeneric-agent-detector
`EditMultiEdit`
Writeplan-write-guard
`ReadGlob
Bashrequire-current-cli
Skillrequire-current-cli
`ReadGlob
Bashsecret-guard
Bashskill-commit-gate
Agenttask-description-model-badge
Tasktask-description-model-badge
TeamCreateteam-create-preflight-gate
`Bashmcp__UnityMCP__execute_menu_item`
Bashworkflow-artifact-gate
MatcherScript
Bashcontribution-capture
`EditWrite
Bashpost-kit-update-commit
TaskUpdatetask-completed-handler
ToolSearchteam-create-preflight-tracker
Bashtelemetry-error-collector
telemetry-kit-error-collector
Skilltelemetry-skill-tracker
telemetry-tool-tracker
MatcherScript
lesson-collector
workflow-failure-detector
MatcherScript
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
}