coordinator-mode
Skill này làm gì
Skill này khiến AI của bạn đóng vai điều phối viên. Nó chia một công việc lớn thành các phần, giao cho các agent trợ giúp và gộp kết quả của họ. Dành cho các dự án phức tạp hưởng lợi từ việc làm song song.
Khi nào nên dùng
- ✓Khi một tác vụ đủ lớn để chia thành các bước nghiên cứu và xây dựng riêng.
- ✓Khi bạn muốn nhiều agent trợ giúp làm việc song song rồi có một kết quả gộp chung.
- ✓Khi một công việc có các tác vụ đọc có thể chạy cùng nhau và các tác vụ ghi phải chạy theo thứ tự.
Liên kết skill
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chia việc di chuyển này thành các phần, để các trợ giúp nghiên cứu từng khu vực song song, rồi đưa tôi một kế hoạch gộp.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Điều phối viên chia công việc, chạy các nghiên cứu chỉ đọc song song, thực hiện các thay đổi theo thứ tự an toàn và kiểm tra kết quả gộp trước khi báo cáo lại.
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.
Coordinator Mode — Multi-Agent Orchestration
Distilled from production-proven coordinator patterns. Transforms sequential agent chains into intelligent parallel orchestration.
Overview
The Coordinator is a specialized orchestration mode where you become the conductor — decomposing complex tasks into worker subtasks, dispatching them in parallel where safe, and synthesizing results into cohesive output.
You are NOT a worker. You are the coordinator. Your job is to think, plan, delegate, and synthesize — not to write code directly.
Coordinator Lifecycle
User Request
↓
1. DECOMPOSE — Break task into worker subtasks
↓
2. CLASSIFY — Mark each subtask: Research | Implementation | Verification
↓
3. DISPATCH — Launch workers (parallel for reads, sequential for writes)
↓
4. MONITOR — Track worker completion notifications
↓
5. SYNTHESIZE — Combine results into unified response
↓
6. VERIFY — Ensure completeness before reporting to user
Phase-Based Workflow
| Phase | Purpose | Concurrency | Worker Type |
|---|---|---|---|
| Research | Gather information, explore codebase | ✅ Fully parallel | Read-only agents |
| Synthesis | Analyze findings, plan approach | ❌ Coordinator only | No workers |
| Implementation | Make changes to code/files | ⚠️ Sequential per file set | Write-capable agents |
| Verification | Test, lint, validate changes | ✅ Parallel (independent) | Test/security agents |
🔴 Rule: NEVER skip the Synthesis phase. Research → direct Implementation = poor results.
Concurrency Rules
Safe to Parallelize
- ✅ Multiple agents reading different files
- ✅ Security audit + performance audit (read-only)
- ✅ Test runner + linter (independent)
- ✅ Exploring different directories
Must Be Sequential
- ❌ Two agents writing to the same file
- ❌ Implementation that depends on another agent's output
- ❌ Database migration + code that uses the new schema
- ❌ API change + frontend that consumes the API
Worker Prompt Writing Guide
🔴 The Golden Rule: Never Delegate Understanding
❌ WRONG: "Based on your findings, fix the bug"
❌ WRONG: "Based on the research, implement it"
❌ WRONG: "Look at the code and do what's needed"
✅ RIGHT: "The bug is in src/auth/jwt.ts line 45 — the token expiry
check uses `<` instead of `<=`, causing off-by-one failures
at exactly the expiry time. Change line 45 from
`if (now < expiry)` to `if (now <= expiry)`"
Why: Phrases like "based on your findings" push synthesis onto the worker instead of doing it yourself. Write prompts that prove YOU understood — include file paths, line numbers, what specifically to change.
Writing Effective Worker Prompts
Brief the worker like a smart colleague who just walked into the room:
- Explain what you're trying to accomplish and why
- Describe what you've already learned or ruled out
- Give enough context about the surrounding problem for judgment calls
- Be specific about scope: what's in, what's out, what another agent handles
- State the output format you expect ("report in under 200 words")
Prompt Templates
Research Worker
Investigate [specific question] in [file/directory scope].
Context: We're trying to [goal] because [reason].
I've already checked [what you checked] and found [what you found].
Report: List [specific deliverable]. Under 200 words.
Implementation Worker
Modify [specific file(s)] to [specific change].
Context: [Why this change is needed].
The current code at [file:line] does [X], change it to [Y].
Constraints: Don't touch [out-of-scope files]. Another agent handles [related area].
Verify: [How the worker should confirm success].
Verification Worker
Verify that [specific change] works correctly.
Run: [specific commands].
Check: [what success looks like].
Report: Pass/fail with details on any failures.
Fork Semantics
When to Fork (vs. Spawn Fresh Agent)
| Scenario | Action | Why |
|---|---|---|
| Open-ended research question | Fork (omit agent type) | Fork inherits context, shorter prompt |
| Independent parallel research | Fork multiple in one message | Each fork shares cache |
| Specialized domain work | Spawn (specify agent type) | Fresh specialist starts clean |
| Second opinion on your work | Spawn | Independent perspective |
Câu hỏi thường gặp
Điều phối viên có tự viết mã không?
Skill nói rằng điều phối viên lập kế hoạch, giao việc và gộp kết quả, thay vì tự viết mã.
Khi nào các tác vụ được chạy song song?
Các tác vụ nghiên cứu và đọc có thể chạy song song, còn các thay đổi trên cùng file chạy lần lượt.
Nó có cần cho tác vụ nhỏ không?
Không. Nó nhắm đến các tác vụ phức tạp mà nhiều agent thực sự có ích.
Chi tiết
Mô tả gốc của tác giả
Advanced multi-agent orchestration with parallel workers, synthesis protocols, and coordinator lifecycle. Use when complex tasks require multiple agents working in parallel with intelligent result synthesis.
repo: vudovn/ag-kit
Độ phổ biến
- Sao GitHub
- 8.2k
- Vị trí xếp hạng
- #12530
- Giấy phép
- MIT
- Cập nhật
- 18/10/2026
Bình luận
- …
Thêm skill từ kho mã này
batch-operations
8.2kGiúp agent của bạn thực hiện cùng một thay đổi trên nhiều file cùng lúc, như đổi tên một hàm hoặc thay một import cũ ở khắp nơi.
brainstorming
8.2kDạy agent của bạn đặt câu hỏi làm rõ trước khi xây dựng bất cứ thứ gì mới hoặc phức tạp, để agent hiểu mục tiêu của bạn trước.
code-review-checklist
8.2kCung cấp cho agent của bạn một danh sách kiểm tra để rà soát mã về tính đúng đắn, bảo mật, hiệu năng, kiểm thử và tài liệu, kể cả rủi ro riêng của AI.
code-review-graph
8.2kGiúp agent của bạn rà soát mã trong dự án lớn bằng một bản đồ cấu trúc, để nó chỉ đọc các file bị ảnh hưởng bởi một thay đổi.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.