12 pages for autocompactwindow.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…inue. The partial marking requires Claude Code v2.1.246 or later | | `autoCompactWindow` | `number` | No | Lower the [auto-compact window](/docs/en/sub-agents#subagent-auto-compact-window) for this ag…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…skills?: string[]; initialPrompt?: string; maxTurns?: number; autoCompactWindow?: number; background?: boolean; omitClaudeMd?: boolean; memory?: "user" | "project" | "local"; effort?:…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…atter effort rules](/docs/en/model-config#set-the-effort-level). * **`autoCompactWindow`**: for an in-process teammate, Claude Code applies the definition's [`autoCompactWindow`](/docs/en/sub-agents#s…
Claude Code changelog
Claude Code CLI · in the page
changelog
…beside `desktop`, it turns on Claude Desktop's gateway mode * Added `autoCompactWindow` to subagent frontmatter and `--agents` definitions, so a subagent can auto-compact earlier than the main conver…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…, `tools`, `disallowedTools`, `model`, `permissionMode`, `maxTurns`, `autoCompactWindow`, `skills`, `mcpServers`, `hooks`, `memory`, `background`, `effort`, `isolation`, `color`, `initialPrompt`, `omi…
Environment variables
Claude Code CLI · in the page
env-vars
…e over the `/autocompact` command, the `--autocompact` flag, and the `autoCompactWindow` setting. The status line's `used_percentage` always measures against the model's full context window, so once t…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…the choice. * **The auto-compact window for a session**: a managed [`autoCompactWindow`](/docs/en/settings-reference#autocompactwindow) is a default too. The `--autocompact` flag and the `CLAUDE_CODE…
Model configuration
Claude Code CLI · in the page
model-config
….288, the command saved one window for every model, as the top-level `autoCompactWindow`. * **For every model**: set [`autoCompactWindow`](/docs/en/settings-reference#autocompactwindow) in a settings…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…rted fields**: `name`, `description`, `model`, `effort`, `maxTurns`, `autoCompactWindow`, `tools`, `disallowedTools`, `skills`, `memory`, `background`, `omitClaudeMd`, `isolation`, `color`, and the `c…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `autoCompactWindow` | How full the context window gets before Claude Code [compacts automatically](/docs/en/context-…
All settings
Claude Code CLI · in the page
settings-reference
…cs/en/context-window) off or on | Memory and context | Any file | | [`autoCompactWindow`](#autocompactwindow) | Set how full the context gets before Claude Code [compacts](/docs/en/context-window) | M…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…ools`, `model`, `permissionMode`, `mcpServers`, `hooks`, `maxTurns`, `autoCompactWindow`, `skills`, `initialPrompt`, `memory`, `effort`, `background`, `omitClaudeMd`, and `isolation`. * **Ignored fiel…