/plugin marketplace add mr-jones123/test-gohan/plugin install mr-jones123-gohan@mr-jones123/test-gohanDefined in hooks/hooks.json
{
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/session-end.js\"",
"timeout": 30
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/scripts/ensure-worker.js\"",
"timeout": 10
},
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/post-tool-use.js\"",
"timeout": 5
}
],
"matcher": "Bash|Write|Edit|Read"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/scripts/ensure-worker.js\"",
"timeout": 10
},
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/session-start.js\"",
"timeout": 10
}
],
"matcher": "startup|clear|compact"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/scripts/ensure-worker.js\"",
"timeout": 10
},
{
"type": "command",
"command": "bun run \"${CLAUDE_PLUGIN_ROOT}/dist/hooks/user-prompt.js\"",
"timeout": 5
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 7
},
"eventStats": {
"SessionEnd": 1,
"PostToolUse": 2,
"SessionStart": 2,
"UserPromptSubmit": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 7,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}