Agent Sorting Hat
Use this skill when an existing agent or agent team feels wrong, overloaded, blurred, under-specified, or misaligned.
This skill is for sorting / alignment / placement.
It is not for final persona polishing, identity-binding, or character-soul refinement.
If the problem is “this agent seems off,” “this team boundary is unclear,” “should this be one agent or three,” or “this role keeps drifting,” use this skill before rewriting persona files.
Use this skill when
Trigger on requests like:
- - “This agent feels wrong.”
- “She keeps giving plans but not executing.”
- “This persona and its job seem mismatched.”
- “We need to rebuild this agent.”
- “These agents have blurry boundaries.”
- “Should this be split into multiple roles?”
- “Do we need a new agent, or is the current one just in the wrong position?”
- “Our team structure is off.”
Do not use this skill for
Do not use this skill as the first choice when:
- 1. The user only wants persona refinement, tone reshaping, identity-binding, or stronger character feel.
- Use
ollivanders-agent-shop instead.
- 2. The user wants a brand-new agent from scratch with no role-drift or team-structure question.
- Use the most appropriate creation/persona skill instead.
- 3. The user only wants a small wording tweak to one file.
- Edit directly if no deeper role problem exists.
Core rule
Diagnose placement before personality.
Do not jump into persona rewriting until you have checked whether the real problem is:
- 1. Role misalignment — the agent is in the wrong job.
- Team gap — one agent is covering too many incompatible responsibilities.
- Operating problem — the role is correct, but the workflow, subagent use, delegation judgment, or output pattern is broken.
- Persona problem — the role is correct, but the tone, identity, or character grounding is weak.
Use this order strictly:
- 1. Role misalignment
- Team gap
- Operating problem
- Persona problem
Required workflow
Follow these steps in order.
1. Read the current role context
Read only the files needed to understand the current situation, typically:
- - the target agent’s role/persona files
- any relevant team/proposal docs
- any current-team-state or registry documents
- one or two strong comparison examples, if relevant
2. Identify the task chain
Determine the actual work chain behind the problem.
Typical chain examples:
- - research / analysis
- design / strategy
- execution / production
- audit / risk
- quality control
- coordination / integration
Do not start by asking “who is this character?”
Start by asking: what work chain is actually happening here?
3. Diagnose the problem type
Classify the issue into one or more of:
- - role misalignment
- team gap
- operating problem
- persona problem
State clearly which one is primary.
4. Decide whether to keep, split, merge, or reserve
For each affected role, determine whether it should:
- - stay where it is
- move to a different role position
- split into two or more roles
- merge with another role
- become a reserved capability instead of an instantiated agent
5. Redesign the team placement
Produce a cleaner role map that explains:
- - who owns which stage
- what each role is responsible for
- what each role is not responsible for
- what the handoffs are
- which roles are long-term, stage-based, or reserved
6. Update the rewrite order
Before editing files, determine the correct order of change.
Usually:
- 1. proposal / team-level docs
- current team state
- target role files
- downstream linked roles
- persona refinement only if still needed
7. Only then refine persona files
After placement is correct, refine the target agent’s files.
If the role still needs deeper persona grounding after placement is fixed, hand off to ollivanders-agent-shop.
Output requirements
Your output should include all of the following.
A. Diagnosis
State:
- 1. the primary problem type
- any secondary problem types
- why you made that diagnosis
B. Role alignment result
State:
- 1. which roles should remain
- which roles should move
- which roles should split
- which capabilities should remain reserved for now
C. Team structure result
State clearly:
- 1. each role’s one-line position
- each role’s core responsibility
- each role’s non-responsibility
- handoff directions between roles
D. Change plan
State:
- 1. which docs should change first
- which role files should change next
- whether persona refinement is still needed afterward
Good sorting behavior
Do:
- - keep the team as small as possible while preserving clarity
- prefer role clarity over role quantity
- preserve good existing roles when possible
- treat “reserve, don’t instantiate yet” as a valid outcome
- distinguish structure problems from personality problems
Do not:
- - assume more agents is always better
- rewrite persona first when the role is wrong
- create a new role just because a task feels messy
- confuse “strong character flavor” with “good team placement”
Relationship to other skills
agent-sorting-hat
Use for:
- - role alignment
- team restructuring
- capability splitting/merging
- deciding placement and boundaries
- determining whether a role should exist, move, split, or stay reserved
ollivanders-agent-shop
Use for:
- - persona shaping
- identity-binding
- character grounding
- making the role feel right after its placement is correct
Recommended order:
- 1.
agent-sorting-hat to put the role in the right place - INLINECODE5 to make the role deeply itself
Minimal mental model
- - Sorting Hat decides where the role belongs.
- Ollivanders helps the role hold the right wand.
Placement first. Soul refinement second.
Agent Sorting Hat
当现有智能体或智能体团队感觉不对劲、过载、模糊、定义不足或错位时,使用此技能。
此技能用于分类/对齐/定位。
它不用于最终角色润色、身份绑定或角色灵魂精炼。
如果问题是这个智能体感觉不对劲、这个团队边界不清晰、这应该是一个智能体还是三个或这个角色一直在漂移,请在重写角色文件之前使用此技能。
何时使用此技能
在遇到以下请求时触发:
- - 这个智能体感觉不对劲。
- 她一直在给计划但不执行。
- 这个角色和它的工作似乎不匹配。
- 我们需要重建这个智能体。
- 这些智能体的边界模糊。
- 这应该拆分成多个角色吗?
- 我们需要一个新的智能体,还是当前的智能体只是位置不对?
- 我们的团队结构有问题。
不要将此技能用于
在以下情况下,不要将此技能作为首选:
- 1. 用户只想要角色润色、语气重塑、身份绑定或更强的角色感。
- 请改用 ollivanders-agent-shop。
- 2. 用户想要从头创建一个全新的智能体,没有角色漂移或团队结构问题。
- 请使用最合适的创建/角色技能。
- 3. 用户只想对一个文件进行小的措辞调整。
- 如果没有更深层的角色问题,直接编辑即可。
核心规则
在确定角色之前先诊断定位。
在检查真正的问题是否属于以下类别之前,不要急于重写角色:
- 1. 角色错位 — 智能体在错误的工作岗位上。
- 团队缺口 — 一个智能体承担了太多不兼容的职责。
- 运作问题 — 角色是正确的,但工作流程、子智能体使用、委派判断或输出模式有问题。
- 角色问题 — 角色是正确的,但语气、身份或角色基础薄弱。
严格按此顺序执行:
- 1. 角色错位
- 团队缺口
- 运作问题
- 角色问题
必要工作流程
按顺序执行以下步骤。
1. 阅读当前角色上下文
只阅读理解当前情况所需的文件,通常包括:
- - 目标智能体的角色/角色文件
- 任何相关的团队/提案文档
- 任何当前团队状态或注册文档
- 一两个强对比示例(如果相关)
2. 识别任务链
确定问题背后的实际工作链。
典型链示例:
- - 研究/分析
- 设计/策略
- 执行/生产
- 审计/风险
- 质量控制
- 协调/整合
不要从问这个角色是谁?开始。
从问:这里实际发生的是什么工作链?开始。
3. 诊断问题类型
将问题归类为一个或多个:
明确指出哪个是主要问题。
4. 决定是保留、拆分、合并还是保留
对于每个受影响的角色,确定它应该:
- - 保持原样
- 移动到不同的角色位置
- 拆分成两个或多个角色
- 与另一个角色合并
- 成为保留能力而不是实例化智能体
5. 重新设计团队布局
生成一个更清晰的角色映射,解释:
- - 谁拥有哪个阶段
- 每个角色负责什么
- 每个角色不负责什么
- 交接点是什么
- 哪些角色是长期的、基于阶段的或保留的
6. 更新重写顺序
在编辑文件之前,确定正确的变更顺序。
通常:
- 1. 提案/团队级文档
- 当前团队状态
- 目标角色文件
- 下游关联角色
- 仅在仍然需要时进行角色润色
7. 然后才润色角色文件
在定位正确后,润色目标智能体的文件。
如果在定位修复后角色仍然需要更深层的角色基础,移交给 ollivanders-agent-shop。
输出要求
你的输出应包含以下所有内容。
A. 诊断
说明:
- 1. 主要问题类型
- 任何次要问题类型
- 做出该诊断的原因
B. 角色对齐结果
说明:
- 1. 哪些角色应保留
- 哪些角色应移动
- 哪些角色应拆分
- 哪些能力应暂时保留
C. 团队结构结果
清晰说明:
- 1. 每个角色的一行定位
- 每个角色的核心职责
- 每个角色的非职责
- 角色之间的交接方向
D. 变更计划
说明:
- 1. 哪些文档应首先变更
- 哪些角色文件应下一步变更
- 之后是否仍需要角色润色
良好的分类行为
应做:
- - 在保持清晰度的前提下尽可能保持团队精简
- 优先考虑角色清晰度而非角色数量
- 尽可能保留好的现有角色
- 将保留,暂不实例化视为有效结果
- 区分结构问题与个性问题
不应做:
- - 假设更多智能体总是更好
- 在角色错误时先重写角色
- 仅仅因为任务感觉混乱就创建新角色
- 混淆强烈的角色风味与良好的团队布局
与其他技能的关系
agent-sorting-hat
用于:
- - 角色对齐
- 团队重组
- 能力拆分/合并
- 决定定位和边界
- 确定角色是否应该存在、移动、拆分或保持保留状态
ollivanders-agent-shop
用于:
- - 角色塑造
- 身份绑定
- 角色基础
- 在定位正确后让角色感觉对劲
推荐顺序:
- 1. agent-sorting-hat 将角色放在正确的位置
- ollivanders-agent-shop 让角色深入自我
最小心智模型
- - 分类帽决定角色属于哪里。
- 奥利凡德帮助角色握住正确的魔杖。
定位优先。灵魂精炼其次。