Defined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate_dependencies.sh",
"timeout": 5
},
{
"type": "prompt",
"prompt": "If the validation command above shows MISSING_DEPS, inform the user which dependencies are missing and provide installation instructions:\n\n**git-town**: Stack management for pull requests\n- Install: https://www.git-town.com/install\n- macOS: `brew install git-town`\n\n**gh (GitHub CLI)**: GitHub CLI for PR creation\n- Install: https://cli.github.com/manual/installation\n- macOS: `brew install gh`\n\n**humanlayer**: Thoughts directory synchronization\n- Install: https://docs.humanlayer.dev/installation\n- Command: `pip install humanlayer`\n\n**just**: Task runner (optional but recommended)\n- Install: https://just.systems/man/en/chapter_4.html\n- macOS: `brew install just`\n\nOnly inform the user if dependencies are actually missing. If all dependencies are installed, do not mention this check.",
"timeout": 10
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 1,
"command": 1
},
"eventStats": {
"SessionStart": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}