LEAP
LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into one. It is called by the main…
Cross-framework enhancement overlay for choosing a multi-agent topology BEFORE writing any agent. A binary-question rubric — is single-agent + tools enough? do agents need to know about each other? does the output need one voice? — maps the answer to single-agent / supervisor /
$ npx -y skills add agentsope/SkillAlchemy --skill agentsop-agent-topology-selection --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agentsop-agent-topology-selectionContext preview
The summary Claude sees to decide when to auto-load this skill.
Cross-framework enhancement overlay for choosing a multi-agent topology BEFORE writing any agent. A binary-question rubric — is single-agent + tools enough? do agents need to know about each other? does the output need one voice? — maps the answer to single-agent / supervisor /
name: agentsop-agent-topology-selection version: 0.1.0 description: >- Cross-framework enhancement overlay for choosing a multi-agent topology BEFORE writing any agent. A binary-question rubric — is single-agent + tools enough? do agents need to know about each other? does the output need one voice? — maps the answer to single-agent / supervisor / swarm / sequential / hierarchical. Activates when a coder agent is tempted to "split the work into roles" or reaches for a multi-agent framework. Encodes the *selection rubric* that the per-framework skills assume but never surface. Search keywords: when to use multi-agent, single vs multi agent, do I need multiple agents, supervisor vs swarm, multi-agent vs single agent, agent team design. overlay: true cross_links: [crewai, langgraph, bounded-loop]
> Overlay posture: this skill decides *whether and which* topology. It does not > teach the API — descend to `[[crewai]]` or `[[agentsop-langgraph]]` for that. Every > load-bearing claim carries an inline source tag resolving in > `references/R1-source-evidence.md`.
---
Activate when **any** of the following fire:
"manager agent", "agents that hand off", "split this into roles", or "multi-agent".
LangGraph supervisor/swarm, OpenAI Swarm handoffs) and has **not yet** justified why a single agent with tools is insufficient.
or LangGraph supervisor vs swarm vs hierarchical-teams, and wants the *rubric*, not the syntax.
collapse agents back into one?".
Do **not** activate for: a single LLM call, a one-shot RAG query, or a fixed tool-call pipeline with no role separation. Those are the single-agent baseline this skill defends.
> Mental check: *"An agent needs agency, otherwise it's just another script."* > — João Moura, CrewAI founder `[[crewai · §1.3]]`. If you can write the control > flow in `if/else`, you do not need multiple agents — you need one agent (or a > graph) with explicit edges.
---
**Most "multi-agent" problems are single-agent + tools.** Add agents only when *context isolation* or *parallel expertise* genuinely demands it.
> "Single-agent is right for approximately 80% of cases; the trap is reaching for > multi-agent because it sounds more capable." `[[crewai · DC-1]]`
Two — and only two — forces justify a second agent:
1. **Context isolation.** One agent's working context would pollute another's (a critic that must not see its own draft's rationalisations; a tool-heavy sub-task whose 40 intermediate tool calls should not bloat the main thread). Splitting gives each agent a clean, bounded prompt. 2. **Parallel expertise.** Two *genuinely different* skills run concurrently or in strict sequence (research → write → review), where a single prompt provably cannot hold both jobs without quality collapse `[[crewai · DC-1]]`.
If neither force is present, **a single agent with the union of tools wins** — fewer hops, fewer tokens, no handoff failures. This is the baseline the rubric must beat, not the default to escape.
Q0 Is single-agent + tools enough?
(no context-isolation need, no parallel-expertise need)
YES → single-agent + tools. STOP. Do not add agents.
NO → ↓
Q1 Do the agents need to KNOW ABOUT EACH OTHER (peer handoff)?
NO → one funnels through a coordinator → SUPERVISOR
(or static order → SEQUENTIAL, if order is fixed)
YES → ↓
Q2 Must the OUTPUT speak with ONE VOICE / single audit funnel?
YES → SUPERVISOR (single user-facing persona, one funnel)
NO → SWARM (dynamic peer handoff, last-active agent remembered)
Scaling override: ≥6 specialists that group into teams → HIERARCHICAL
(supervisor-of-supervisors). Use only for grouping, not for routing.The two questions that actually separate the patterns: **(a) can sub-agents know each other, (b) is one user-facing voice mandated.** Everything else is tuning `[[langgraph · Case 2]]`.
---
Walk top-down. Each gate can send you *back down* the ladder — collapsing agents is as valid an answer as adding them.
Ask Q0. Enumerate the would-be roles. For each, ask: *would merging it into one agent's prompt + toolset actually degrade output?* If you cannot point to a concrete failure mode (style drift, missed checklist, context bloat, parallel latency), the honest answer is single-agent + tools. Exit here ~80% of the time `[[crewai · DC-1]]`.
precedes review) → **SEQUENTIAL**. Cheapest, most debuggable, 1× token baseline `[[crewai · §2.3]]`. In CrewAI this is `Process.sequential`; in LangGraph it is static edges A→B→C.
you need a coordinator or peer handoff → continue to Step 3.
Ask Q1 then Q2.
**SUPERVISOR**. Sub-agents are effectively tools the supervisor calls; the supervisor "translates" their output back to the user — which is *exactly* why it costs the most tokens `[[langgraph · Step 4]]`.
**SWARM**. Dynamic handoff, last-active agent stays active across turns, no translation step →
Turn people, methods, and experience into installable, reusable agent skills. SkillAlchemy is an open-world agent skill creation system that turns underspecified skill briefs and open-world sources into installable, reusable agent skills.
LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into one. It is called by the main…
Lens — Add a cognitive lens to any problem. It accepts a task description and produces an enhanced description that surfaces hidden dimensions, prerequisites,…
SOP for terminal-based, git-native AI pair programming with Aider (git work-tree + tree-sitter repo-map + edit-format + human-in-loop REPL). Use when editing…
Screens biomedical / life-science papers for signs of data fabrication, image manipulation, and statistical anomalies, using the detection techniques distilled…
Universal discipline for any LM-driven loop — agent retries, plan-act-observe, multi-agent handoffs, optimiser passes, test-fix cycles. Encodes the one rule…
Decision rubric for when an LM agent should write-and-run code (Program-of-Thought / code interpreter) versus reason in natural language: classify each step as…