Claude 5 话太多简直没救,得用这套方法强行让它闭嘴
Opus 5 现在的状态就像个喋喋不休的长辈,你让他改一行代码,他能给你讲一段关于这段代码的家族史。最离谱的是,很多人的
下一篇
GLM-5.3 这种号称有网络攻击能力的编程模型到底能不能在实战里用 →
CLAUDE.md 里明明写了 "Be concise",在 4.x 版本还管用,到了 5 代基本被它直接无视了。我试了多种方案,发现单纯写“简洁点”这种模糊指令根本没用,得给它具体的“形状”定义。如果你也受够了那种刷屏的废话,可以尝试以下两种实操方案:
一、在 CLAUDE.md 中定义具体的输出形状
不要写“请简洁”,要给它一套强制性的排版逻辑。把下面这段直接贴进你的 CLAUDE.md,效果比单纯要求简洁好得多:

## Reply shape
- Lead with the answer in the first sentence, before any table, list, or caveat.
- Carry status, comparisons, and any multi-item result in a `table` or `bullet` list, never a prose paragraph.
- Cap unbroken prose at two paragraphs; if a third starts, convert the run to a `bullet` list or `table`.
- Give each item its own `bullet` row, not a clause buried across sentences.
- Compose in this shape from the start; do not draft prose and reshape it afterward.但这招在 Opus 5 上并不绝对稳定,因为 CLAUDE.md 的指令是以用户消息形式进入上下文的,很容易在对话多了之后被模型“遗忘”或者被其他指令覆盖。
二、配置 Claude Code 的 Output Styles(最高优先级)
如果你在用 Claude Code,最硬核的解决方法是直接修改系统提示词。Output Style 会被附加到 System Prompt 的末尾,并且在每次对话时都会被重新激活,权重远高于 CLAUDE.md。
具体部署步骤:
1. 在项目根目录下创建路径 .claude/output-styles/reply-shape.md
2. 写入以下内容(必须包含 Frontmatter 头部信息,否则不生效):
---
name: Reply shape
description: Answer-first, scannable replies; tables and bullets over prose walls
keep-coding-instructions: true
---
- Lead with the answer in the first sentence, before any table, list, or caveat.
- Carry status, comparisons, and any multi-item result in a `table` or `bullet` list, never a prose paragraph.
- Cap unbroken prose at two paragraphs; if a third starts, convert the run to a `bullet` list or `table`.
- Give each item its own `bullet` row, not a clause buried across sentences.
- Compose in this shape from the start; do not draft prose and reshape it afterward.通过这种方式,模型在生成回复前会被强制要求检查格式,能有效砍掉那些毫无意义的开场白和总结陈词。
