Stats
Actions
Tags
From mappamind
Runs a Node script on session start to initialize plugin context and on stop to verify code integrity. Executes Node.js without bash.
2 events · 2 hooks
Where this hook configuration is defined
Defined in hooks/claude-hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
if command -v mappamind >/dev/null 2>&1; then mappamind shift "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" --host claude; else echo "mappamind not found on PATH: run 'npm i -g mappamind-cli' or remove this hook" >&2; fiif command -v mappamind >/dev/null 2>&1; then mappamind snapshot "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"; else echo "mappamind not found on PATH: run 'npm i -g mappamind-cli' or remove this hook" >&2; finpx claudepluginhub mappamind/mappamind --plugin mappamind