How to disable Claude Code idle compaction and set a custom token threshold
EricBuess · x · 2026-10-15
Lydia Hallie shared details on Claude Code's new idle compaction: Claude will continue from a summary instead of your full context. You can turn it off with "idleCompaction": false in settings..
A custom trigger threshold (default 200k tokens) can be set via the CLAUDECODEIDLECOMPACTMINTOKENS environment variable.
Related event: Claude Code Rolls Out Idle Compaction for Stale Sessions(2 posts)→
More from coding & agent
- Hugging Face releases RL-tuned Inkling-2-Mini: same Terminal-Bench score in 25min instead of 60 — yb2698 · 2026-12-02
- Open-Source Local MCP Server Connects Claude to D2L Brightspace, Read-Only — Illustrious_Key_9888 · 2026-12-02
- Domain Trust: A Security API and MCP Server for AI Agents to Vet Domains Before Interacting — Significant_Text8102 · 2026-12-02
- Subsola: a free open-source 3D map of underground utilities in 10 US cities, built with Claude Code — anselm · 2026-12-02
- "CI/CD is dead": Developer lays out the AI Software Factory replacing traditional pipelines — Pavan_Belagatti · 2026-12-02
- Codex lead confirms upgraded harness not shipped yet; current one 'will seem primitive in 2-3 months' — VraserX · 2026-12-02