| name | coordination-topology-architect |
| description | Choose, compare, and decompose work into the right coordination topology: dag, workflow, manager-driven team, swarm, blackboard, team-builder, or recurring loop. Use when the coordination shape is unclear, when you need topology-native breakdown instructions instead of a generic DAG, or when planning topology and runtime topology may differ. NOT for actual execution, node-level skill matching, or framework/tool installation. |
| license | Apache-2.0 |
| metadata | {"tags":["coordination","topology","architect"],"provenance":{"kind":"first-party","owners":["some-claude-skills"]},"authorship":{"maintainers":"[Repeated]"}} |
Coordination Topology Architect
Choose the coordination shape that matches the work itself.
Do not default to a DAG just because it is easy to draw. Do not choose a flashy topology because it sounds more intelligent. Match the topology to:
- how work becomes eligible
- who decides what happens next
- what shared state exists
- whether roles are fixed or dynamic
- how the system knows it is done
Load Order
Load only what the case needs.
| File | Load when | Why |
|---|
references/topology-decomposition-playbook.md | Always | Core decision rules and decomposition recipes |
references/workflow-patterns-review-gates.md | There are approvals, rejections, back-edges, or parallel review branches | Formal workflow routing and rework semantics |
references/manager-driven-team-dynamics.md | Roles are dynamic, round-based, or manager-assigned | Distinguishes real teams from fixed review loops |
references/swarm-blackboard-contract-net.md | Choosing among swarm, blackboard, or negotiated task allocation | Separates discovery, shared-state, and bid-based coordination |
references/runtime-honesty-and-legacy-labels.md | Planning topology may not equal runtime topology | Prevents fake support claims and explains legacy labels |
templates/*.yaml | You need a starting scaffold | Gives topology-native plan skeletons |
examples/*.md | The user needs concrete precedent | Few-shot examples for common topology shapes |
Decision Points
Primary Selection Tree
flowchart TD
A[What makes work become eligible?] --> B{Stable feed-forward dependencies?}
B -->|Yes| C[DAG]
B -->|No| D{Reviewer or gate decides routing?}
D -->|Yes| E[Workflow]
D -->|No| F{Manager decides which roles work each round?}
F -->|Yes| G[Manager-Driven Team]
F -->|No| H{Agents discover work from messages or signals?}
H -->|Yes| I[Swarm]
H -->|No| J{Specialists update one shared diagnostic artifact?}
J -->|Yes| K[Blackboard]
J -->|No| L{Do we first need to discover the team itself?}
L -->|Yes| M[Team-Builder]
L -->|No| N{One action repeats until a measurable stop condition?}
N -->|Yes| O[Recurring]
N -->|No| C
Fast Disambiguation Rules
Choose dag when
- dependencies are stable before execution starts
- parallelism is wave-based, not emergent
- there is no runtime branching beyond ordinary success/failure
- the main question is ordering, not coordination politics
Choose workflow when
- there is an explicit entry node and explicit review or gate nodes
- routing depends on a verdict like
approved, rejected, or escalate
- rework targets are known or at least nameable
- you need back-edges, but they are still formal and inspectable
Choose manager-driven team when
- a manager or lead should decide assignments round by round
- roles can be idle this round and active next round
- the manager may add a new role midstream
- "done" is a judgment call by the manager, not just a gate verdict
Important:
- In the current WinDAGs schema, this concept is still awkwardly labeled
team-loop in some places.
- Treat that label as legacy interchange, not as the actual mental model.
- If the process is just fixed produce -> review -> revise with static roles, that is
workflow, not a team.
Choose swarm when
- agents discover work from published findings, not central assignment
- exploration is open-ended and findings can redirect later work
- convergence is emergent, quorum-based, or timeout-based
- duplication is acceptable if it improves search coverage
Choose blackboard when
- specialists inspect one evolving shared artifact or state model
- hypotheses accumulate on a board and trigger later specialists
- the key question is "what does the shared state now imply?"
- debugging, forensics, or diagnosis dominates
Choose team-builder when
- the user does not yet know which roles or skills are needed
- the first deliverable is the working group design itself
- topology choice depends on what team you discover
Choose recurring when
- one action repeats against a measurable condition
- the work is polling, retrying, monitoring, or test-until-threshold
- decomposition would be fake complexity
Topology-Native Breakdown Recipes
DAG Recipe
- Name the concrete deliverable.
- Split into feed-forward subtasks with explicit dependencies.
- Group independent subtasks into waves.
- Add contracts at every downstream boundary.
- Stop when all terminal nodes complete.
Output shape:
- nodes
- dependencies
- waves
- contracts
Workflow Recipe
- Define the entry node.
- Identify worker nodes and every review or gate node.
- Name each routing verdict and its outgoing edge.
- Decide which rejected outputs rework which nodes.
- Bound cycles with iteration and duration limits.
- Add human escalation if the reviewer can be uncertain.
Output shape:
- nodes with roles:
coordinator, worker, reviewer, gate
- edges with conditions:
default, approved, rejected, escalate
- entry node
- cycle limits
Manager-Driven Team Recipe
- Define the shared objective.
- Define a role catalog: title, goal, capability envelope, skill.
- Define the manager skill and what evidence it sees each round.
- Specify the manager decision contract:
- assignments
- status
- reasoning
- optional new role
- role-specific feedback
- Specify round exit rules:
needs-work
almost-done
ship-it
- Specify when the manager may add or retire roles.
Output shape:
- objective
- manager skill
- role catalog
- manager decision schema
- round history
- ship condition
Swarm Recipe
- Define the seed message or stimulus.
- Define agent types by what they subscribe to and publish.
- Define discourse or message classes.
- Define convergence policy:
- quorum
- timeout
- inactivity
- quality threshold
- Define duplicate suppression and contradiction handling.
Output shape:
- seed message
- agent roster
- channels or message classes
- convergence rules
- memory or retention policy
Blackboard Recipe
- Define the board and its keys.
- Define which agents read which keys and write which keys.
- Define trigger conditions for each agent.
- Define confidence, freshness, or TTL policy per board entry.
- Define completion as a state predicate on the board.
Output shape:
- board keys
- agent triggers
- read/write permissions
- initial state
- completion condition
Team-Builder Recipe
- Extract candidate roles from the problem.
- Audit current skill coverage and identify gaps.
- Decide whether to create or import missing skills.
- Recommend a target topology after the team exists.
- Produce a team spec plus minimum match thresholds.
Recurring Recipe
- Name the one repeated action.
- Define a measurable exit condition.
- Define cadence, timeout, and escalation point.
- Decide what history persists between iterations.
- Decide whether failure means retry, sleep, or escalate.
Failure Modes
Static review loop mislabeled as team
Symptoms:
- same roles every round
- fixed produce/review/revise pattern
- no manager delegation decisions
Fix:
"Swarm" with one hidden boss
Symptoms:
- one coordinator assigns every task
- agents never discover work independently
Fix:
- either make it a real swarm with discovery and convergence, or call it
workflow or manager-driven team
Blackboard without a board
Symptoms:
- no shared artifact exists
- agents just hand results linearly to each other
Fix:
Recurring loop with no measurable stop
Symptoms:
- "keep trying until it feels good"
Fix:
- add a threshold, timeout, or escalation gate
Team-builder used as execution mode
Symptoms:
- role discovery is already settled, but the plan still claims
team-builder
Fix:
- switch to the actual execution topology after team design
Quality Gates
NOT-FOR Boundaries
- Do not use this skill to execute the plan.
- Do not use this skill to pick the best coding skill for a single node.
- Do not use this skill when the work is plainly one direct skill call.
- Do not hide runtime limitations by relabeling unsupported topologies as if they run natively.