Show GN: CTX: Memory Between Claude Code Sessions — Install via pip install or /plugin install
·2026.05.03 20:34
Key point
CTX gives Claude Code local session memory and retrieval-based context injection.
Details
Claude Code loses context when a session ends, and CTX compensates for this with hooks.
On execution, it automatically injects three types of context within 1ms at the UserPromptSubmit event.
- G1: A decision timeline based on
git logthat restores why a decision was made yesterday. - G2: BM25 code/document search that automatically injects relevant files.
- CM: Looks up a past conversation vault using SQLite FTS5 and optional vector search.
The measured results presented are as follows.
- Memory recall accuracy: 0.880
- 95% Wilson CI: [0.762, 0.944]
- Baseline (none): 0.00
- Real-world utilization rate based on 10,000+ turns: 39.6%
The setup assumes no LLM calls, no cloud, and fully local operation.
Installation is offered via two paths.
pip install ctx-retriever && ctx-install/plugin install ctx@jaytoonewithin Claude Code
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.