Claude Code now auto-runs /compact while idle to dodge expensive cache misses
Neither-Eye-8906 · reddit · 2026-10-11
A Reddit user noticed that after leaving Claude Code idle for about an hour, it had automatically run /compact to avoid an expensive prompt-cache miss. The post suggests Claude Code now proactively compacts context during idle periods, trading a smaller rebuild cost for avoiding a full re-read of long context once the cache expires.
Related event: Claude Code now auto-compacts idle conversations to save cache credits(3 posts)→
More from coding & agent
- Agent trace eval guide: matching full-trace LLM reads at ~80% lower token cost — CShorten30 · 2026-12-02
- mdsvex 1.0 ships: full rewrite makes it a general-purpose markdown toolkit beyond Svelte — erhannah · 2026-12-02
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Why a single passing agent test is mathematically meaningless — abenko83 · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02