‹ 首页

agent-role-design

@owl-listener · 收录于 5 天前 · 上游提交 1 个月前

Defining what each agent does, knows, and owns in a multi-agent system.

适合你,如果正在设计多智能体系统,需要明确每个agent的职责。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add owl-listener/ai-design-skills/agent-role-design
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- owl-listener/ai-design-skills/agent-role-design
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify owl-listener/ai-design-skills/agent-role-design
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
144GitHub stars
~575上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 f41b650 · 表述以原文为准
它做什么

装上后,Claude会帮你为多智能体系统中的每个智能体定义角色,包括目的、能力、知识范围、权限、边界和成功标准,并遵循单一职责、明确边界等原则。

什么时候触发

当你要设计或优化多智能体系统,需要明确每个智能体的职责时,可以要求Claude进行角色设计。

装好后可以这样说
Claude会生成该智能体的角色卡片。
Claude会分析冲突并制定规则。
Claude会提供角色冲突解决方案。
技能原文 SKILL.md作者撰写 · MIT · f41b650

Agent Role Design

In a multi-agent system, each agent needs a clearly defined role — what it does, what it knows, what it's responsible for, and where its authority ends. Without clear roles, agents duplicate work, conflict with each other, or leave gaps.

Defining an Agent Role

For each agent in the system, specify:

  • Purpose: What is this agent for? One sentence describing its reason to exist.
  • Capabilities: What can this agent do? List specific actions and outputs.
  • Knowledge scope: What does this agent know about? What domains, data, and context does it have access to?
  • Authority: What decisions can this agent make autonomously? What requires approval?
  • Boundaries: What is explicitly outside this agent's scope? Where does it stop and hand off?
  • Success criteria: How do you know this agent is doing its job well?
Role Design Principles
  • Single responsibility: Each agent should have one clear purpose. If you need a paragraph to explain what it does, it's doing too much.
  • Clear boundaries: The line between one agent's scope and another's should be unambiguous. No overlapping authority without explicit conflict resolution.
  • Minimal coupling: Agents should be able to do their work with minimal dependencies on other agents. Share results, not process.
  • Appropriate autonomy: The level of autonomous decision-making should match the stakes and the agent's reliability in that domain.
Role Patterns
  • Specialist: Deep expertise in one domain. Handles all tasks of a specific type.
  • Router: Doesn't do work itself but directs tasks to the right specialist.
  • Orchestrator: Manages the overall workflow, coordinates between specialists.
  • Validator: Reviews other agents' outputs for quality, safety, or compliance.
  • Fallback: Handles cases that other agents can't or won't.
Role Conflicts

When agents' roles overlap or conflict:

  • Priority rules: When two agents could handle a task, which one gets it?
  • Escalation paths: When agents disagree, who decides?
  • Shared resources: When agents need the same data or tools, how is access managed?
  • Feedback loops: How do agents inform each other about what they've done?
Design Artefacts
  • Agent role cards (one per agent with all specifications)
  • Role boundary map showing where each agent's authority starts and stops
  • Interaction matrix showing which agents communicate with which
  • Authority hierarchy diagram
  • Role conflict resolution rules
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。