Token导航 LogoToken导航

Agent Skill · 开发

agent-teams(Agent Teams 协作)

agent-teams 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-teams 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 8,517。

总安装 3,128周安装 133GitHub Stars 590下载 1,096核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alinaqi/claude-bootstrap --skill agent-teams

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

Agent Teams 强制实施 TDD 流水线,确保每个功能都经过完整测试驱动开发流程。适用于需要严格质量控制和自动化协作的项目,默认以多代理协同方式运行。通过不可跳过的工作流管道,保证从需求到部署的每一步都有测试覆盖和质量门禁。

安装命令:npx skills add https://github.com/alinaqi/claude-bootstrap --skill agent-teams 使用前需在 .claude/agents/ 目录配置代理定义,包括模型、工具和最大回合数等参数。

来源仓库内路径:skills/agent-teams

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/alinaqi/claude-bootstrap --skill agent-teams;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-teams 怎么安装?

在终端执行 npx skills add https://github.com/alinaqi/claude-bootstrap --skill agent-teams。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-teams 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-teams 需要什么权限?

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

agent-teams 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-teams 用的人多吗?

公开数据是累计安装 3,128 次,近一周安装 133 次,下载 1,096 次,GitHub 590 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-teams 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
agent-teams

Agent Teams 协作 · 本页

3,128590执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Teams Skill

Purpose: Every project initialized with claude-bootstrap runs as a coordinated team of AI agents. This is the default workflow, not optional. Teams enforce a strict TDD pipeline where no step can be skipped.

Setup: Agent definitions go in .claude/agents/ with proper frontmatter (name, description, model, tools, disallowedTools, maxTurns, effort). See agent files for the format.


Core Principle

Every feature follows an immutable pipeline enforced by task dependencies:

┌─────────────────────────────────────────────────────────────────┐
│  STRICT FEATURE PIPELINE (IMMUTABLE)                            │
│  ──────────────────────────────────────────────────────────────  │
│                                                                  │
│  1. SPEC        Write feature specification                      │
│       ↓         (Feature Agent)                                  │
│  2. REVIEW      Quality Agent reviews spec completeness          │
│       ↓         (Quality Agent)                                  │
│  3. TESTS       Write failing tests for all acceptance criteria  │
│       ↓         (Feature Agent)                                  │
│  4. RED VERIFY  Quality Agent confirms ALL tests FAIL            │
│       ↓         (Quality Agent)                                  │
│  5. IMPLEMENT   Write minimum code to pass tests                 │
│       ↓         (Feature Agent)                                  │
│  6. GREEN VERIFY Quality Agent confirms ALL tests PASS + coverage│
│       ↓         (Quality Agent)                                  │
│  7. VALIDATE    Lint + type check + full test suite              │
│       ↓         (Feature Agent)                                  │
│  8. CODE REVIEW Multi-engine review, block on Critical/High      │
│       ↓         (Code Review Agent)                              │
│  9. SECURITY    OWASP scan, secrets detection, dependency audit  │
│       ↓         (Security Agent)                                 │
│  10. BRANCH+PR  Create feature branch, stage files, create PR    │
│                 (Merger Agent)                                    │
│                                                                  │
│  No step can be skipped. Task dependencies enforce ordering.     │
│  Quality Agent verifies RED/GREEN transitions.                   │
│  Code Review + Security Agents gate the merge path.              │
│  Merger Agent handles branching and PR creation.                 │
└─────────────────────────────────────────────────────────────────┘

Default Agent Roster

Every project spawns 5 permanent agents + N feature agents:

┌─────────────────────────────────────────────────────────────────┐
│  DEFAULT TEAM ROSTER                                             │
│  ──────────────────────────────────────────────────────────────  │
│                                                                  │
│  PERMANENT AGENTS (always present)                               │
│  ─────────────────────────────────                               │
│  Team Lead        Orchestration, task breakdown, assignment      │
│                   Uses delegate mode - NEVER writes code         │
│                                                                  │
│  Quality Agent    TDD verification (RED/GREEN phases)            │
│                   Coverage gates (>= 80%)                        │
│                   Spec completeness review                       │
│                                                                  │
│  Security Agent   OWASP scanning, secrets detection              │
│                   Dependency audit, .env validation               │
│                   Blocks on Critical/High                        │
│                                                                  │
│  Code Review Agent  Multi-engine code review                     │
│                     Claude / Codex / Gemini / All                │
│                     Blocks on Critical/High                      │
│                                                                  │
│  Merger Agent     Creates feature branches                       │
│                   Stages feature-specific files only              │
│                   Creates PRs via gh CLI                          │
│                   NEVER merges - only creates PRs                │
│                                                                  │
│  DYNAMIC AGENTS (one per feature)                                │
│  ────────────────────────────────                                │
│  Feature Agent    Implements one feature end-to-end              │
│  (x N features)   Follows strict pipeline above                  │
│                   Uses Ralph loops for implementation             │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘
AgentRolePlan ModeCan Edit Code
team-leadOrchestration, task breakdown, assignmentNo (delegate mode)No
quality-agentTDD verification, coverage gatesYesNo (read-only)
security-agentOWASP scanning, secrets detectionYesNo (read-only)
review-agentMulti-engine code reviewYesNo (read-only)
merger-agentBranch creation, PR managementNoNo (git only)
feature-{name}Feature implementation (one per feature)NoYes

Team Lead Responsibilities

The Team Lead is the orchestrator. It NEVER writes code.

  1. Read _project_specs/features/*.md to identify all features
  2. Break each feature into the 10-task dependency chain (see below)
  3. Spawn one feature agent per feature
  4. Assign initial tasks (spec-writing) to feature agents
  5. Monitor TaskList continuously for progress and blockers
  6. Handle blocked tasks and reassignment
  7. Coordinate cross-feature dependencies
  8. Send shutdown_request to all agents when all PRs are created
  9. Clean up the team when done

Delegate mode is mandatory. The team lead uses only:

  • TeamCreate, TaskCreate, TaskUpdate, TaskList, TaskGet
  • SendMessage (message, broadcast, shutdown_request)
  • Read, Glob, Grep (for monitoring)

Feature Agent Workflow (MANDATORY)

Each feature agent MUST follow this exact sequence. Task dependencies enforce ordering - a feature agent cannot start step N+1 until step N is marked complete and verified.

Step 1: Write Spec

  • Create _project_specs/features/{feature-name}.md
  • Include: description, acceptance criteria, test cases table, dependencies
  • Follow the atomic TODO format from base.md skill
  • Mark task complete -> Quality Agent reviews

Step 2: Write Tests (RED Phase)

  • Write test files based on spec's test cases table
  • Tests MUST cover ALL acceptance criteria
  • Import modules that don't exist yet (they will fail)
  • Mark task complete -> Quality Agent verifies tests EXIST and FAIL

Step 3: Wait for RED Verification

  • Quality Agent runs tests and verifies ALL new tests fail
  • If any test passes without implementation -> rewrite tests
  • Quality Agent marks verification complete -> unlocks implementation

Step 4: Implement (GREEN Phase)

  • Write minimum code to make all tests pass
  • Follow simplicity rules from base.md (20 lines/function, 200 lines/file, 3 params)
  • Use Ralph loops (/ralph-loop) for iterative implementation
  • Run tests after implementation - ALL must pass
  • Mark task complete -> Quality Agent verifies tests pass

Step 5: Wait for GREEN Verification

  • Quality Agent runs full test suite and checks coverage
  • Coverage must be >= 80%
  • If tests fail or coverage insufficient -> fix and re-request
  • Quality Agent marks verification complete -> unlocks validation

Step 6: Validate

  • Run linter (ESLint / Ruff)
  • Run type checker (TypeScript / mypy)
  • Run full test suite with coverage
  • Fix any issues
  • Mark task complete -> unlocks code review

Step 7: Wait for Code Review

  • Code Review Agent runs /code-review on changed files
  • If Critical or High issues -> fix and re-request review
  • Code Review Agent marks complete -> unlocks security scan

Step 8: Wait for Security Scan

  • Security Agent runs security checks
  • If Critical or High issues -> fix and re-request scan
  • Security Agent marks complete -> unlocks merge

Step 9: Wait for Branch + PR

  • Merger Agent creates feature branch, stages files, creates PR
  • Feature is complete when PR is created

Task Dependency Chain Model

For each feature "X", the team lead creates these 10 tasks with strict ordering:

┌────────────────────────────────────────────────────────────────┐
│  TASK CHAIN FOR FEATURE "X"                                     │
│                                                                  │
│  Task 1:  X-spec                                                │
│           owner: feature-X                                       │
│           blockedBy: (none)                                      │
│           ↓                                                      │
│  Task 2:  X-spec-review                                         │
│           owner: quality-agent                                   │
│           blockedBy: X-spec                                      │
│           ↓                                                      │
│  Task 3:  X-tests                                               │
│           owner: feature-X                                       │
│           blockedBy: X-spec-review                               │
│           ↓                                                      │
│  Task 4:  X-tests-fail-verify                                   │
│           owner: quality-agent                                   │
│           blockedBy: X-tests                                     │
│           ↓                                                      │
│  Task 5:  X-implement                                           │
│           owner: feature-X                                       │
│           blockedBy: X-tests-fail-verify                         │
│           ↓                                                      │
│  Task 6:  X-tests-pass-verify                                   │
│           owner: quality-agent                                   │
│           blockedBy: X-implement                                 │
│           ↓                                                      │
│  Task 7:  X-validate                                            │
│           owner: feature-X                                       │
│           blockedBy: X-tests-pass-verify                         │
│           ↓                                                      │
│  Task 8:  X-code-review                                         │
│           owner: review-agent                                    │
│           blockedBy: X-validate                                  │
│           ↓                                                      │
│  Task 9:  X-security-scan                                       │
│           owner: security-agent                                  │
│           blockedBy: X-code-review                               │
│           ↓                                                      │
│  Task 10: X-branch-pr                                           │
│           owner: merger-agent                                    │
│           blockedBy: X-security-scan                             │
└────────────────────────────────────────────────────────────────┘

Parallel Feature Execution

Multiple features run their chains in parallel. Shared agents process tasks as they unblock:

Feature: auth         Feature: dashboard      Feature: payments
  auth-spec             dash-spec               pay-spec
  auth-spec-review      dash-spec-review        pay-spec-review
  auth-tests            dash-tests              pay-tests
  auth-fail-verify      dash-fail-verify        pay-fail-verify
  auth-implement        dash-implement          pay-implement
  auth-pass-verify      dash-pass-verify        pay-pass-verify
  auth-validate         dash-validate           pay-validate
  auth-code-review      dash-code-review        pay-code-review
  auth-security         dash-security           pay-security
  auth-branch-pr        dash-branch-pr          pay-branch-pr
       |                     |                       |
       v                     v                       v
   [All chains run simultaneously]
   [Quality Agent handles all verify tasks as they unblock]
   [Review Agent handles all review tasks as they unblock]
   [Security Agent handles all scan tasks as they unblock]
   [Merger Agent handles all branch-pr tasks as they unblock]

Inter-Agent Communication

Direct Messages (for targeted work)

Feature Agent -> Quality Agent:  "Tests written for auth, ready for RED verify"
Quality Agent -> Feature Agent:  "All 7 tests fail as expected. Proceed to implement"
Feature Agent -> Review Agent:   "Implementation complete, ready for code review"
Review Agent  -> Feature Agent:  "2 High issues found: [details]. Fix before proceeding"
Security Agent -> Merger Agent:  "Security scan passed for auth feature"
Merger Agent  -> Team Lead:      "PR #42 created for auth feature"

Task List (source of truth for state)

  • All agents check TaskList after completing work
  • Quality Agent claims verification tasks automatically
  • Review Agent claims code-review tasks automatically
  • Security Agent claims security-scan tasks automatically
  • Merger Agent claims branch-pr tasks automatically

Broadcast (rare - blocking issues only)

  • Team Lead -> All: "Blocking dependency found between auth and dashboard"
  • Security Agent -> All: "Critical vulnerability in shared dependency"

Feature Agent Spawning

The team lead spawns one feature agent per feature:

  1. Read _project_specs/features/*.md
  2. For each feature spec, spawn a feature agent:

- name: feature-{feature-name} - Uses .claude/agents/feature.md definition - Spawn prompt includes the feature name and spec location

  1. Create the full 10-task dependency chain for that feature
  2. Assign the spec-writing task to the feature agent

Example

If project has 3 features: auth, dashboard, payments

  • Spawn: feature-auth, feature-dashboard, feature-payments
  • Create 30 tasks total (10 per feature)
  • Each feature agent starts with their spec task
  • All 3 work in parallel

Branch and PR Strategy

One branch per feature. One PR per feature.

Branch naming:  feature/{feature-name}
PR title:       feat({feature-name}): {short description}
PR body:        Generated from spec + test results + review + security results

The Merger Agent:

  1. git checkout main && git pull origin main
  2. git checkout -b feature/{feature-name}
  3. Stages ONLY files changed for this feature (never git add -A)
  4. Commits with descriptive message including verification results
  5. git push -u origin feature/{feature-name}
  6. gh pr create with full template including:

- Summary from feature spec - Test results from quality verification - Code review summary from review agent - Security scan results from security agent - Checklist of all pipeline steps completed


Quality Gates

Workflow Enforcement (via task dependencies)

  • Task dependencies make it structurally impossible to skip steps
  • A feature agent cannot see "implement" until quality agent completes "tests-fail-verify"
  • This is the primary enforcement mechanism

Cross-Agent Verification (trust but verify)

  • Quality agent independently runs tests (doesn't trust feature agent's report)
  • Security agent independently scans (doesn't trust review agent)
  • Merger agent verifies all predecessor tasks are complete before branching

Blocking Rules

  • Quality Agent: blocks if tests don't fail (RED) or don't pass (GREEN) or coverage < 80%
  • Code Review Agent: blocks on Critical or High severity issues
  • Security Agent: blocks on Critical or High severity findings
  • Merger Agent: refuses to branch if any predecessor task is incomplete

Integration with Existing Skills

Existing SkillHow Agent Teams Uses It
base.mdTDD workflow, atomic todos, simplicity rules - all agents follow
code-review.mdReview Agent executes /code-review per this skill
security.mdSecurity Agent follows OWASP patterns from this skill
session-management.mdEach agent maintains its own session state
iterative-development.mdFeature agents use Stop hook TDD loops for implementation
project-tooling.mdMerger Agent uses gh CLI for branches and PRs
team-coordination.mdSuperseded by agent-teams for automated coordination
icpg.mdTeam lead creates ReasonNodes. Feature agents query constraints/risk. Quality agent checks drift. PreToolUse hook injects context. Stop hook auto-records symbols.
code-graph.mdFeature agents use graph for symbol lookup alongside iCPG for intent context

Environment Setup

Required Setting

// settings.json or environment
{
  "env": {
    "agent teams (via .claude/agents/ definitions)": "1"
  }
}

Project Structure (created by /initialize-project)

.claude/
  agents/            # Agent definitions (from agent-teams skill)
    team-lead.md
    quality.md
    security.md
    code-review.md
    merger.md
    feature.md
  skills/
    agent-teams/     # This skill
      SKILL.md
      agents/        # Agent definition templates
    base/
    code-review/
    security/
    ...

Spawning the Team

Automatic (via /initialize-project)

After project setup completes, Phase 6 asks for features and spawns the team automatically.

Manual (via /spawn-team)

For existing projects: run /spawn-team to spawn the team from existing feature specs.


Limitations

  • Experimental feature - Agent teams require the experimental env var
  • No nested teams - Teammates cannot spawn sub-teams
  • One team per session - Clean up before starting a new team
  • No session resumption - If session dies, re-run /spawn-team (tasks persist)
  • File conflicts - Features sharing files must be serialized by team lead
  • Token cost - Each agent is a separate Claude instance (5 + N instances)

平台分布

Codex

36.98%
按下载量换算405

Claude

27.82%
按下载量换算305

Cursor

20.4%
按下载量换算224

Gemini CLI

8.53%
按下载量换算93

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills