New in Claude Code: idle compaction The prompt cache lives 1h. Leave a 200K+ token session idle ~54 min and it gets auto-compacted, so you come back to a warm summary, not a cold re-cache. Set the Threshold: CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS Turn Off: "idleCompaction": false https://t.co/4SXaCo31JU
Ado@adocomplete37K followers29d agoViews on X
70.1KLikes
779Reposts
37Replies
74Post text
Quoted from XNew in Claude Code: idle compaction The prompt cache lives 1h. Leave a 200K+ token session idle ~54 min and it gets auto-compacted, so you come back to a warm summary, not a cold re-cache. Set the Threshold: CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS Turn Off: "idleCompaction": false https://t.co/4SXaCo31JU
This entry is part of the launch video directory and the AI Coding launch videos. Counts are read from X every 15 minutes; see the methodology.