AMAZINGINDEX.COM 日报快照
48.3
VOL. 2026.08
2026.08.17
← 返回 2026.08.17 日报
日报快照 · Daily Snapshot
NO. 005

Anthropic 公开 Claude 系统提示词

#ARTICLE HackerNews 2026.08.17
推荐指数 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 条评论

核心争论:系统提示词应精简高效还是详尽冗长,以及是否损害模型性能

tosh

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

alansaber

I guess it's more performant to stuff in a bigger system prompt now that models can support larger input sizes

cubefox

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.

查看原文 →