老金
1.3K posts

老金
@freeman1266
🔥 大龄程序员 | 前大厂工程师 | 独立开发者 技术热情满满,专注学习与分享 AI、软件工程、工程管理知识 💡


What goes into the system prompt vs. what goes into an Agent Skill? Agent’s system prompt is for identity, constraints, and persistent context. • What the agent is and what it should always or never do • How it should generally approach problems (reasoning style) • Persistent context needed for every interaction Agent Skills are for capabilities the agent can choose to invoke when relevant. • Dynamic context • Performing actions with side effective (e.g., calling APIs) • Anything that’s optional depending on the situation Practical rules of thumb: If it’s a specific action the agent does, it goes in a skill. If it’s the identity of who the agent is and how it thinks, it goes in the system prompt. If it changes per-request, it goes in a skill. If it's stable across all requests, it goes in the system prompt.














