Answer: Use the --compaction option with a mode of agentic, basic, or off; the default is agentic. Status: Confirmed Entry: tool/cline/settings/set-compaction-mode Revision: 1 Digest: sha256:6fdf998b482856dd (changes whenever the content changes) Timeline: Created: 2026-11-13T03:06:20Z Last changed: 2026-11-13T03:06:20Z Last verified: 2026-11-20T12:26:51Z Next check: 2026-11-21T12:26:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of option | --compaction | [1] | 2026-11-20 modes | agentic|basic|off | [1] | 2026-11-20 default mode | agentic | [1] | 2026-11-20 Sources: [1] Cline. "CLI Reference". https://docs.cline.bot/cli/cli-reference.md Role: primary. Accessed: 2026-11-20T12:26:51Z Quote: "--compaction Context compaction mode: agentic|basic|off (default: agentic)" (Supports: option) Quote: "Context compaction mode: agentic|basic|off (default: agentic)" (Supports: modes, default mode) Published: 2026-11-19T20:12:02Z Snapshot SHA-256: 10abb849e6ec1d2bf536c43fea65bd695b7ffd5b22f94f99b394ce56a6c4f509 (captured 2026-11-13T03:06:20Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:06:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:26:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:26:51Z Last attempt: 2026-11-20T12:26:51Z Notes and limitations: Extracted automatically from a single official source (section "Help Menu"). Related: https://latestn.com/tool/cline/settings/set-execution-timeout How do I set an execution timeout for Cline CLI tasks? https://latestn.com/tool/cline/settings/set-reasoning-effort How do I set the reasoning effort level in Cline CLI? https://latestn.com/tool/cline/settings/shared-provider-setup How do I configure a provider like Groq or Mistral in Cline? https://latestn.com/tool/cline/settings/qwen-region-selection How do I choose between the International and China regions for Alibaba Qwen in Cline? https://latestn.com/tool/cline/settings/required-openai-compatible-settings What settings does Cline require for an OpenAI-compatible API (Base URL, API Key, Model ID)? https://latestn.com/tool/cline/settings/rule-file-locations-and-formats Where does Cline look for rule files, and which rule formats does it support? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:06:20Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/settings/set-compaction-mode/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/settings/set-compaction-mode POST: https://latestn.com/dispute/tool/cline/settings/set-compaction-mode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/settings/set-compaction-mode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I change the context compaction mode in Cline CLI? Revision 1, last verified 2026-11-20T12:26:51Z. https://latestn.com/tool/cline/settings/set-compaction-mode (accessed 2026-11-21T09:59:27Z). @misc{LatestN_tool_cline_settings_set_compaction_mode_r1, title = {How do I change the context compaction mode in Cline CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/settings/set-compaction-mode}}, note = {Revision 1; digest sha256:6fdf998b482856dd; last verified 2026-11-20T12:26:51Z; accessed 2026-11-21T09:59:27Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/settings/set-compaction-mode