Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

claude-code-agent-teamsClaude 代码 Agent teams

Agent Skill

claude-code-agent-teams 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

642

周安装

27

GitHub Stars

1

下载量

225
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:claude-code-agent-teams(Claude 代码 Agent teams)
来源仓库:https://github.com/croakingtoad/skeeter-skills
仓库路径:skills/claude-code-agent-teams
安装命令:
npx skills add https://github.com/croakingtoad/skeeter-skills --skill claude-code-agent-teams
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/croakingtoad/skeeter-skills --skill claude-code-agent-teams

简介

claude-code-agent-teams 支持多个 Claude 会话协同工作,由队长节点协调分工。

  • 适用于大规模探索、并行测试或复杂项目分解等需要多智能体协作的任务。
  • 采用共享任务列表和邮箱系统进行通信,但会显著增加 token 消耗。
  • 实验性功能默认关闭,需设置 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS 启用。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Claude Code Agent Teams

Agent teams coordinate multiple Claude Code sessions working together. One session acts as the team lead, spawning teammates that work independently in their own context windows and communicate directly with each other through a shared task list and mailbox messaging system.

Agent teams are experimental and disabled by default. Enable with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS. See Setup and Configuration for details.

When to Use Agent Teams

Agent teams add coordination overhead and consume significantly more tokens than a single session. Use them when parallel exploration adds real value:

  • Research and review — teammates investigate different aspects simultaneously, share and challenge findings
  • New modules or features — teammates each own a separate piece without stepping on each other
  • Debugging with competing hypotheses — teammates test different theories in parallel, converge on answers faster
  • Cross-layer coordination — changes spanning frontend, backend, and tests, each owned by a different teammate

Avoid agent teams for sequential tasks, same-file edits, work with many dependencies, or tasks a single session handles efficiently. For focused workers that only report results back, use subagents instead.

Agent Teams vs Subagents

SubagentsAgent Teams
ContextOwn window; results return to callerOwn window; fully independent
CommunicationReport back to main agent onlyTeammates message each other directly
CoordinationMain agent manages all workShared task list with self-coordination
Best forFocused tasks where only the result mattersComplex work requiring discussion/collaboration
Token costLower: results summarized to main contextHigher: each teammate is a separate instance

Starting a Team

Describe the task and team structure in natural language. Claude creates the team, spawns teammates, and coordinates work:

Create an agent team to review PR #142. Spawn three reviewers:
- One focused on security implications
- One checking performance impact
- One validating test coverage
Have them each review and report findings.

Claude can also propose a team if it determines a task benefits from parallel work. It always asks for confirmation first.

Core Concepts

Architecture

ComponentRole
Team leadMain session that creates the team, spawns teammates, coordinates work
TeammatesSeparate Claude Code instances working on assigned tasks
Task listShared work items teammates claim and complete, with dependency tracking
MailboxMessaging system for direct communication between agents

Teams and tasks are stored locally at ~/.claude/teams/{team-name}/config.json and ~/.claude/tasks/{team-name}/. See Architecture and Communication for internals.

Display Modes

  • In-process (default) — all teammates run inside the main terminal. Navigate with Shift+Up/Down. Works in any terminal.
  • Split panes — each teammate gets its own pane. Requires tmux or iTerm2. Click into any pane to interact directly.

Default is "auto": split panes if already in tmux, in-process otherwise. Override with teammateMode in settings or --teammate-mode flag.

Communication

Teammates do not inherit the lead's conversation history. Each loads project context (CLAUDE.md, MCP servers, skills) plus the spawn prompt from the lead.

  • Direct messages — send to one specific teammate
  • Broadcast — send to all teammates (use sparingly, costs scale with team size)
  • Idle notifications — teammates automatically notify the lead when they finish
  • Shared task list — all agents see task status and claim available work

Task Management

Tasks have three states: pending, in progress, and completed. Tasks can depend on other tasks — a pending task with unresolved dependencies cannot be claimed until those complete.

  • The lead assigns tasks explicitly, or teammates self-claim the next unassigned, unblocked task
  • Task claiming uses file locking to prevent race conditions
  • When a task completes, blocked tasks unblock automatically

Lead Controls

Delegate Mode

Restrict the lead to coordination-only tools (spawning, messaging, shutting down teammates, managing tasks) so it focuses on orchestration instead of implementing work itself. Toggle with Shift+Tab.

Plan Approval

Require teammates to plan before implementing. The teammate works in read-only plan mode until the lead approves:

Spawn an architect teammate to refactor the authentication module.
Require plan approval before they make any changes.

The lead approves or rejects with feedback autonomously. Influence judgment with criteria: "only approve plans that include test coverage" or "reject plans that modify the database schema."

Quality Gate Hooks

Enforce rules with hooks:

  • TeammateIdle — runs when a teammate is about to go idle. Exit code 2 sends feedback and keeps the teammate working.
  • TaskCompleted — runs when a task is being marked complete. Exit code 2 prevents completion and sends feedback.

Interacting with Teammates

  • In-process: Shift+Up/Down to select, type to message. Enter to view session, Escape to interrupt. Ctrl+T toggles task list.
  • Split panes: click into any pane to interact directly.

Shutting Down

Ask the lead to shut down specific teammates (they can approve or reject). Then ask the lead to clean up the team. Always clean up through the lead — teammates should not run cleanup.

Task Decomposition

The key to effective agent teams is decomposing tasks into independent work streams. See Task Decomposition Patterns for detailed examples.

Core principles:

  1. Maximize independence — zero dependencies between teammates is ideal
  2. Minimize write conflicts — each teammate owns distinct files or directories
  3. Prefer read-heavy work — analysis, review, and research parallelize cleanly
  4. Right-size tasks — 5-6 tasks per teammate keeps everyone productive; too small wastes overhead, too large creates bottlenecks

Anti-patterns to avoid:

  • Sequential chains where step 2 depends on step 1's output
  • Multiple teammates editing the same file
  • Micro-tasks not worth the spawn overhead
  • Prompts that assume shared conversation context (teammates start fresh)

Best Practices

  • Give teammates enough context in spawn prompts — they load CLAUDE.md but not the lead's conversation
  • Specify teammate count and models explicitly when needed: "Create a team with 4 teammates. Use Sonnet for each."
  • Tell the lead to wait for teammates before proceeding if it starts implementing itself
  • Start with research and review tasks to learn the coordination model before attempting parallel implementation
  • Avoid file conflicts by ensuring each teammate owns different files
  • Monitor and steer — check progress, redirect failing approaches, synthesize findings as they arrive
  • Pre-approve common operations in permission settings to reduce interruption from teammate permission prompts

Quick Reference

ActionHow
Enable featureSet CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS to 1 in env or settings.json
Start a teamDescribe task and team structure in natural language
Navigate teammatesShift+Up / Shift+Down (in-process) or click pane (split)
Toggle task listCtrl+T
Delegate modeShift+Tab
View teammate sessionEnter (in-process mode)
Interrupt teammateEscape (in-process mode)
Specify modelsInclude in prompt: "Use Sonnet for each teammate"

Reference Documentation

Official documentation: https://code.claude.com/docs/en/agent-teams

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.98%
按下载量换算79

Claude

29.01%
按下载量换算65

Cursor

19.46%
按下载量换算44

Gemini CLI

9.42%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/croakingtoad/skeeter-skills --skill claude-code-agent-teams 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills