Source Intelligence
Reading a new release v2.1.251 Analysing changes · 2/5 Sorting the findings · 1/4 steps 470 findings $18.91 so far

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.119 Home All releases olderv2.1.118 v2.1.120newer
Claude Code v2.1.119

Auto-Compact Interactive Configuration (/autocompact)

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 →