Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add j4flmao/agent-skills --skill multi-agent-topologygit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/j4flmao/agent-skills/multi-agent-topology)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/multi-agent-topology"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/multi-agent-topology/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/multi-agent-topology"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/multi-agent-topology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01521 |
| Opus 5.5 | $0.00034 | $0.00608 |
| Sonnet 5.5 | $0.00017 | $0.00304 |
| Haiku 4.5 | $0.00009 | $0.00152 |
Grade A, and why
multi-agent-topology scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multi-Agent Topology
Purpose
A topology is the graph of who talks to whom, who decides, and what data crosses each edge. Adding agents adds latency, cost, and failure points, so the first question is whether more than one agent is needed at all. When it is, pick the simplest topology that gives each agent a narrow role, a small tool set, and a typed contract with its neighbours.
Agent Protocol
Trigger
"supervisor", "worker agents", "agent hierarchy", "agent pipeline", "handoff", "debate", "critic agent", "should this be multi-agent".
Input Context
- Task decomposition: subtasks, dependencies, and which need different tools or permissions.
- Tool count and context size if done by one agent.
- Latency/cost budget; need for parallelism.
- Where human approval is required.
Output Artifact
Topology diagram (Mermaid), role table, edge contracts (typed messages), termination and failure rules.
Response Format
Topology: {single|pipeline|supervisor-worker|hierarchical|handoff|debate}
Why multi-agent: {tool split | context isolation | parallelism | separation of duties}
Roles: {agent: responsibility, tools, can_write?}
Edges: {from -> to: message schema}
Termination: {condition}; max rounds={n}
Failure: {retry | reroute | escalate}
Completion Criteria
- Single-agent baseline considered and rejected with a reason.
- Each agent has a small, cohesive toolset (split past ~10-15 tools or on eval evidence) and least privilege (reviewers read-only).
- Every edge has a typed schema.
- Round/turn limits on every cycle.
- HITL breakpoint before production-mutating nodes.
When Multiple Agents Pay Off
| Reason | Example |
|---|---|
| Tool/permission separation | Coder can write files; reviewer can only read |
| Context isolation | Research sub-agents each read many pages, return short summaries |
| Parallelism | Independent subtasks fan out and run concurrently |
| Separation of duties | Generator and independent verifier |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · +4 lines · -54 tokens per session 2b8c14e5a875
- 1mo ago Changed · +87 lines · +121 tokens per session 4ea9c11033d7
- 3mo ago First seen · 59 lines · 18 tokens per session scan A deda9caa3ff2
multi-agent-topology is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 85 tokens to every session and 1,521 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
multi-agent-topology compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| multi-agent-topologyj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 85 | Claude Code, Codex |
| stream-chainruvnet/agentic-flow | Skill | 849 | 23d ago | none | A | 18 | Claude Code |
| stream-chainproffesor-for-testing/agentic-qe | Skill | 539 | 2d ago | MIT | A | 18 | Claude Code |
| stream-chainspencermarx/open-code-review | Skill | 398 | 23d ago | Apache-2.0 | A | 18 | Claude Code |
| stream-chainruvnet/RuView | Skill | 106k | today | MIT | A | 18 | Claude Code |
| front-tech-mapwanxingai/LightAgent | Skill | 1.3k | 19d ago | Apache-2.0 | A | 114 | Claude Code, Codex |
| comparable-company-analysiswanxingai/LightAgent | Skill | 1.3k | 19d ago | Apache-2.0 | A | 46 | Claude Code, Codex |