Install
1
Install the plugin$
npx claudepluginhub rbozydar/rbw-claude-code --plugin safety-guardWant just this hook?
Add to a custom plugin, then install with one command.
Risk Indicators
Executes bash commands
Source
Defined in hooks/hooks.json
Configuration
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/safety_guard_bash.py",
"timeout": 10
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/safety_guard_read.py",
"timeout": 10
}
],
"matcher": "Read"
}
]
}Summary
{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreToolUse": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars0
Forks0
Last CommitJan 24, 2026
Actions