← sources

/compact experiments an usage

source: reddit (reddit:ClaudeCode)published 2026-09-14 14:42ingested 2026-09-15 02:40

retained text

I am from the olden days, where I manage my own context, have auto-compact disabled, and never use /compact normally. If I ever get anywhere near 50% used, I start a new session.

I just started to play with it again, and I have some questions. Normal is just "/compact." However, you can also pass <optional custom summarization instructions> to the compact command.

I have been playing with this prompt: 

> tell me the optimal "/compact" command so that we do not lose anything and we can implement the plan in this session

Then, I use that custom /compact command which is often quite long.

1. Do you have auto-compact on?
2. Does auto-compact do anything really intelligent like my manual 2-step process above?
3. If you /compact manually, do you ever pass <optional custom summarization instructions>?

Thanks in advance for any info.

document fetched 2026-09-15 00:41 · canonical https://reddit.com/r/ClaudeCode/comments/1wg5cow/compact_experiments_an_usage