Product feature · models-context
Context compaction controlsCommon product term
Trigger, inspect, configure, or disable context compaction.
Terminology basis: Common product term. OpenAI — ChatGPT desktop slash commands
Context compaction controls: 4 supported, 1 partial, 0 unsupported, 26 unreviewed across 31 cataloged products.
Current evidence by product
Can my agent use Context compaction controls?
Read across for the answer. 5 of 31 current product columns have reviewed evidence; unreviewed does not mean unsupported.
Web
9 productsDesktop
13 productsCLI
9 productsDefinition and scope
What this capability means
This row separates controllability from the existence of automatic compaction. Useful controls include a manual compact action, an editable instruction for the summary, threshold configuration, inspection of the compacted state, pinning of durable facts, and an opt-out.
A single manual “summarize this chat” prompt is not necessarily a harness-level compaction control. Evidence should show that the resulting state is used for subsequent requests and identify the scope of each setting.
Traceable compatibility
Assertion ledger
Documentation evidence only. No runtime conformance test is implied.
- Target
- current ChatGPT desktop documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtime/compact triggers compaction; summary inspection, threshold configuration, retained-item pinning, and disabling are not established by the reviewed page
- OpenAI — ChatGPT desktop slash commandsdocumented · reviewed 2026-08-28
- Target
- current Claude Code documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtime/compact can include task-specific preservation instructions; CLAUDE.md can define reusable compact guidance
- Anthropic — Manage Claude Code costsdocumented · reviewed 2026-08-28
- Target
- current Gemini CLI documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtime/compress replaces chat context with a high-level summary; model.compressionThreshold configures the automatic trigger fraction and defaults to 0.5
- Google — Gemini CLI commandsdocumented · reviewed 2026-08-28
- Google — Gemini CLI settingsdocumented · reviewed 2026-08-28
- Target
- current GitHub Copilot CLI context-management documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- runtime/compact accepts optional focus instructions and manual compaction can be canceled with Escape; the automatic threshold itself is not documented as configurable
- GitHub — Managing context in Copilot CLIdocumented · reviewed 2026-08-28
- Target
- current VS Code agent-session documentation · dated-documentation
- Environment
- local-default
- Observed
- 2026-08-28
- policy/compact accepts preservation instructions and automatic compaction can be disabled; threshold selection and retained-item pinning are not documented
- Microsoft — Manage agent sessions in VS Codedocumented · reviewed 2026-08-28
- 1. Evidence checked 2026-08-28: ChatGPT desktop exposes /compact to compact the current chat context.
- 2. Evidence checked 2026-08-28: Claude Code exposes /compact with an optional preservation instruction and also accepts durable compact instructions in CLAUDE.md.
- 3. Evidence checked 2026-08-28: Gemini CLI exposes /compress and a model.compressionThreshold setting whose documented default is 0.5.
- 4. Evidence checked 2026-08-28: GitHub Copilot CLI exposes `/compact` with optional focus instructions and lets the operator cancel manual compaction.
- 5. Evidence checked 2026-08-28: VS Code exposes `/compact`, optional preservation instructions, a context-control action, and a setting that disables automatic compaction.
No sourced issues are attached to this row.
- Methodology note
- OpenAI — ChatGPT desktop slash commands documented · OpenAI · reviewed 2026-08-28
- Anthropic — Manage Claude Code costs documented · Anthropic · reviewed 2026-08-28
- Google — Gemini CLI commands documented · Google · reviewed 2026-08-28
- Google — Gemini CLI settings documented · Google · reviewed 2026-08-28
- GitHub — Managing context in Copilot CLI documented · GitHub · reviewed 2026-08-28
- Microsoft — Manage agent sessions in VS Code documented · Microsoft · reviewed 2026-08-28
Found a wrong or incomplete result?
Name the exact product, describe what happened, add the date, and link public evidence when available. A community report starts a review. It does not change the support state by itself.