npx claudepluginhub julep-ai/vibesafe --plugin vibesafeDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "if [[ \"$COMMAND\" == git*commit* ]]; then vibesafe diff; fi",
"enabled": true,
"timeout": 10
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "if [[ \"$FILE_PATH\" == *.py ]] && grep -q '@vibesafe' \"$FILE_PATH\"; then vibesafe compile --target \"$FILE_PATH\" >/dev/null 2>&1 || true; fi",
"enabled": true,
"timeout": 5
}
],
"matcher": "Write"
}
]
}"Blocks destructive bash commands (rm -rf, SQL drops, exploits) and sensitive/broad git adds via PreToolUse; auto-formats JS/TS/CSS/etc. files with Prettier post-Edit/Write."