agent-sorting-hat
Diagnose agent role drift, team-structure problems, operating issues, and role misalignment; then redesign roles, boundaries, and team placement before persona refinement.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/child2d/agent-sorting-hatAgent 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:
- The user only wants persona refinement, tone reshaping, identity-binding, or stronger character feel.
- Use
ollivanders-agent-shopinstead.
- Use
- 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.
- 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:
- 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:
- 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:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-child2d-agent-sorting-hat": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
ollivanders-agent-shop
Design and land persona-driven agents by matching role, work identity, cognitive structure, personality grounding, identity-binding, and file skeleton into one coherent agent. Use when creating a new agent, reshaping an existing agent’s persona, or turning a character concept into a working agent — especially when the goal is not just a prompt, but the right agent for the right work.
Weasleys Wizard Wheezes Obsidian Kanban
Skill by child2d