← All 23 Open-Source Repositories
Deterministic context-window hygiene distiller and skills auditor that keeps Claude Code and AI agent always-loaded memory lean.
Stuffing every past lesson, schema, and runbook into `CLAUDE.md` consumes 25K+ tokens on turn one and degrades instruction following across every prompt. `claude-clean-context` separates tiny standing rules from on-demand skills and indexed semantic retrieval.
git clone https://github.com/mohan-n-swamy/claude-clean-context.git
cd claude-clean-context
ls doctrine/ blueprint/ docs/
cat doctrine/CLAUDE.md.template
| Variable | Default | Purpose |
|---|---|---|
LOG_LEVEL | info |
open source claude clean context self hosted MITclaude-clean-context github configurable .envhow to self host claude clean context with docker python typescriptopen source claude code reference architectureopen source context engineering reference architectureopen source llm optimization reference architectureopen source token optimization reference architectureopen source ai agents reference architectureopen source claude skills reference architecture