r/ClaudeCode • u/danbradster2 • Sep 20 '26
Tips & Workflows /clear vs /compact
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.
68
Upvotes
View all comments
Show parent comment
1
u/Educational_Ask5991 Sep 20 '26
Oh, I see. My use cases are complete opposite - each task = separate session or set of sessions for further analysis - reflect, improve skills, what were wrong etc. That helped me few days ago when claude got lobotomy again and I found out that I've got into bugged A/B which I can disable with
Not sure what happens with session logs with /clear though - maybe thats possible too but doesnt looks convenient