Cindy Zhu.
← all free guides
Power-user Claude

The 4-tool stack that cuts Claude Code context waste

Hey, it's Cindy ๐ŸŒฑ This is the full setup from the carousel. When Claude Code chewed through my limits I blamed my prompts, but most of the waste is plumbing: re-reading files it already read, replying in essays, loading everything into every single session. These four free open source tools plug exactly those leaks. The stack comes from @speedy_devv's original post (the "bill dropped 10x" is his own result, not a promise), and this guide is my verified rebuild: every install command below is copied straight from each project's current README, checked today, so nothing here is stale.
the problem

The four leaks ๐Ÿ•ณ

๐Ÿ” Re-reads: Claude reads a file it already read and pays full price again
๐Ÿ—ฃ Essay answers: same substance, three times the words
๐Ÿ“– Whole-file reads: 300 lines read to find one function
๐ŸŽ’ Bloated sessions: every instruction loads into every session, needed or not

And it is not just cost. A crowded context makes answers drift too, so plugging these leaks keeps Claude sharp deeper into long sessions.


the fix

The stack at a glance ๐Ÿ“š

๐Ÿ” lean-ctx plugs leak 1: re-reads become nearly free
๐Ÿชจ caveman plugs leak 2: same answer, way fewer words
๐ŸŽฏ symdex plugs leak 3: jump straight to the line, skip the file
๐Ÿงฉ context-engineering plugs leak 4: only the skill you need loads

They are fully independent, so install one or all four. Below is the order I would do it in, quickest win first. All four together take about ten minutes.


quickest win

1. caveman: short answers ๐Ÿชจ

caveman is a Claude Code plugin that makes Claude answer in tight caveman-speak while keeping your code, commands, and error messages byte-for-byte exact. It fires on every reply, from message one, no prompt changes needed. Their own tagline: "why use many token when few do trick".

Run this in your terminal:

๐Ÿชจ install caveman
claude plugin marketplace add JuliusBrussee/caveman && claude plugin install caveman@caveman

Check it works: ask Claude anything and the reply comes back short. Say "normal mode" to switch it off, type /caveman to bring it back.


load less

2. context-engineering: lean sessions ๐Ÿงฉ

context-engineering is a plugin of 17 tiny skills that stay asleep until your task matches one, so the right skill loads and the rest stay out of Claude's head. It fires automatically: Claude activates a skill only when the task calls for it, and nothing loads up front.

Run these inside Claude Code (they are slash commands):

๐Ÿงฉ add the marketplace
/plugin marketplace add muratcankoylan/Agent-Skills-for-Context-Engineering
๐Ÿงฉ install the plugin
/plugin install context-engineering@context-engineering-marketplace

Check it works: type /plugin and context-engineering should sit under your installed plugins.


skip the file

3. symdex: pinpoint lookups ๐ŸŽฏ

symdex indexes your repo into one small local file (a map of every function, class, and route) so Claude jumps straight to the exact code it needs instead of reading whole files to get oriented. It fires whenever Claude would normally open files to hunt for something: it queries the map instead.

Run this in your terminal, inside your project folder:

๐ŸŽฏ install symdex
claude mcp add symdex -- uvx symdex serve
It runs through uvx, which comes with uv. If you do not have uv yet, install it first with curl -LsSf https://astral.sh/uv/install.sh | sh.

Check it works: type /mcp inside Claude Code and symdex should show as connected. Then say "index this project with symdex" once. After that, every search returns its own token-savings estimate, so you see real numbers instead of trusting anyone's headline.


the deep one

4. lean-ctx: cheap re-reads ๐Ÿ”

lean-ctx runs a small local layer between Claude and your files that caches everything Claude reads, so the first read costs full price and every reopen is nearly free (about 13 tokens, their number). It fires automatically on every file read and shell output, across sessions. I put it last because it is the deepest install of the four (shell hooks plus a little background daemon), so give it five calm minutes.

Run this in your terminal:

๐Ÿ” install and wrap lean-ctx
curl -fsSL https://leanctx.com/install.sh | sh
lean-ctx wrap claude

Prefer Homebrew? brew tap yvgude/lean-ctx && brew install lean-ctx replaces the first line. The wrap command registers the MCP server, hooks, and daemon in one go, and lean-ctx unwrap claude undoes the whole thing.

Check it works: after your next Claude Code session, run lean-ctx gain in the terminal. It shows tokens and dollars saved in real time.


what to expect

Honest numbers ๐Ÿงฎ

๐Ÿ’ก Every headline number here is the developer's own measurement, not mine, and your savings depend entirely on your workflow
  • ๐Ÿ” lean-ctx claims 60 to 90% fewer tokens on reads and shell output, with the receipts in the benchmarks section of their README
  • ๐Ÿชจ caveman benchmarks 65% fewer output tokens on average (range 22 to 87%), and they openly warn the skill itself adds about 1 to 1.5k input tokens per turn, so whole-session savings run smaller. Their honest numbers doc is genuinely refreshing
  • ๐ŸŽฏ symdex skips headline claims and prints a savings estimate after each search, so your numbers are your own
  • ๐Ÿ“‰ The "bill dropped 10x" story is the original dev's result for his own workflow. Treat it as a ceiling, not a promise

The links ๐Ÿ”—

๐Ÿ” lean-ctx: github.com/yvgude/lean-ctx
๐Ÿชจ caveman: github.com/JuliusBrussee/caveman
๐ŸŽฏ symdex: github.com/husnainpk/SymDex
๐Ÿงฉ context-engineering: github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
๐Ÿ’ก The original stack idea: @speedy_devv

Follow @cindiezhu for more AI tips every single day ๐ŸŒฑ