npx claudepluginhub chkim-su/forge --plugin forgeDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/stop-hook.py\"",
"timeout": 10
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/pretool-hook.py\"",
"timeout": 5
}
],
"matcher": "Write|Edit|Bash|Task",
"$comment": "Phase-appropriate tool validation for modifying tools"
},
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/question-format-validator.py\"",
"timeout": 3
}
],
"matcher": "AskUserQuestion",
"$comment": "Structured Dialogue Contract enforcement for Phase 4"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/posttool-hook.py\"",
"timeout": 5
}
],
"matcher": "Task|AskUserQuestion",
"$comment": "Phase completion detection"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/session-init.py\"",
"timeout": 5
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/userprompt-hook.py\"",
"timeout": 5
}
]
}
]
}"Executes Node.js scripts for batch linting/extraction/aggregation on Stop, config protection pre-Edit/Write, post-edit accumulation/PR polling after tools, correction detection on prompts, bash session init. Touches bash/files."