Stats
Actions
Tags
From agent-twin
Runs Node cleanup scripts when the session stops, closing background processes or persisting state. Executes scripts via Node.
1 event · 1 hook
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
if command -v python3 >/dev/null 2>&1; then python3 "${CLAUDE_PLUGIN_ROOT}/scripts/autosave_session.py"; elif command -v python >/dev/null 2>&1; then python "${CLAUDE_PLUGIN_ROOT}/scripts/autosave_session.py"; elif command -v py >/dev/null 2>&1; then py "${CLAUDE_PLUGIN_ROOT}/scripts/autosave_session.py"; else true; fi30msnpx claudepluginhub ctongh/agent-twin --plugin agent-twin