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.

Markdown · JSON

Explore this familyMore in Models and context11 capabilities

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.

  • Supported4
  • Partial1
  • Unsupported0
  • Unknown26
  • Not applicable0

Web

9 products

Desktop

13 products

CLI

9 products

Unknown means no public evidence has been reviewed for that product and capability. It does not mean unsupported.

How statuses are assigned

Definition 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.

ChatGPTdesktop · current
Partial
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
Evidence
Claude CLIcli · current
Supported
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
Evidence
Gemini CLIcli · current
Supported
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
Evidence
Copilot CLIcli · current
Supported
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
Evidence
Copilot Chatdesktop · current
Supported
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
Evidence
  1. 1. Evidence checked 2026-08-28: ChatGPT desktop exposes /compact to compact the current chat context.
  2. 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. 3. Evidence checked 2026-08-28: Gemini CLI exposes /compress and a model.compressionThreshold setting whose documented default is 0.5.
  4. 4. Evidence checked 2026-08-28: GitHub Copilot CLI exposes `/compact` with optional focus instructions and lets the operator cancel manual compaction.
  5. 5. Evidence checked 2026-08-28: VS Code exposes `/compact`, optional preservation instructions, a context-control action, and a setting that disables automatic compaction.