claude-code:agent-team

claude-code:agent-team is a skill for Claude Code, Codex from bendrucker/claude. It costs 38 tokens per session (790 once invoked), scanned A, original, MIT.

A skill for coordinating teams of AI coding agents, where a lead agent assigns work to teammate agents. It covers task dependencies, communication, planning, and shutdown.

In plain words
What is it for?
It is for creating teams, spawning teammates, assigning tasks, requiring plans or delegation, sending messages, and shutting teams down.
Why use it?
It helps divide larger coding tasks among agents while tracking ownership and preventing simultaneous edits from conflicting.

Skill for Claude CodeCodex

Part of the claude-code plugin — 15 skills shipped together

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.

agentmods
npx agentmods add skills/bendrucker/claude/agent-team
Any agent
npx skills add bendrucker/claude --skill agent-team
Clone the repo
git clone --depth 1 https://github.com/bendrucker/claude

Made for: Claude Code, Codex.

Or install claude-code, the plugin that ships this one along with the rest of its 15 skills.

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 claude-code:agent-team

README.md
[![agentmods](https://agentmods.dev/badge/skills/bendrucker/claude/agent-team.svg)](https://agentmods.dev/skills/bendrucker/claude/agent-team)
Your own site
<a href="https://agentmods.dev/skills/bendrucker/claude/agent-team"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/agent-team.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.00790
Opus 5 $0.00019 $0.00395
Sonnet 5 $0.00008 $0.00158
Haiku 4.5 $0.00004 $0.00079

Measured yesterday against content hash b4787a1ebd43, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code:agent-team 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.

plugins/claude-code/skills/agent-team/SKILL.md · 73 lines

How it starts

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

Agent Teams

Arguments

These select a team mode up front instead of toggling it interactively (see Team Lifecycle):

  • --delegate: start the lead in delegate mode, coordination-only with no direct implementation. Default: the lead can implement.
  • --plan-approval: require teammates to plan before implementing, read-only until the lead approves. Default: off.
  • --shutdown: shut the current team down, teammates first and then the team, then stop. Default: create or operate a team.

Team Lifecycle

Describe the task and team structure in natural language. Claude creates the team, spawns teammates, and coordinates work. Delegate mode also toggles interactively with Shift+Tab. Always shut down via the lead: teammates individually, then the team.

Task Management

Tasks: pending, in progress, completed. Tasks can depend on other tasks — blocked tasks unlock automatically when dependencies complete.

  • Lead assigns: tell the lead which task to assign
  • Self-claim: teammates pick up unassigned, unblocked tasks after finishing
  • File locking prevents race conditions on simultaneous claims

Communication

  • message: send to one specific teammate
  • broadcast: send to all teammates (use sparingly — costs scale with team size)
  • Messages deliver automatically; the lead doesn't need to poll
  • Idle notifications are automatic when a teammate finishes a turn

Architecture

Teams are stored locally:

  • Team config: ~/.claude/teams/{team-name}/config.json
  • Task list: ~/.claude/tasks/{team-name}/

The config contains a members array with each teammate's name, agent ID, and type. Teammates read this file to discover each other.

Teammates inherit the lead's permission settings at spawn. Each loads project context (CLAUDE.md, MCP servers, skills) plus the spawn prompt — the lead's conversation history does not carry over.

Limitations

  • No session resumption for in-process teammates (/resume won't restore them)
  • Task status can lag — check and nudge if stuck
  • One team per session, no nested teams
  • Lead is fixed for the team's lifetime

Read the full file on GitHub · 73 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +1 lines b4787a1ebd43
  2. 4d ago First seen · 72 lines · 38 tokens per session scan A ea317f059c0d

Subscribe to this mod's changes

claude-code:agent-team is a skill published in the GitHub repository bendrucker/claude (16 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 790 once invoked, about $0.0002 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.