Before a tool call: runs python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py". After a tool call: runs python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py". And 2 more.
4 events · 5 hooks
Ships in claude-compact-restore. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
*python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py"*python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py"compactpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py" 1python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py" 2python3 "${CLAUDE_PLUGIN_ROOT}/hooks/restore.py"Where this hook configuration is defined
Defined in hooks/hooks.json
guardian, session-start, pre-tool-use, post-tool-use, user-prompt-submit
23 plugins in 22 repositories ship this exact hooks config · first indexed Nov 28, 2025
npx claudepluginhub u-ichi/agent-plugins --plugin claude-compact-restoreOther plugins' hooks for the same job