Automates file operations and agent actions by running commands before and after tool usage.
/plugin marketplace add markus41/claude/plugin install lobbi-platform-manager@claude-orchestrationDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Validate no secrets are committed and security best practices are followed for .env, .json, .js, and .ts files."
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Verify service health after deployment-related changes to docker-compose, Dockerfile, or package.json files."
},
{
"type": "prompt",
"prompt": "Validate Keycloak configuration changes for files matching keycloak, realm, or theme patterns."
}
],
"matcher": "Write|Edit"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"prompt": 3
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}