npx claudepluginhub arthtech-ai/arthai-marketplace --plugin shieldDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-bash-guard.sh",
"timeout": 5
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-guard.sh",
"timeout": 5
}
],
"matcher": "Edit"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-guard.sh",
"timeout": 5
}
],
"matcher": "Write"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
"timeout": 10
}
],
"matcher": ""
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-bootstrap.sh",
"timeout": 15
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
"timeout": 5
}
],
"matcher": ""
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/triage-router.sh",
"timeout": 5
}
],
"matcher": ""
}
]
}"{\"riskFlags\": {\"touchesBash\": true, \"matchAllTools\": false, \"touchesFileWrites\": true}, \"typeStats\": {\"command\": 7}, \"eventStats\": {\"PreToolUse\": 3, \"SessionStart\": 2, \"UserPromptSubmit\": 2}, \"originCounts\": {\"absolutePaths\": 0, \"pluginScripts\": 7, \"projectScripts\": 0}, \"timeoutStats\": {\"commandsWithoutTimeout\": 0}}"