npx claudepluginhub 3li7alaki/mint --plugin mintDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pipeline-complete-check.cjs\"",
"timeout": 5
}
],
"matcher": "*",
"description": "Block stop if mint pipeline has incomplete steps (exit 2 = block)"
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/cost-tracker.cjs\"",
"timeout": 10
}
],
"matcher": "*",
"description": "Track token and cost metrics per session"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-bash-git-push.cjs\""
}
],
"matcher": "Bash",
"description": "Safety reminder before git push"
},
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-edit-mint-check.cjs\""
}
],
"matcher": "Edit|Write",
"description": "Warn if mint skill not invoked before file modifications"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-edit-format.cjs\""
}
],
"matcher": "Edit",
"description": "Auto-format JS/TS files after edits"
},
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-edit-typecheck.cjs\""
}
],
"matcher": "Edit",
"description": "TypeScript check after editing .ts/.tsx files"
},
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-edit-console-warn.cjs\""
}
],
"matcher": "Edit",
"description": "Warn about console.log in edited files"
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/quality-gate.cjs\"",
"timeout": 15
}
],
"matcher": "Edit|Write",
"description": "Run quality gate checks after file edits"
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/instinct-observer.cjs\"",
"timeout": 5
}
],
"matcher": "Edit|Write",
"description": "Observe patterns for instinct-based learning"
},
{
"hooks": [
{
"type": "command",
"async": true,
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-edit-test-runner.cjs\"",
"timeout": 30
}
],
"matcher": "Edit",
"description": "Auto-run relevant tests after editing source files (configurable)"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"async": false,
"command": "'${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd' session-start"
}
],
"matcher": "startup|resume|clear|compact"
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 11}, \"eventStats\": {\"Stop\": 2, \"PreToolUse\": 2, \"PostToolUse\": 6, \"SessionStart\": 1}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 11, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 6}}"