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.
More from coding & agent
- Prime Sandboxes Adds Filesystem Checkpoints to Fork Agent Rollouts Mid-Trajectory — samsja19 · 2026-10-15
- Every to host behind-the-scenes session on reporting Codex with Codex — every · 2026-10-15
- x402 transactions on Base jump 65% in three quarters, Chainalysis says — kleffew94 · 2026-10-15
- Pydantic AI author boosts PiDrei, a Python port of Pi using Rust-based Monty — samuelcolvin · 2026-10-15
- Oracle ships graph-aware memory framework for AI agents with typed relations — dr_cintas · 2026-10-15
- DuoDiscover Tackles the Evaluation Bottleneck, Claims 2.68x TPU Kernel Gains — stanfordnlp · 2026-10-15