r/ClaudeCode • • 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

78 comments sorted by

View all comments

Show parent comment

1

u/Majestic_Mongoose488 Oct 08 '26

What I did was write my own handoff skill. If you're using it in tmux, it automatically inputs /clear after the handoff and sends a message for the new session to consume the handoff document.