Stats
Actions
Tags
From scribe
Blocks destructive git, rm, and tmux commands; injects role on session start; scans mailbox on user prompt; pushes session state on stop. Bash and python scripts enforce safety and manage session lifecycle.
5 events · 11 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
SCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-stop-push.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true30000msBashSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/git-destructive-guard.py"; if [ -x "$SCRIPT" ]; then python3 "$SCRIPT"; else exit 0; fi10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/rm-destructive-guard.py"; if [ -x "$SCRIPT" ]; then python3 "$SCRIPT"; else exit 0; fi10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/tmux-send-keys-guard.py"; if [ -x "$SCRIPT" ]; then python3 "$SCRIPT"; else exit 0; fi10000msEdit|Write|NotebookEdit|MultiEditSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/edit-write-guard.py"; if [ -x "$SCRIPT" ]; then python3 "$SCRIPT"; else exit 0; fi10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-boundary-heartbeat.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-start-role-inject.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-start-guard-health.py"; [ -x "$SCRIPT" ] && python3 "$SCRIPT" || true10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-start-mailbox-scan.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/session-boundary-heartbeat.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true10000msSCRIPT="${CLAUDE_PLUGIN_ROOT}/scripts/hooks/user-prompt-mailbox-scan.sh"; [ -x "$SCRIPT" ] && "$SCRIPT" || true10000msnpx claudepluginhub shuu5/scribe5plugins reuse this hooks config
First indexed Mar 26, 2026