Defined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-playwright.js",
"description": "Auto-install Playwright chromium on first use",
"suppressOutput": false,
"continueOnError": false
}
],
"enabled": true,
"matcher": "startup|resume",
"priority": 100,
"description": "Ensure Playwright browser is installed"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 1
},
"eventStats": {
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 1
}
}