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