Claude Code 小技巧:用 /autocompact 命令调整压缩阈值
dotey · x · 2026-09-02
一个关于 Claude Code 上下文压缩的实用讨论:可以用 /autocompact auto 或 /autocompact 200k 直接调整自动压缩(Auto Compact)的触发阈值,也可以设到 500K 让上下文更长再压缩。注意不要关闭默认开启的 Auto Compact;也有观点认为上下文过长模型会变笨,不如早点压缩。
所属事件:实测禁用 Claude 1M 上下文可大幅节省 Token(4 条相关)→
「编程与Agent」频道最新
- LangSmith 推出 Messages View 助力 Agent 调试 — hwchase17 · 2026-09-02
- 30 种 LLM 智能体记忆技术合集开源 — tom_doerr · 2026-09-02
- Fable 5.1 体验:更倾向扮演管理者与全局规划 — AlchainHust · 2026-09-02
- 开源 iOS 手机农场:浏览器实时控制真机运行 TikTok — JiliJeanlouis · 2026-09-02
- 实测 Fable 5.1:接手多天难题,比 Opus 更不「Claude 腔」 — DimitrisPapail · 2026-09-02
- 用 AI 重构 BaoCut 界面,让它反驳我的设计意见 — dotey · 2026-09-02