lean-ctx
Cut AI coding agent token costs with smart context compression
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install lean-ctx?โผ
Run `npx skills add yvgude/lean-ctx --all -g -y` in your terminal to install the skill globally, then run `lean-ctx setup` to wire it into your coding agent.
How does lean-ctx reduce AI token costs?โผ
It compresses file reads, shell output, and search results before they reach the model, cutting token usage by 50-80%. Cached re-reads of unchanged files cost only about 13 tokens.
Which AI coding agents work with lean-ctx?โผ
It works with Cursor, Claude Code, Copilot, Windsurf, Codex, Gemini, and over 30 other agents with zero configuration required.
Does lean-ctx keep my code and data private?โผ
Yes. It runs entirely locally on your machine, and your context and session memory stay portable and never leave your control.
Can lean-ctx remember context between chats?โผ
Yes. Its session memory persists tasks, decisions, and findings across chats, so your agent never loses track of previous work.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core