A three-tier approach to managing Claude Code context windows addresses bloat from unnecessary codebase reading by implementing a Registry of all repos, per-repo codemaps loaded on demand, and just-in-time tools that fetch specific information when needed. The per-repo codemap layer achieved a measured 33x compression of input tokens in one active project. The Registry loads automatically at session start while the other layers provide additional context selectively based on current work.
Detailed Analysis
Detailed analysis coming soon.
Read original article →