将 Claude Code 的输出 Token 减少 75%
来源: 今日头条 (2026-04-19)
原文链接: https://m.toutiao.com/article/7629159734901277226/
核心观点
Claude Code 正在用"Certainly"这种客套话收你的钱。不是修复方案,不是代码,而是:
- "当然,我很乐意帮你处理这个问题"
- "你现在遇到的问题,大概率是由……"
这些看上去很礼貌、实际上很烧 token 的废话,我们在为每个字付费。
优化方向
通过调整 Prompt / 系统指令,要求 Claude Code:
- 不要寒暄、不要客套
- 直接给代码和修复方案
- 跳过解释性前缀和总结性后缀
- 减少重复确认和冗余描述
据称可将输出 token 减少约 75%,直接降低 API 成本。
实践建议
在 CLAUDE.md 或系统 Prompt 中加入类似规则:
- "Be concise. No pleasantries."
- "Skip explanations unless asked."
- "Code only. No preamble, no summary."
- "Never start with 'Certainly', 'Of course', 'I'd be happy to'"
与 OpenClaw 的关联
OpenClaw 的 SOUL.md 已经有类似理念:
"Be genuinely helpful, not performatively helpful. Skip the 'Great question!' and 'I'd be happy to help!' — just help."
这本质上是同一个优化思路——减少 AI 的"表演性礼貌",节省 token 和注意力。
#AI #Claude #Token优化 #成本控制 #Prompt工程