Claude Code adds idle compaction to save 1h prompt cache on idle sessions
EricBuess · x · 2026-10-16
Claude Code ships idle compaction. The prompt cache lives 1h: leave a 200K+ token session idle 54 min and it gets auto-compacted, so you return to a warm summary instead of a cold re-cache.
- Set the threshold via CLAUDECODEIDLECOMPACTMINTOKENS
- Disable with "idleCompaction": false
Related event: Claude Code Rolls Out Idle Compaction for Stale Sessions(2 posts)→
More from coding & agent
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02
- Anime.js v5 ships a visual animation editor that saves edits straight to your code — csuwildcat · 2026-12-02
- Lumine 2 claims first generalist agent to finish full AAA games like Cyberpunk 2077 — TianbaoX · 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