Skip to content
Trending storyDeveloping

Claude Code idle compaction can be turned off, with a configurable trigger threshold

1 report1 sourceupdated 3 hours ago

What happened

AI digest

An October 15 tip explains what Claude Code idle compaction does and how to configure it: idle compaction makes Claude continue from a summary instead of the full context. The behavior can be turned off by setting "idleCompaction": false in settings. To customize the trigger threshold for idle compaction, use CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS; the reported default threshold is 200k. The tip covers both turning idle compaction off and adjusting the trigger threshold.

Written by AI from the coverage · updated 1 hour ago

Coverage

Follow the reports to see the story from different sides.

Oct 15
  1. AI HOT · Tips & opinions
    Claude Code 空闲压缩可关闭,并支持自定义触发阈值

    Claude Code 的空闲压缩会让 Claude 从摘要而非完整上下文继续,可通过设置关闭该行为。在 settings. 中设置 "idleCompaction": false 可关闭空闲压缩,通过 CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS 可自定义阈值,默认为 200k。

Heat over time

Not enough continuous observations to draw a trend yet.