npx claudepluginhub utakatakyosui/c2lab --plugin rustDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-tools.py"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-tools.py"
}
],
"matcher": "Edit | Write"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "pip3 install -q -r \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/requirements.txt\" 2>/dev/null || true; echo '{}'"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/prompt-check.py\""
}
]
}
]
}"Triggers bash scripts on SessionStart (incl. async sync), UserPromptSubmit, Stop, and async PostToolUse for Write/Edit/MultiEdit/NotebookEdit. Handles file writes."