Stats
Actions
Tags
From brain
Blocks and audits git commits via PreToolUse guards, logs bash sessions on PostToolUse, and runs quality checks on Stop. Blocks kastell command execution entirely. Executes bash via Node scripts.
4 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
bash ${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/brain}/hooks/brain-session-save.sh30000msWebSearch|WebFetchGlob|GrepBashpython3 ${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/brain}/hooks/pre_bash_vault.py5msSkillbash -c 'echo "$TOOL_INPUT" | grep -qi "upgrade\|update\|install" && echo "NOTICE: Skills may have changed. Run /brainpack-skills to re-compress." || true'5msBashbash -c 'jq -r .stdout 2>/dev/null | grep -qiE "error|failed|FAIL|exception|traceback" && echo "Brain: if a recalled approach caused this failure, call f(namespace, episode_id, outcome=failure, notes=error details). Store the error pattern to errors namespace if novel." || true'5mspython3 ${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/brain}/hooks/post_bash_vault_redact.py5msmcp__plugin_brain_b__rbash -c 'jq -r .result 2>/dev/null | grep -q "\"count\":0\|\"results\":\[\]" && echo "Brain: recall returned empty. Consider: wrong namespace? threshold too high? knowledge gap to fill later?" || true'5msmcp__plugin_brain_b__sbash -c 'jq -r .result 2>/dev/null | grep -q "error" && echo "Brain: store failed. Check data keys, namespace, and target. Store this error pattern for future reference." || true'5msbash ${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/local/brain}/hooks/brain-session-start.sh30000msnpx claudepluginhub skitzo2000/amnesia-labs-plugins --plugin brain