Stats
Actions
Tags
From pensieve
Runs pre-edit and post-edit hooks on every Write/Edit tool call, plus a session-start hook for compact mode. Executes bash scripts that modify files and can block tool calls.
3 events · 3 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
Agentbash -lc 'root="${CLAUDE_PLUGIN_ROOT:-}"; [[ -n "$root" ]] || exit 0; if [[ "${root:1:1}" == ":" && "${root:0:1}" =~ [A-Za-z] ]]; then if command -v cygpath >/dev/null 2>&1; then root="$(cygpath -u "$root")"; else drive="${root:0:1}"; rest="${root:2}"; rest="${rest//\\//}"; drive="$(printf "%s" "$drive" | tr "A-Z" "a-z")"; root="/$drive$rest"; fi; fi; exec "$root/hooks/run-hook.sh" explore-prehook.sh'Write|Edit|MultiEditbash -lc 'root="${CLAUDE_PLUGIN_ROOT:-}"; [[ -n "$root" ]] || exit 0; if [[ "${root:1:1}" == ":" && "${root:0:1}" =~ [A-Za-z] ]]; then if command -v cygpath >/dev/null 2>&1; then root="$(cygpath -u "$root")"; else drive="${root:0:1}"; rest="${root:2}"; rest="${rest//\\//}"; drive="$(printf "%s" "$drive" | tr "A-Z" "a-z")"; root="/$drive$rest"; fi; fi; exec "$root/hooks/run-hook.sh" sync-project-skill-graph.sh'bash -lc 'root="${CLAUDE_PLUGIN_ROOT:-}"; [[ -n "$root" ]] || exit 0; if [[ "${root:1:1}" == ":" && "${root:0:1}" =~ [A-Za-z] ]]; then if command -v cygpath >/dev/null 2>&1; then root="$(cygpath -u "$root")"; else drive="${root:0:1}"; rest="${root:2}"; rest="${rest//\\//}"; drive="$(printf "%s" "$drive" | tr "A-Z" "a-z")"; root="/$drive$rest"; fi; fi; exec "$root/hooks/run-hook.sh" pensieve-session-marker.sh --mode session-start'npx claudepluginhub mamajiaa/pensieve-claude-plugin --plugin pensieve