Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.119 ·

Auto-Compact Interactive Configuration (/autocompact)

Entry
JSON All of v2.1.119
EntryKind: in v2.1.119,
ChangesSection of the release
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, 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")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.119 →

Feedback