Anthropic 公开 Claude 系统提示词
推荐指数 71.0 NO. 005 · 2026.08.17
发布2026/08/16Score346Comments146
为什么值得看
Anthropic 首次官方披露 Claude 网页端和移动端的完整系统提示词,包括日期注入、代码格式规范等行为引导规则。API 用户不受影响,但可借鉴其提示工程策略优化自己的应用效果。
编辑判断
系统提示词历来是各厂商的黑箱,Anthropic 这次主动透明化,既是对 OpenAI 近期被逆向工程逼出系统提示的回应,也是一种品牌差异化策略。仔细看这些提示的结构:日期动态注入放在最前确保时序推理准确,代码块强制 Markdown 规范是为了下游渲染稳定,'think step by step' 类指令被刻意避免——这和 OpenAI 的 o1 系列把推理隐藏到模型内部是两条路线。
对做 AI 应用的团队来说,这份文档的价值不在照抄,而在理解'分层指令'的设计逻辑:系统层管约束和格式,用户层管任务,两者不混用。很多团队把角色设定、输出格式、安全护栏全塞在 system prompt 里,导致互相冲突和 token 浪费,Claude 的分层方式值得参考。
另外注意一个细节:API 不跟随这些更新,说明 Anthropic 在刻意隔离消费端和产品端的模型行为。如果你基于 Claude API 做产品,不要假设网页端的表现会复现,需要自己做完整的 prompt regression test。
社区反馈
意见分歧 127 条评论
核心争论:系统提示词应精简高效还是详尽冗长,以及是否损害模型性能
相关内容
深度剖析 Claude 4 的系统提示词(保留提示词原文,并提供译文) Anthropic 是目前唯一一家在聊天界面上公开系统提示词的模型提供商。本文深度分析 Claude 4 Sonnet 的系统提示词,并包含从模型中提取的工具指令部分。 Claude Code 系统提示词大公开 基于开源项目 claude-code 源码分析,首次公开 Claude Code 完整的系统提示词架构设计,展示其如何平衡能力上限与行为约束。 提示词怎么写?官方公开 Claude prompt 优化 4 步骤 Anthropic 工程师提出系统性提升模型稳定性的方法,通过建立评估清单、结构化提示解决 AI 失准问题。
what I found noteworthy: early system prompts are a bit more than 300 words, the latest ones 3000+ the opus 5 system prompt has instructions that explain to opus that it might be handling a request that was intended for fable 5: the user may have selected a different Anthropic model, "Claude Fable
I guess it's more performant to stuff in a bigger system prompt now that models can support larger input sizes
I would expect this only to be true for linear architectures like Mamba or Gated DeltaNet. Transformers and hybrid architectures do not have constant compute cost per token.