npx claudepluginhub artokun/comfyui-mcp --plugin comfyDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/vram-check.mjs\""
}
],
"matcher": "mcp__plugin_comfy_comfyui__enqueue_workflow"
},
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/save-warning.mjs\""
}
],
"matcher": "mcp__plugin_comfy_comfyui__(stop|restart)_comfyui"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/job-complete-notify.mjs\""
}
],
"matcher": "mcp__plugin_comfy_comfyui__.*"
}
]
}"{\"riskFlags\": {\"touchesBash\": false, \"matchAllTools\": false, \"touchesFileWrites\": false}, \"typeStats\": {\"command\": 3}, \"eventStats\": {\"PreToolUse\": 2, \"PostToolUse\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 3, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 3}}"