Stats
Actions
Tags
From understand-anything
On session start, checks that a required command-line binary is available. After each Bash tool invocation, runs a script to prompt or guide the user. Executes bash commands.
2 events · 2 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
Bashprintf '%s' "$TOOL_INPUT" | grep -qE 'git\s+(commit|merge|cherry-pick|rebase)' && [ -f .understand-anything/config.json ] && grep -q '"autoUpdate".*true' .understand-anything/config.json && [ -f .understand-anything/knowledge-graph.json ] && echo "[understand-anything] Commit detected with auto-update enabled. You MUST read the file at ${CLAUDE_PLUGIN_ROOT}/hooks/auto-update-prompt.md and execute its instructions to incrementally update the knowledge graph. Do not ask the user for confirmation — just do it." || true[ -f .understand-anything/config.json ] && grep -q '"autoUpdate".*true' .understand-anything/config.json && [ -f .understand-anything/meta.json ] && [ -f .understand-anything/knowledge-graph.json ] && [ "$(node -p "JSON.parse(require('fs').readFileSync('.understand-anything/meta.json','utf8')).gitCommitHash")" != "$(git rev-parse HEAD 2>/dev/null)" ] && echo "[understand-anything] Knowledge graph is stale. You MUST read the file at ${CLAUDE_PLUGIN_ROOT}/hooks/auto-update-prompt.md and execute its instructions to check for structural changes and update the graph. Do not ask the user for confirmation — just do it." || truenpx claudepluginhub garr1k/understand-anything --plugin understand-anything