{"version":"2.1.119","anchor":"auto-compact-interactive-configuration-autocompact","canonical_anchor":"auto-compact-interactive-configuration-autocompact","heading":"Auto-Compact Interactive Configuration ( \/autocompact )","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.119\/e\/auto-compact-interactive-configuration-autocompact","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.119","markdown":"### Auto-Compact Interactive Configuration (`\/autocompact`)\n\n**What**\n\nA new slash command with both interactive slider UI and text-mode for configuring the auto-compact window size.\n\n**Usage**\n\n`\/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`, or `default` - 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_WINDOW` takes 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\"`)"}