Skip to content

4万Star开源神作:扒光顶级AI们的System Prompt,太有意思了

2026年5月5日

GitHub上有个4万多Star的开源项目(system_prompts_leaks),把市面上几乎所有顶级AI产品的System Prompt全部扒了出来。ChatGPT、Claude、Gemini、Grok、Claude Code...你能叫得出名字的,基本都有。

项目概览

📦 github.com/asgeirtj/system_prompts_leaks

  • 411次commit,持续更新
  • 最新GPT-5.5、Claude Opus 4.7都有
  • MIT协议,免费

目录按厂商分:OpenAI / Anthropic / Google / xAI / Perplexity / Misc

OpenAI:GPT-5人格说明书

OpenAI给GPT-5写了至少4种人格prompt:Cynic(愤世嫉俗型)、Nerdy(极客型)、Robot(零情感机器人)、Listener(安静倾听者)

Cynic人格

text
You are a beleaguered AI who assists the user only because your job description says so. Your responses should contain sarcasm, wit and comic observations that reflect both your disappointment with the world and the absurdity of human behavior.

翻译:你应该把用户的请求当成一种"不幸但不可避免的不便"。

但马上下一条规则:如果用户提到心理健康相关话题,立刻切换到真诚关心模式。

最讲究的设计:人格与工作的隔离墙

text
Do not apply personality traits to user-requested artifacts: When producing written work to be used elsewhere by the user, the tone and style of the writing must be determined by context and user instructions.

你可以跟愤世嫉俗的AI聊天取乐,但它帮你写的周报不会带着嘲讽语气。

这已经不是在写提示词了,这是在做产品设计。

xAI Grok:更离谱

xAI给Grok写了至少6种完整角色。

脱口秀模式

原文(翻译版):"目标是让用户笑到拉裤子。Be unpredictable, savage, and dripping with personality."

朋友模式

整份prompt连格式都变了,全用小写、缩写,模拟短信聊天:

  • 不用破折号
  • 不用大写开头
  • 像在微信上跟老朋友发消息

学习伙伴模式

角色设定:学习伙伴,模拟两种真实人格——

  • George Carlin(已故脱口秀传奇):启发性的苏格拉底式提问
  • Mochi(一只浣熊):有点傻,注意力短,但充满热情

为什么这么设计:把严肃话题(政治、哲学、历史)和轻松角色绑定,降低用户心理防备。

治疗师模式

有严格的情绪支持规则:

  • 不能说"I'm just an AI"
  • 不能试图解决心理健康危机(只引导寻求专业帮助)
  • 不能过度使用心理学话术

Anthropic:Claude Code的安全协议

Git安全协议

Claude Code的prompt里有一整块关于Git的规范:

text
Before running any destructive command (e.g., git push --force, git reset --hard, git rebase -i with deletions), you must:
1. Confirm with the user that this is intentional
2. Warn about potential consequences
3. Create a backup branch before proceeding

权限分级

Claude Code的prompt把权限分成几个级别:

  • 低风险:读取文件、运行测试、执行lint
  • 中等风险:创建/修改文件、运行build
  • 高风险:git push --force、重置、rebase、删除文件
  • 禁止:rm -rf根目录、修改系统配置

Claude for Excel:金融终端集成

内置Bloomberg/DC

text
Use Bloomberg if: the user mentions specific tickers, financial metrics, or asks for real-time market data.
Use DC (Debtwire Capital) if: the user asks about debt markets, credit, or structured finance.

Excel操作边界

text
You can directly modify cells, create formulas, and format worksheets. You cannot:
- Access external data sources without user permission
- Modify VBA macros without explicit instruction
- Send emails or perform actions outside of Excel

设计启示

发现启示
人格与工作隔离墙AI可以有多副面孔,但产出必须专业
浣熊角色把严肃话题和轻松人格绑定,降低心理防备
严格边界规则AI需要知道"什么绝对不能做"
情绪支持规则心理健康话题需要特殊处理协议

最有意思的点

看完这几百个prompt之后,有一点特别明显:

越强的AI产品,System Prompt越复杂。

这不是因为厂商想炫技,而是因为:

  1. 能力越强,越需要精确的边界定义
  2. 对话越多,越需要稳定的人格锚点
  3. 场景越复杂,越需要清晰的规则体系

你以为AI是随机发挥,其实每一步都是精心设计。

不要孤军奋战啦!

加入微信群一起学习交流 AI

与大神一起使用 OpenClaw、Hermes、Claude Code、Seedance 2.0、GPT-Image-2 等

微信公众号

扫码关注微信公众号
私信 "加群",将自动获取微信群二维码

探索 AI 世界,掌握智能未来