⌨️DISABLE_AUTO_COMPACT
Also known as DISABLE_AUTO_COMPACT=1
Set to 1, it stops the automatic squeeze. /compact still works.
Think of it like
It is like you stop a helper from tidying your desk on their own. You can still ask.
Example
Lucy hates losing detail in the middle of a task. She sets this, and runs /compact herself at a good stopping point.
Why it matters
You pick when the chat is summed up, so it never happens halfway through a hard step.
Definition
Example code
bash
export DISABLE_AUTO_COMPACT=1
claudeCommon mistake
Key takeaways
- 1No auto squeeze. Near the limit or idle.
- 2/compact still works. By hand.
- 3Wins over the setting. autoCompactEnabled.