PreCompact
01Hook
Runs before the context is compacted, executing pre_compact.py and consolidate_async.py via python3 (2 commands). From skymanbp/cc-memory.
Persistent memory for Claude Code. Survives compaction and session boundaries: anti-patch reconcile-on-write with LLM-judged de-duplication, a forced PROGRESS.md handoff, a live PLAN.md anchor with an enforced directive ledger, FTS5 search, MCP tools and a GUI. Pure stdlib Python, zero runtime dependencies.
Hook
Runs before the context is compacted, executing pre_compact.py and consolidate_async.py via python3 (2 commands). From skymanbp/cc-memory.
Hook
Runs when a session starts, executing session_start.py via python3. From skymanbp/cc-memory.
Hook
Runs when the agent finishes a response, executing stop.py via python3. From skymanbp/cc-memory.
Hook
Runs after a tool call finishes, executing post_tool_use.py via python3. From skymanbp/cc-memory.
Hook
Runs when you submit a prompt, before the agent sees it, executing user_prompt.py via python3. From skymanbp/cc-memory.