multi-agent-topology

multi-agent-topology is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 85 tokens per session (1,521 once invoked), scanned A, original, MIT.

A guide to arranging several AI agents and defining how they share tasks, information, and authority. It describes structures such as a supervisor assigning work to specialized agents and sequential agent pipelines.

In plain words
What is it for?
Use it to design supervisor-worker systems, linear processing chains, and other multi-agent interaction structures.
Why use it?
It helps you choose how agents should coordinate and where decisions, routing, and possible failure points belong.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to design supervisor-worker systems, linear processing chains, and other multi-agent interaction structures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/multi-agent-topology
Install

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.

Any agent
npx skills add j4flmao/agent-skills --skill multi-agent-topology
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for multi-agent-topology

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/multi-agent-topology/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/multi-agent-topology)
Your own site
<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.

agentmods 80×15 button for multi-agent-topology

Your own site · 80×15
<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>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,521 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 17d ago against content hash 2b8c14e5a875, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/ai/ai-agents/multi-agent-topology/SKILL.md · 150 lines

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

Read the full file on GitHub · 150 lines

Changes

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.

  1. 17d ago Changed · +4 lines · -54 tokens per session 2b8c14e5a875
  2. 1mo ago Changed · +87 lines · +121 tokens per session 4ea9c11033d7
  3. 3mo ago First seen · 59 lines · 18 tokens per session scan A deda9caa3ff2

Subscribe to this mod's changes

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.

Related

multi-agent-topology compared with skills from other repositories

multi-agent-topology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multi-agent-topologyj4flmao/agent-skillsSkill4717d agoMITA85Claude Code, Codex
stream-chainruvnet/agentic-flowSkill84923d agononeA18Claude Code
stream-chainproffesor-for-testing/agentic-qeSkill5392d agoMITA18Claude Code
stream-chainspencermarx/open-code-reviewSkill39823d agoApache-2.0A18Claude Code
stream-chainruvnet/RuViewSkill106ktodayMITA18Claude Code
front-tech-mapwanxingai/LightAgentSkill1.3k19d agoApache-2.0A114Claude Code, Codex
comparable-company-analysiswanxingai/LightAgentSkill1.3k19d agoApache-2.0A46Claude Code, Codex