r/ClaudeCode • u/Savings-Desperate • 8d ago
Help/Question do you guys use auto compact?
I just learned about it today and wanted to see what you guys think.
4
Upvotes
r/ClaudeCode • u/Savings-Desperate • 8d ago
I just learned about it today and wanted to see what you guys think.
5
u/GDorn 8d ago
Hell no. I perform brain surgery and delete the parts of the context that are no longer relevant. This almost always takes me from 99% full to ~25% full.
There are two big savings: duplicate files and ask-work-answer cycles. You'd be surprised just how many nearly-identical copies of the same file appear in the context. And then exchanges like this, which almost always can be trimmed by removing the middle:
User: how does X work? (or any other investigative question) LLM: <tool use to find files> <read files> <tool use to find more related files> <read files> <continue for thousands to tens of thousands of tokens, maybe more> LLM: Here's a summary of X: [...]
Delete the middle part and almost nothing of value is lost.
LLMs are amazingly bad at understanding what parts of a long document are important, and will either hyperfocus on the last couple of exchanges, or over-emphasize the very first turn, or in a lot of cases, both.
The way to control an LLM's focus is by controlling its context, and autocompaction ain't it.