Executes custom bash commands before and after specific WebFetch or Bash tool uses.
/plugin marketplace add markus41/claude/plugin install aws-eks-helm-keycloak@claude-orchestrationDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Validates Helm charts, security, and Keycloak configuration before deployment. If the Bash command matches 'helm install', 'helm upgrade', or 'kubectl apply', perform strict validation with security scanning and Keycloak checks. Block on errors."
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If the Bash command matched 'helm install' or 'helm upgrade' with Keycloak settings, sync Keycloak realm and client configuration after successful deployment."
}
],
"matcher": "Bash"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}