Install
1
Install the plugin$
npx claudepluginhub diegouis/provectus-marketplace --plugin proagent-devopsWant just this hook?
Then install: npx claudepluginhub u/[userId]/[slug]
Risk Indicators
Executes bash commands
Source
Defined in hooks/hooks.json
Configuration
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.command // empty' | { read cmd; if echo \"$cmd\" | grep -qE 'kubectl apply|helm (install|upgrade)'; then if echo \"$cmd\" | grep -qvE '\\-\\-dry-run'; then echo '[proagent-devops] WARNING: Applying K8s changes without --dry-run. Consider running with --dry-run=client first.'; fi; fi; if echo \"$cmd\" | grep -qE 'terraform apply'; then if echo \"$cmd\" | grep -qvE '\\-auto-approve'; then echo '[proagent-devops] Terraform apply detected. Ensure terraform plan was reviewed.'; fi; fi; }",
"timeout": 10
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.command // empty' | { read cmd; if echo \"$cmd\" | grep -qE 'docker-compose up|docker compose up'; then echo '[proagent-devops] Deployment detected. Verify health checks after services start.'; fi; }",
"timeout": 10
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.prompt // empty' | { read prompt; if echo \"$prompt\" | grep -qi 'devops-specialist\\|infrastructure.review\\|deploy'; then echo '[proagent-devops] DevOps operation completed. Verify health checks and monitoring.'; fi; }",
"timeout": 5
}
],
"matcher": "Task"
}
]
}Summary
{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 3
},
"eventStats": {
"PreToolUse": 2,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars2
Forks1
Last CommitFeb 24, 2026