標準作業程序
這是什麼
以技能或工作流程筆記形式編碼的可重複程序。
白話解釋
想像一份為代班廚師寫的食譜:食材、步驟和最後的點綴都寫得清清楚楚,讓從未做過這道菜的人也能照著做出一盤成品,而不需要打電話問原本的廚師。標準作業程序就是 Hermes 版本的書面食譜——一個任務的步驟寫得足夠清楚,讓完全不同的 agent(而不只是開始工作的那一個)也能執行完成。
為什麼重要
在 agent 團隊委派中將任務移交給子 agent,只有在程序明確到足以讓不同的 agent 執行個體能在任務中途接手時才能運作——標準作業程序正是將這種明確性編碼,而不是依賴單一連續對話可能依賴的內隱知識。它們介於一次性技能和完整工作流程之間,可重複使用但不受限於單一自動化。一個在重複執行時表現一致的 SOP,通常是最清楚的訊號,表示該進行自我改善技能的檢查了。
How it works
A SKILL.md file is written with explicit sections — when to use it, the numbered procedure, known pitfalls, and how to verify it worked — rather than as a loose note only the original agent instance would understand (website/docs/user-guide/features/skills.md). That explicitness matters most at a real handoff boundary: when one agent spawns another through delegate_task, the child starts as a brand-new AIAgent with no shared conversation history, no memory, and no context files — its entire task definition is whatever goal and context string the parent passed, plus any skill or SOP the system prompt references. An SOP that passes that handoff cleanly is one whose steps are complete enough to be followed by an agent that has never seen the work before.