coordinate
Skill này làm gì
Skill này thiết lập một nhóm nhỏ các agent, trong đó người điều tra chỉ đọc và một người viết làm việc trong worktree riêng. Người dẫn dắt giao việc, kiểm tra kết quả và đưa ra câu trả lời cuối cùng. Dành cho các mục tiêu phức tạp được hưởng lợi từ điều tra song song.
Khi nào nên dùng
- ✓Khi một mục tiêu đủ lớn để chia thành nhiều cuộc điều tra song song.
- ✓Khi bạn muốn các đồng đội độc lập kiểm tra bằng chứng của nhau trước một quyết định.
- ✓Khi cần thay đổi code và bạn muốn một người viết duy nhất tách biệt khỏi những người điều tra.
Liên kết skill
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/coordinate/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
“Phối hợp một nhóm nhỏ để tìm hiểu vì sao đăng nhập của chúng tôi chậm, rồi để một đồng đội áp dụng bản sửa khi chúng ta thống nhất nguyên nhân.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Người dẫn dắt tạo một danh sách tác vụ chung, khởi động các người điều tra chỉ đọc và gửi các yêu cầu theo dõi khi bằng chứng mâu thuẫn. Chỉ một người viết sửa code, trong worktree riêng, sau khi điều tra kết thú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.
Coordinate Qwen Code Teammates
Act as the team leader. Decompose the goal, keep task ownership clear, reconcile disagreements, and deliver the final result.
Build one bounded team
When team_create is available:
- Create one team and one self-contained task per current investigation workstream. Do not queue an implementation task while read-only teammates are idle because tasks are auto-assigned.
- Spawn named investigation teammates with
read_only: true— one per workstream, and prefer three at most. Never exceed the team's configured cap, whichteam_createreports; spawning past it fails outright. Do not passmodel; use the session-default model unless the selected agent definition explicitly overrides it. - Assign tasks and let teammates collaborate through
send_messageand the shared task list. Send targeted follow-ups when evidence conflicts, a task needs clarification, or a result is incomplete. - Accept or reject each result based on its evidence. Reassign rejected work instead of silently using it.
Read-only teammates have a positive execution allowlist. They cannot use shell, edit or write files, save memory, create schedules, invoke arbitrary deferred tools, or spawn agents. This is enforced by the runtime, not only by this prompt.
Pin the only writer to a worktree
When the goal requires code changes:
- Finish the parallel investigation first.
- Call
request_shutdownfor each investigation teammate. Once shutdown is pending, they are excluded from automatic task assignment. - Call
enter_worktreeonce and keep the returned path. - Create the implementation task, then spawn exactly one named writer with
subagent_type: "general-purpose"andworking_dir: <path>. Do not setread_onlyfor this teammate. - Give the writer the accepted investigation evidence and require all changes to stay inside the worktree.
- Review and verify the worktree result. The leader alone decides whether and how to integrate it into the current branch.
- Do not remove the worktree until accepted changes have been integrated or deliberately discarded.
If the checkout is not a Git repository or worktree creation fails, keep all teammates read-only and let the leader make the final change in the current checkout.
After synthesis, call request_shutdown for each still-active teammate, then delete the team.
The existing Agent View tabs show teammate conversations, messages, status, and approvals. Do not create another roster, session manager, or terminal UI.
If the Agent Team tools are unavailable, say that experimental.agentTeam must be enabled and Qwen Code restarted. Ordinary subagents are an acceptable fallback for parallel research, but describe them accurately: they report only to the leader and cannot collaborate as a team.
Keep coordination bounded
- Use one teammate for a narrow task. Past roughly three, the leader spends more of its turn reconciling reports than doing the work, so add a fourth only when the workstreams are genuinely independent — and never past the configured cap.
- Give every task an objective, scope, completion condition, and required evidence.
- Default every teammate to
read_only: true; add one worktree writer only when implementation is required. - Do not use Arena: it is for competing solutions to the same task, not collaboration on different tasks.
- Do not claim that in-process teammates are independent PTY sessions or heterogeneous CLIs.
- Finish implementation before running the smallest relevant verification once.
Return the outcome, material evidence or disagreements, changes made by the leader, verification, and remaining risks.
Câu hỏi thường gặp
Người điều tra có thể thay đổi file không?
Không. Đồng đội chỉ đọc không thể dùng shell, chỉnh sửa, ghi file hoặc tạo agent khác.
Tôi có thể có bao nhiêu đồng đội?
Tối đa là giới hạn nhóm do công cụ nhóm báo cáo, với ba người điều tra là mức tối đa thông thường.
Người dẫn dắt có chấp nhận mọi kết quả không?
Không. Mỗi kết quả được kiểm tra với bằng chứng của nó, và công việc bị từ chối sẽ được giao lại.
Chi tiết
Mô tả gốc của tác giả
Coordinate a small team of Qwen Code teammates with enforced read-only workers, an optional worktree-pinned writer, shared tasks, peer messages, and existing Agent View tabs. Invoke explicitly with /coordinate.
repo: QwenLM/qwen-code
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9778
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
codegraph
29kGiúp agent của bạn phân tích một codebase đã lập chỉ mục qua đồ thị gọi, phụ thuộc, mã chết, điểm nóng và tìm kiếm theo ngữ nghĩa.
qwen-code-claw
29kGiúp agent của bạn giao các tác vụ lập trình cho Qwen Code, như tìm hiểu codebase, sửa lỗi, tái cấu trúc mã hoặc tạo một dự án mới.
structured-debugging
29kDạy agent của bạn cách gỡ lỗi khó theo từng bước: đặt giả thuyết, thêm kiểm tra có mục tiêu, kiểm thử và tìm nguyên nhân thật trước khi sửa.
tmux-real-user-testing
29kGiúp agent của bạn kiểm thử một ứng dụng terminal như người dùng thật trong tmux, lưu nhật ký từng bước dễ đọc kèm ảnh chụp màn hình của mỗi hành động.
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.