Logo Team Assemble

Team Assemble

Tổ chức
team-attention
team-assemble

Analyze tasks and dynamically assemble expert agent teams using Claude Code's TeamCreate API. Scouts your codebase, designs optimal agents, and executes with validation.

Tổng quan

Nhà phát hànhteam-attention
Kho mãplugins-for-claude-natives
Tên kỹ năngteam-assemble
Sao
827
Bản fork
106
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được team-attention công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Team Assemble trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/team-attention/plugins-for-claude-natives/tree/main/plugins/team-assemble/skills/team-assemble
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/team-attention/plugins-for-claude-natives.git /tmp/plugins-for-claude-natives
mkdir -p .claude/skills
cp -r /tmp/plugins-for-claude-natives/plugins/team-assemble/skills/team-assemble .claude/skills/team-assemble
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Team Assemble trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Team Assemble ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Team Assemble với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Team Assemble

Analyze a task, dynamically design the right expert agents, and orchestrate them as a team using Claude Code's agent teams feature.

Prerequisites

Agent teams must be enabled. See references/enable-agent-teams.md for setup instructions.

When to Use

  • Complex tasks that decompose into 2+ independent subtasks
  • Work where role separation is clear (e.g., research + implementation + validation)
  • Tasks that benefit from parallel execution

Do NOT use for: single-file edits, simple questions, purely sequential work


Core Principles

  • Model 3-tier — choose by role purpose (details: references/agents.md)
    • opus — strategy/judgment (scouts, complex execution)
    • sonnet — standard execution/validation (worker, qa, support)
    • haiku — exploration/writing (researcher, editor)
  • No fixed catalog — agents are designed dynamically per task
  • Example bank — references/agents.md provides reference examples (not mandatory)

Workflow

Phase 1 → Phase 2 → Phase 3 → Phase 4 → Phase 5 → Phase 6
Task       Codebase   Integrate  Execute   Validate   Complete
Analysis   Scouts     & Confirm                       & Cleanup
                                           ↕ FAIL → support fix (max 3x)

Phase 1: Task Analysis

Analyze the user's request and identify relevant areas of the codebase:

  1. Examine project structure, CLAUDE.md files, and README files
  2. Identify which parts of the codebase are relevant to the task
  3. Determine if codebase scouting (Phase 2) would help, or if the task is straightforward enough to skip to Phase 3

Get user approval via AskUserQuestion:

I've analyzed your task and identified the following areas of interest:

- [x] src/auth/ — Authentication module (needs refactoring)
- [x] tests/auth/ — Corresponding tests
- [ ] src/api/ — Not directly affected

I'll scout these areas to design an optimal team.

Options: "Looks good, proceed" / "I'd like to adjust the scope"

For straightforward tasks that don't need codebase exploration, skip Phase 2 and go directly to Phase 3 — design the team yourself using references/agents.md as a guide.


Phase 2: Codebase Scouts (Parallel)

Launch scout agents in parallel to explore relevant areas of the codebase.

Scout Configuration

  • Model: opus
  • subagent_type: general-purpose (constrained to read-only via prompt)
  • Parallel: launch multiple scouts simultaneously when exploring different areas

Scout Mission

Each scout reads the relevant codebase area and proposes agents for the task:

  1. Read key files (CLAUDE.md, README.md, source code, configs)
  2. Analyze the intersection between the task and the codebase area
  3. Propose agents needed (name, role, tasks, reference files)
  4. Reference references/agents.md for examples, but freely design new agents

Prompt template: references/prompt-templates.md § Codebase Scout

Scout Output Format

## Scout Report: {area}

### Current State
- {file structure summary}
- {relevance to the task}

### Proposed Agents
| Agent | Role | Tasks | Reference Files |
|-------|------|-------|-----------------|
| {name} | {role} | {task} | {files} |

### Notes
- {area-specific constraints or patterns to follow}

Phase 3: Integrate & Confirm Team

Merge scout reports into a final team composition:

  1. Deduplicate — merge similar agent proposals from different scouts
  2. Gap analysis — check for missing roles
  3. Add qa + support — validation/fix agents are always included
  4. Dependency graph — design execution order between agents
  5. Define acceptance criteria — measurable criteria for Phase 5 validation

Team Proposal

Get final approval via AskUserQuestion:

Proposed team: {team-name}

| # | Agent | Role | Tasks | Dependencies |
|---|-------|------|-------|--------------|
| 1 | architect | System design | Design new auth flow | - |
| 2 | implementer | Code changes | Implement the design | #1 |
| 3 | test-writer | Test coverage | Write tests for changes | #2 |
| 4 | qa | Validation | PASS/FAIL against acceptance criteria | #2, #3 |

Acceptance criteria:
- [ ] AC-1: {measurable criterion}
- [ ] AC-2: {measurable criterion}

Options: "Looks good, execute" / "I'd like to adjust roles"

If the user selects "adjust roles", ask what specifically to change. After 2+ revision requests, switch to free-text input.


Phase 4: Execution

Create Team & Distribute Tasks

TeamCreate(team_name: "{keyword}-team", description: "Task description")

team_name convention: core keyword + -team

Create TaskCreate entries for each agent, then set dependencies with TaskUpdate.

Launch Teammates

  • Model: apply 3-tier based on role (references/agents.md)
  • subagent_type: "general-purpose"
  • mode: "bypassPermissions"
  • Parallel: launch agents without blockedBy dependencies in a single message
  • Sequential: inject preceding agent results into the next agent's prompt

Teammate Prompt Requirements

  1. Context — project background and how this task fits the whole
  2. Specific goal — exactly what to achieve
  3. Reference files — file paths identified by scouts
  4. Constraints — what NOT to do, scope limits
  5. Output format — expected deliverable format
  6. Team info — team_name, task ID

Detailed prompt structure: references/prompt-templates.md


Phase 5: Validation

qa (sonnet) evaluates each acceptance criterion from Phase 3.

Validation Process

Agent(name: "qa", model: "sonnet", prompt: """
## Acceptance Criteria
- [ ] AC-1: {criterion}

## Validation Target
{Phase 4 execution results}

Evaluate each criterion with evidence-based PASS/FAIL judgment.
No PASS without evidence.

## Output Format
| # | Criterion | Verdict | Evidence |
Overall: PASS / FAIL
Include fix suggestions for any FAIL items.
""")

FAIL Handling

support (sonnet) fixes only FAIL items → qa re-validates:

  • Max 3 rounds of verify/fix loop
  • If the same error repeats 3 times, stop immediately
  • After 3 rounds, halt the pipeline and report to user:
## Validation Failed — Manual Intervention Needed

### Repeated Failures
- AC-{N}: {criterion} — {failure reason}

### Attempted Fixes
1. {attempt 1}  2. {attempt 2}  3. {attempt 3}

### Recommended Action
{what needs to be done manually}

Phase 6: Complete & Cleanup

Result Report

## Team Results: {team-name}

### Acceptance Criteria
- [x] AC-1: {criterion} — PASS

### Per-Agent Results
- {agent}: {result summary}

### Deliverables
- {file paths or outputs}

### Validation History
- Validated {N} times, {M} fixes applied

Team Cleanup

SendMessage(type: "shutdown_request", recipient: "{name}", content: "Work complete")
TeamDelete()

Common Mistakes

MistakeCorrect Approach
Creating team without user approvalGet AskUserQuestion approval in Phase 1 + Phase 3
Executing without acceptance criteriaAlways define criteria in Phase 3
Running scouts for simple tasksSkip Phase 2 for straightforward work
Skipping validationAlways run Phase 5 after execution
Ignoring model tiersUse opus/sonnet/haiku based on role purpose
Only picking from fixed catalogScouts design freely; examples are reference only
Forgetting TeamDeleteAlways shutdown_request → TeamDelete
Infinite FAIL loopMax 3 verify/fix rounds, then report to user

Additional Resources

  • references/agents.md — Agent example bank with model tier guide
  • references/prompt-templates.md — Scout + execution + QA prompt templates
  • references/examples.md — Worked examples: feature dev, refactoring, research
  • references/enable-agent-teams.md — How to enable agent teams in Claude Code

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Team Assemble làm được gì?

Analyze tasks and dynamically assemble expert agent teams using Claude Code's TeamCreate API. Scouts your codebase, designs optimal agents, and executes with validation.

Vì sao nên dùng Team Assemble trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Team Assemble là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Team Assemble trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/team-attention/plugins-for-claude-natives/tree/main/plugins/team-assemble/skills/team-assemble. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Team Assemble?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Team Assemble với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Team Assemble với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Team Assemble có miễn phí không?

Có. Kỹ năng này được team-attention phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇