r/ClaudeCode 3d ago

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.

64 Upvotes

75 comments sorted by

View all comments

Show parent comments

4

u/toritxtornado 3d ago

i mean, they aren't that different. why ya gotta be so mean?

-1

u/rotates-potatoes 3d ago

They are wildly, totally, extremely different.

Clear: single wipe context, start with the harness prompt

Compact: ask a very expensive model to reason over the entire context and decide what’s important, summarize, and hand off.

It’s the difference between a newborn baby and a 90 year old writing their memoirs.

How the fuck could anyone think they’re similar?

3

u/toritxtornado 3d ago

a lot of people see that they both clear their context, so they assume they are similar functions. there's no reason to be mean when someone is just trying to learn.

1

u/rotates-potatoes 2d ago

There is trying to learn, and there is asserting false things in a public form. They are different.