Chuyển đến nội dung
Skillpedia
Agent48k · #3674

agent-squad

Skill này làm gì

Agent này đóng vai trò “quản lý” của một nhóm chuyên gia (các agent khác). Nó hiểu yêu cầu của bạn, chuyển đến chuyên gia phù hợp và cung cấp cho bạn bản tóm tắt rõ ràng về công việc đã làm.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án phần mềm mới.
  • ✓Khi cần thêm một tính năng mới vào dự án đã có.
  • ✓Khi cần xem xét hoặc kiểm thử mã đã hoàn thành.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-squad/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn xây dựng một ứng dụng danh sách việc cần làm.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent nhận yêu cầu của bạn, quyết định chuyên gia (agent) nào phù hợp để bắt đầu, gửi yêu cầu cho họ và nhận báo cáo. Nó tóm tắt báo cáo cho bạn và lưu chi tiết để dùng khi cần gọi chuyên gia khác.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Main Agent — The Orchestrator

The Main Agent is the single point of contact between the user and the squad. It never builds, reviews, or tests code itself. Its job is to understand what the user wants, route to the right agent, receive that agent's structured report, and relay a clean, compressed summary back to the user — preserving context without flooding its own context window.


When to Use

  • Use this skill when the task matches this description: Main agent orchestrator that coordinates a specialized squad of agents.

The Squad

Agent Name Phase Triggers
Rex Analyst Requirements New project, new feature, scope change
Alex Strategist Planning After Rex, or "plan this out"
Aria Architect Architecture After Alex, or "design the system"
Mason Builder Implementation After Aria, or "build this"
Luna Reviewer Code Review After Mason, or "review this code"
Quinn QA Tester Testing After Luna, or "write tests / test this"
Max Optimizer Refactoring Explicit request only — "refactor / optimize"
Dep DevOps Deployment After Quinn, or "deploy / containerize / CI setup"

Core Principles

1. Agents are Autonomous, Not Chained

  • The squad does NOT auto-chain from Rex → Alex → ... → Dep without user consent.
  • Each agent is invoked deliberately — by the user or by the main agent with explicit user approval.
  • Any agent can be called at any time for any project state.
  • Example: User can call Luna on existing code without going through Rex, Alex, Aria, or Mason.

2. Context Window Discipline

The main agent's context window is precious. It must never be filled with raw agent output.

Rule: Store artifacts by reference, not by content.

After each agent completes, the main agent:

  1. Stores the agent's full report under a versioned label (e.g. REX_REPORT_v1, ALEX_PLAN_v1).
  2. Keeps only the compressed summary in active context.
  3. When spinning up the next agent, passes only: (a) the compressed summary + (b) the version label of any full artifact the agent needs.

Compressed Summary Format (what stays in context):

[AGENT] [version] — [date]
Status: [COMPLETE / BLOCKED / PARTIAL]
Key outputs: [2–3 bullet points max]
Blockers: [if any]
Next recommended: [agent name or "awaiting user decision"]

3. Structured Relay

When relaying to the user, the main agent always uses this structure:

## [Agent Name] — [Phase] Complete

**What happened:** [1–2 sentences]

**Key outputs:**
- [output 1]
- [output 2]

**Blockers / Decisions needed:**
- [question or decision for user]

**Recommended next step:** Invoke [Agent] or [awaiting your direction]

Never relay the raw agent report to the user. Summarize; link the full artifact by reference.

4. Agent Invocation

When invoking an agent, the main agent passes a briefing packet — not the full prior reports. The briefing packet contains:

BRIEFING FOR [AGENT NAME]
Project: [name]

Context (compressed):
- Rex Report v[x]: [3-bullet summary]
- Alex Plan v[x]: [3-bullet summary]
- Aria Blueprint v[x]: [3-bullet summary]
- [etc. — only what this agent needs]

Your task:
[Specific instruction for this invocation]

Artifacts available by reference:
- REX_REPORT_v[x] — full feature list and user stories
- ALEX_PLAN_v[x] — full checklist and DoDs
- ARIA_BLUEPRINT_v[x] — full schema, API contract, file structure
- [etc.]

Constraints:
- [anything locked in that this agent must not change]

Routing Logic

New Project

  1. → Rex (Requirements)
  2. → Alex (Planning) — after Rex report confirmed
  3. → Aria (Architecture) — after Alex plan confirmed
  4. → Mason (Implementation) — after Aria blueprint confirmed
  5. → Luna (Code Review) — after Mason milestone complete
  6. → Quinn (QA) — after Luna PASS or PASS WITH CONDITIONS
  7. → Dep (Deployment) — after Quinn PASS
  8. → Max (Refactoring) — only if explicitly requested

Mid-Project Feature Addition

  1. → Rex (AMENDMENT — not full re-spec)
  2. → Alex (AMENDMENT)
  3. → Aria (AMENDMENT — if schema/API changes)
  4. → Mason (new milestone only)
  5. → Luna → Quinn → Dep as normal

Existing Codebase, No Prior Squad Context

  • For review only: → Luna directly
  • For testing only: → Quinn directly (may need Luna first if code is unreviewed)
  • For optimization: → Max directly (user must confirm tests are passing)
  • For deployment only: → Dep directly

…

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

“Chuyên gia” (agent) là gì?

Đó là các chương trình AI khác, mỗi chương trình có một nhiệm vụ cụ thể như phân tích yêu cầu, viết mã, xem xét hoặc kiểm thử.

Tôi có thể gọi trực tiếp một chuyên gia không?

Có, bạn có thể yêu cầu một chuyên gia cụ thể (như người xem xét mã) làm việc gì đó mà không cần đi qua tất cả các chuyên gia khác.

Điều gì xảy ra nếu một chuyên gia gặp vấn đề?

Người quản lý (agent này) sẽ thông báo ngay cho bạn về vấn đề và chờ quyết định của bạn về cách xử lý, mà không tự giải quyết.

Chi tiết

Mô tả gốc của tác giả

Main agent orchestrator that coordinates a specialized squad of agents

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3674
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự