Source Intelligence
Sweep 28 Aug 2026 · 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.251 Feeds RSS JSON llms.txt
Reading a new release v2.1.251 Analysing changes · 2/5 Deeper second pass · 4/5 agents 427 findings $12.75 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.

Search the documentation

10 pages for /autocompact.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Claude Code changelog Claude Code CLI · in the page changelog …add-dir <path>` can now be used while Claude is working; `/add-dir`, `/autocompact`, `/theme`, `/help`, `/config` and `/advisor` dialogs open mid-turn in the fullscreen TUI * `/goal` now clears itse… Use Claude Code on the web Claude Code CLI · in the page claude-code-on-the-web …T_WINDOW`](/docs/en/env-vars) in your environment variables, or run [`/autocompact`](/docs/en/commands#all-commands) with a token count in a session where the variable isn't set. [Subagents](/docs/en… CLI reference Claude Code CLI · in the page cli-reference …ion without changing your saved settings. Accepts the same values as `/autocompact`; that section covers the value forms and what overrides the flag. Requires Claude Code v2.1.221 or later… Commands Claude Code CLI · in the page commands …| | `/autocompact [auto\|<tokens>]` | Set the auto-compact window: how fu… Explore the context window Claude Code CLI · in the page context-window …tion keeps and how to guide the summary. * **Compact earlier**: run [`/autocompact`](/docs/en/commands#all-commands) with a token count, like `/autocompact 500k`, to set how full the context window ge… Environment variables Claude Code CLI · in the page env-vars …s as `500` and clamps to the 100K minimum. Takes precedence over the `/autocompact` command, the `--autocompact` flag, and the `autoCompactWindow` setting. The status line's `used_percentage` always m… Model configuration Claude Code CLI · in the page model-config …window in three places: * **For this session and later ones**: run `/autocompact` with a value, like `/autocompact 500k`. Claude Code saves it to your user settings as [`autoCompactWindow`](/docs/en… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …e v2.1.211, the text form sent the request without confirmation. * `/autocompact`, from v2.1.221: pass the window size as an argument, for example `/autocompact 500k`. With no argument, it prints th… Claude Code settings Claude Code CLI · in the page settings …et, Claude Code uses a window tuned for your model. Set it with the [`/autocompact`](/docs/en/commands#all-commands) command, which writes this key to user settings; the [`--autocompact`](/docs/en/cli… Claude Code settings reference Claude Code CLI · in the page settings-reference …theme={null} { "autoCompactWindow": 500000 } ``` Set it with the [`/autocompact`](/docs/en/commands#all-commands) command, which writes this key to your user settings. [Set the auto-compact window]…