Claude Code提示词与配置约 1 分钟

长会话默认400k压缩

400k auto-compact is now default

要点

  1. 多数 1M 上下文模型的 Claude Code 正在把自动压缩默认阈值改为 400k,有助于长会话节省用量
  2. 若仍需完整 1M 窗口,可运行 /autocompact 1m,或在 /config 里改回

原帖开头

400k auto-compact is now rolling out as the default in Claude Code for most 1M models! This should help with your usage if you run longer sessions You can still keep the full 1M window by running "/autocompact 1m" or in /config