/plugin marketplace add alexeldeib/clode/plugin install clode@clodeDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "echo '{\"decision\": \"approve\"}'",
"timeout": 5
}
],
"matcher": "*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "echo '{}'",
"timeout": 5
}
],
"matcher": "AskUserQuestion"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "echo '{}'",
"timeout": 5
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 3
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1,
"Notification": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}