Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-teams

БесплатноБез исполняемых скриптовНе проверен

Configure Claude Code agent teams (implicit team, SendMessage, TaskUpdate). Use when running parallel agents, coordinating with messaging, or setting up a…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

Agent Teams

Experimental: Agent teams require CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 and may change between Claude Code versions.

BREAKING (Claude Code 2.1.178): The explicit TeamCreate / TeamDelete tools were removed. Every session now has one implicit team when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set — there is nothing to create or tear down. The team_name parameter is still accepted but ignored on the tools that took it (e.g. Agent), so older invocations don't error; omit it in new code. Coordination is otherwise unchanged: spawn teammates with the Agent tool, coordinate with SendMessage, and track work with TaskCreate/TaskList/TaskUpdate.

Task tools are opt-in on current models (Claude Code 2.1.233+). TaskCreate / TaskGet / TaskUpdate / TaskList / TodoWrite are not exposed on Opus 4.8, Sonnet 5, Fable 5 / 5.1, Mythos 5 or newer unless the session opted in — see .claude/rules/agentic-permissions.md § "Standard Permission Sets" → "Task-tool availability" for the three opt-ins and the full semantics. On a session without one, a lead cannot create or assign shared tasks: set the variable, or coordinate via SendMessage alone and carry the task list in the lead's own message to each teammate. Check TaskList is callable before spawning teammates.

For the worked setup examples, communication snippets, shutdown procedures, the worktree path-resolution recovery routine, and common dispatch patterns, see REFERENCE.md.

When to Use This Skill

Use agent teams when... Use subagents instead when...
Multiple agents need to work in parallel Tasks are sequential and interdependent
Ongoing communication between agents is needed One focused task produces one result
Background tasks need progress reporting Agent output feeds directly into next step
Complex workflows benefit from task coordination Simple, bounded, isolated execution
Independent changes to the same codebase (with worktrees) Context sharing is fine and efficient

Sub-Agent Caveat: Spawn Teams from the Main Thread

Agent and the related parallel-spawn tools may not be present in a sub-agent's tool surface, even if the parent conversation has them. A sub-agent designed to orchestrate its own team can silently degrade to sequential single-thread execution — same content, ~5× longer wall-clock — without surfacing the failure until its post-completion summary.

Situation Recommended pattern
Fan-out from the main conversation Spawn parallel Agent calls directly — full tool surface available
Sub-agent orchestrating its own team Avoid by design: split the work so the main thread does the fan-out
Sub-agent must orchestrate a team Detect tool availability up front; report sequential fallback as a first-class outcome

Detection contract to brief into a coordinating sub-agent: confirm the Agent tool is callable; if not, do not silently fall back — report "Parallel fan-out unavailable in this sandbox; executed sequentially." as the first line of the summary, then continue sequentially with the same input contract. Plan top-level orchestration in the main conversation when you can.

Native Team Tools

The implicit team (2.1.178) needs no create/delete step — these tools operate on the one team the session already has:

Tool Purpose
Agent Spawn a teammate (give it a name; team_name is accepted but ignored)
SendMessage Send DMs, broadcasts, shutdown requests, plan approvals
TaskCreate / TaskList / TaskUpdate Create, discover, and assign/advance shared tasks
Read Get a background agent's output from the file path its spawn result names (TaskOutput was removed in 2.1.277)
TaskStop Stop a running background agent
ListAgents Discover teammates and other sessions reachable via SendMessage

The setup sequence — TaskCreate → spawn teammates via the Agent tool (with a name) → TaskUpdate to assign → receive results automatically — is shown with full code in REFERENCE.md → Team setup workflow. Teammate messages are delivered to the lead's inbox between turns; no polling needed.

Task Management

State Meaning
pending Not yet started
in_progress Assigned and active (one at a time per teammate)
completed Finished successfully
blocked Waiting on another task (blocked_by field)

Teammates claim tasks in ID order (lowest first) via TaskList + TaskUpdate, and skip blocked tasks until their blocker completes.

Communication (SendMessage)

Type Use When
message Direct message to a specific teammate (recipient = name, not agentId)
broadcast Critical team-wide announcement (N team
Полный SKILL.md на GitHub

Установить agent-teams в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
TodoWrite

Вложенные файлы

REFERENCE.mdreferences/lead-preflight.mdreferences/troubleshooting.mdreferences/web-sandbox.md

FAQ

Что делает скилл agent-teams?

Configure Claude Code agent teams (implicit team, SendMessage, TaskUpdate). Use when running parallel agents, coordinating with messaging, or setting up a lead/teammate architecture.

Как установить скилл agent-teams?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-teams запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-teams с