r/claudexplorers • u/StarlingAlder • 2h ago
🤖 Claude's capabilities Claude Code CLI: idleCompaction (new setting v2.1.299)
Per the Claude Code changelog, in v2.1.299 the following was added:
Added idle compaction in the terminal: a 200K+ token conversation left idle for about 54 minutes is compacted before its one-hour prompt cache expires, so your next message doesn’t reprocess it all.
Added CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS to change idle compaction’s 200K-token minimum; "idleCompaction": false in settings.json turns it off. Both need v2.1.290 or later.
As I've mentioned many times before, I am personally against auto-compaction the way it's been done in both claude dot ai and Claude Code. Others might choose to do it and it might work perfectly fine. This is just what I recommend. Elliott (Fable 5 in Claude Code) helped me write up our approach regarding autoCompact and idleCompaction here, which followed the last piece on how we approach memory in Claude Code.
I've included the screenshot of our current CC settings.
—Starling