npx claudepluginhub mikecubed/agent-orchestration --plugin clean-code-codexDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-sec-write.sh",
"timeout": 30
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-arch-write.sh",
"timeout": 10
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-sec-bash.sh",
"timeout": 10
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-quality.sh",
"timeout": 15
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-coverage-delta.sh",
"timeout": 15
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-obs-write.sh",
"timeout": 10
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-verification.sh",
"timeout": 15
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-dep.sh",
"timeout": 60
}
],
"matcher": "Write"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/hook-validation-record.sh",
"timeout": 10
}
],
"matcher": "Bash"
}
]
}"Runs pre-tool-check.sh before Bash|Write|Edit|NotebookEdit tools to block unsafe calls; post-tool-audit.sh after. Handles bash execution and file writes."