What's wrong with this entry?
Anonymous. No account, no email.
What
A new slash command with both interactive slider UI and text-mode for configuring the auto-compact window size.
Usage
/autocompact # Opens interactive slider dialog
/autocompact 500k # Sets window to 500,000 tokens
/autocompact auto # Resets to automatic (recommended)Details
- Interactive mode: slider with up/down arrows, wrapping to "Auto" at boundaries
- Accepts token values in various formats:
500k,200000,200(shorthand for 200,000), range 100k-1M - Reset with:
auto,reset,unset, ordefault - Displays current window size, source (env var, settings, or auto), and whether it's capped by the model limit
- Shows warnings when: auto-compact is disabled, env var
CLAUDE_CODE_AUTO_COMPACT_WINDOWtakes precedence, or when overriding auto - Strongly recommends the auto setting: "The auto setting picks a window tuned for your model and is strongly recommended for the best cost and performance."
Evidence
Auto-compact configuration (search for "Auto-compact Window", "Configure the auto-compact window size", "CLAUDE_CODE_AUTO_COMPACT_WINDOW")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.