Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

agent-teams-guideAgent 团队指南

Agent Skill

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

总安装

710

周安装

29

GitHub Stars

公开资料未说明

下载量

227
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hexbee/hello-skills --skill agent-teams-guide

简介

用于指导如何创建、启动和管理 Agent Teams。

  • 适合并行工作与多视角任务分解。
  • 需启用实验性环境变量 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1。
  • 建议核验是否会触发命令执行或文件读写后再使用。
  • agent-teams-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agent Teams Guide

Quick Reference

CommandDescription
Create an agent team...Spawn teammates for parallel work
Clean up the teamShut down all teammates gracefully
Delegate modePress Shift+Tab after starting team
Shift+Up/DownSelect teammate in in-process mode

Enabling Agent Teams

Agent teams are experimental. Enable via environment variable:

{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

Or set the environment variable in your shell before running Claude Code.

Creating a Team

Start a team by describing parallel work that would benefit from multiple perspectives:

Create an agent team to explore this from different angles: one
teammate on UX, one on technical architecture, one playing devil's advocate.

Claude creates:

  • A team lead (your main session)
  • Teammates (separate Claude Code instances)
  • A shared task list for coordination

Display Modes

In-Process Mode (Default)

  • All teammates run in your main terminal
  • Shift+Up/Down to select a teammate
  • Type to message them directly
  • Works in any terminal

Split-Pane Mode

  • Each teammate gets its own pane
  • Requires tmux or iTerm2
  • Set teammateMode in settings.json:
{ "teammateMode": "in-process" }
  • Override per session: claude --teammate-mode in-process

Controlling Teammates

Task Assignment

  • Lead assigns explicitly: tell the lead which task goes to which teammate
  • Self-claim: teammates pick unassigned, unblocked tasks automatically

Direct Communication

  • In-process: Select teammate, type message, press Enter to view, Escape to interrupt
  • Split-pane: Click into pane to interact directly

Delegate Mode

Prevents the lead from implementing tasks itself, keeping it focused on coordination:

  1. Start a team first
  2. Press Shift+Tab to cycle into delegate mode

Require Plan Approval

For complex tasks:

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

Best Practices

Give Teammates Enough Context

Teammates don't inherit lead's conversation history. Include details in spawn prompt:

Spawn a security reviewer teammate with the prompt: "Review the authentication
module at src/auth/ for security vulnerabilities. Focus on token handling,
session management, and input validation..."

Size Tasks Appropriately

  • Too small: coordination overhead exceeds benefit
  • Too large: teammates work too long without check-ins
  • Just right: self-contained units (function, test file, review)

Avoid File Conflicts

Break work so each teammate owns different files. Two teammates editing same file causes overwrites.

Monitor and Steer

Check progress, redirect approaches, synthesize findings. Don't leave teams unattended too long.

Cleanup

When finished:

Clean up the team

The lead removes shared team resources. Always use the lead for cleanup, not teammates.

Troubleshooting

IssueSolution
Teammates not visiblePress Shift+Down to cycle; ensure task warrants a team
Too many permission promptsPre-approve operations in permission settings
Teammates stopping on errorsCheck output, give additional instructions, or spawn replacement
Lead shuts down earlyTell lead to keep going and wait for teammates
Orphaned tmux sessionstmux ls then tmux kill-session -t <name>

When to Use Agent Teams

Best for:

  • Research and review (multiple perspectives simultaneously)
  • New modules or features (independent pieces)
  • Debugging with competing hypotheses (parallel investigation)
  • Cross-layer coordination (frontend, backend, tests)

Not ideal for:

  • Sequential tasks
  • Same-file edits
  • Work with many dependencies

Common Patterns

Parallel Code Review

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.

Investigate with Competing Hypotheses

Users report the app exits after one message instead of staying connected.
Spawn 5 agent teammates to investigate different hypotheses. Have them talk
to each other to try to disprove each other's theories.

Limitations

  • No session resumption with in-process teammates
  • Task status can lag behind actual completion
  • Shutdown can be slow (teammates finish current request first)
  • One team per session
  • No nested teams (teammates can't spawn their own)
  • Lead is fixed for team lifetime
  • Split panes require tmux or iTerm2 (not VS Code terminal, Windows Terminal, Ghostty)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

40.12%
按下载量换算91

Claude

29.19%
按下载量换算66

Cursor

19.28%
按下载量换算44

Gemini CLI

9.27%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills