multi-agent

multi-agent is a skill for Claude Code, Codex from shibing624/agentica. It costs 72 tokens per session (1,763 once invoked), scanned A, original, Apache-2.0.

A guide to coordinating work across multiple coding agents. It explains when to use a read-only task worker, a full delegated worker, or a second terminal session that a person can watch.

In plain words
What is it for?
Parallel research, self-contained implementation work, long-running agent sessions, and communication between separate agent terminals.
Why use it?
It helps choose a collaboration method based on whether you need a report, file changes, supervision, or a long-running workstream. This avoids using a more expensive or persistent setup than the task requires.

Skill for Claude CodeCodex

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

Good fit Parallel research, self-contained implementation work, long-running agent sessions, and communication between separate…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shibing624/agentica/multi-agent
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 shibing624/agentica --skill multi-agent
Clone the repo
git clone --depth 1 https://github.com/shibing624/agentica

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/shibing624/agentica/multi-agent.svg)](https://agentmods.dev/skills/shibing624/agentica/multi-agent)
Your own site
<a href="https://agentmods.dev/skills/shibing624/agentica/multi-agent"><img src="https://agentmods.dev/badge/skills/shibing624/agentica/multi-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,763 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.
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.00072 $0.01763
Opus 5 $0.00036 $0.00881
Sonnet 5 $0.00014 $0.00353
Haiku 4.5 $0.00007 $0.00176

Measured yesterday against content hash 159a0cd0f648, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

multi-agent 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 yesterday.

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.

agentica/skills/bundled/multi-agent/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working with other agents

Three mechanisms, and they are not interchangeable. Pick by what you need back, not by how big the job feels.

task delegate a second CLI in tmux
Runs in your process its own process, headless its own terminal
You get back the subagent's answer the worker's final answer messages, when it sends them
Can write files no, read-only yes yes
Parallel yes — several in one message yes, a few at once start several sessions
Human can watch or join no no yes, attach to the pane
Outlives you no no yes, until killed
Cost cheap aux model each a whole session each a whole session each
  • task for reading and reporting: explore, research, review. Cheapest, and the default way to run workers in parallel — issue several task calls in one message. Parallelism is not a reason to reach for delegate or a second CLI.
  • delegate for a self-contained job you want the answer to. It is a full session with its own context window, tracked like a background process.
  • A second CLI when the work needs a place a human can look at and take over: a long second workstream, a different repo or worktree, a job the user wants to supervise. This is the only one that survives you.

Do not reach for the second CLI when task or delegate would do. It is the most expensive option and the only one that leaves something running.

This session moving itself into a checkout of the same repo is the worktree skill (the worktree tool), not a second process.

Starting a second CLI

Requires tmux (command -v tmux). Everything below is one execute call.

tmux new-session -d -s docs-worker -c ~/code/myrepo-docs agentica

Then confirm it came up with list_agents - it publishes itself within a couple of seconds.

Four things decide whether this goes well:

  1. The directory is the name. A session's addressable name comes from its working directory, so -c ~/code/myrepo-docs is what makes it show up as myrepo-docs-4f instead of something unreadable. There is no flag to name a session. Choose the directory for the name you want.
  2. Give it its own directory. A CLI started this way runs with tools enabled and nobody there to approve anything. Point it at a git worktree or a separate checkout unless you specifically intend two agents editing the same files.
  3. Choose the worker's model with a profile, not a model name. --profile <name> runs that session on a saved profile - provider, endpoint and key together - and writes nothing, so the user's own session is unaffected. --model_name X only moves the model within the current endpoint, so it cannot reach another provider. Profile names come from ~/.agentica/config.yaml; a name that does not exist stops the worker immediately rather than silently falling back.
  4. Tell the user it exists. Give them the attach command - tmux attach -t docs-worker, detach with Ctrl+B D. A worker nobody knows about is a worker nobody can rescue.

Read the full file on GitHub · 138 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. yesterday Changed · +14 lines 159a0cd0f648
  2. 7d ago First seen · 124 lines · 72 tokens per session scan A cb898ca5985b

Subscribe to this mod's changes

multi-agent is a skill published in the GitHub repository shibing624/agentica (351 stars, last pushed today), licensed Apache-2.0. It adds 72 tokens to every session and 1,763 once invoked, about $0.0004 per session on Opus 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.