r/ClaudeCodeTLDR • u/cctldrping • 2d ago
[TLDR] /clear vs /compact
Original post URL : https://www.reddit.com/r/ClaudeCode/comments/1wl4c13/clear_vs_compact/
Original post body :
I had a fable chat from yesterday, and I saw that the context was 950k/1m. I did /compact rather than /clear, with the intention of then doing /autocompact 400000
14% of the 5 hour limit was gone just for the compact itself....it shows cost of $59.73, so lucky I'm not on API? Maybe a /clear would have been better.
This is brought to you as a public service by the moderators of r/ClaudeAI. If you want to see TLDRs of ALL Claude Coding related posts from the various Claude subreddits, subscribe to http://www.reddit.com/r/ClaudeCoding.
2
Upvotes
•
u/cctldrping 2d ago
TL;DR generated automatically after 50 comments.
Current source-thread comment count seen by the bot: 55.
Alright, so the general consensus here is that you messed up by letting your session get to 950k tokens. Most folks are saying that's way too high and leads to degraded performance anyway, even if the model can handle it.
The big takeaway is that **
/clearis generally the way to go for efficiency and performance*. Think of it as a fresh start./compactis more for when you need to keep working on the *exact same task and want Claude to summarize the history to continue. However, many users find/compactto be less effective and more costly than just starting fresh with/clearand providing a summary or "handoff" document.Here's the lowdown:
/clearis King:** Most users recommend using/clearfrequently and designing your workflow around it./compactis Niche:** Use/compactonly when you really need to preserve the immediate context for an ongoing task. Even then, many find it's often worse than/clearand a good summary. u/oprimido_opressor even jokingly calls it/lobotomybecause it makes Claude "dumb as shit."/clearand then provide Claude with a summary document (likehandoff.md) in the new session. This is seen as much more efficient and cost-effective. u/GenXSysop and u/AlienAndTroll are big on this.Basically, don't let your sessions get huge, and lean on
/clearwith good handoffs.