Stats
Actions
Tags
From flux
Runs pre-flight checks before file edits, records and verifies post-tool actions, and cleans up on session stop. Executes bash commands and modifies files.
6 events · 10 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
[ ! -f scripts/ralph/hooks/ralph-guard.py ] || scripts/ralph/hooks/ralph-guard.py5msBash|Execute|Read|Edit|WritePLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; [ -z "$PLUGIN_ROOT" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1); [ -f "$PLUGIN_ROOT/hooks/flux-config-route.py" ] && "$PLUGIN_ROOT/hooks/flux-config-route.py" || true5msBash|Execute[ ! -f scripts/ralph/hooks/ralph-guard.py ] || scripts/ralph/hooks/ralph-guard.py5msEdit|Write[ ! -f scripts/ralph/hooks/ralph-guard.py ] || scripts/ralph/hooks/ralph-guard.py5msBash|Execute[ ! -f scripts/ralph/hooks/ralph-guard.py ] || scripts/ralph/hooks/ralph-guard.py5msbrain/PLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; [ -z "$PLUGIN_ROOT" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1); [ -f "$PLUGIN_ROOT/hooks/auto-index-brain.sh" ] && "$PLUGIN_ROOT/hooks/auto-index-brain.sh" || true5msstartup|resumePLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; [ -z "$PLUGIN_ROOT" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1); [ -f "$PLUGIN_ROOT/hooks/inject-brain.sh" ] && "$PLUGIN_ROOT/hooks/inject-brain.sh" || true5msPLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; [ -z "$PLUGIN_ROOT" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1); [ -f "$PLUGIN_ROOT/hooks/recommendation-pulse.sh" ] && "$PLUGIN_ROOT/hooks/recommendation-pulse.sh" || true10ms[ ! -f scripts/ralph/hooks/ralph-guard.py ] || scripts/ralph/hooks/ralph-guard.py5msPLUGIN_ROOT="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}"; [ -z "$PLUGIN_ROOT" ] && PLUGIN_ROOT=$(ls -td ~/.claude/plugins/cache/nairon-flux/flux/*/ 2>/dev/null | head -1); [ -f "$PLUGIN_ROOT/hooks/flux-config-route.py" ] && "$PLUGIN_ROOT/hooks/flux-config-route.py" || true5msnpx claudepluginhub nairon-ai/flux --plugin flux