coordinate
できること
調査役は読むだけで、書き込み役は独自のworktreeで1人だけ作業する小さなエージェントのチームを設定します。リーダーがタスクを割り当て、結果を確認して、最終的な答えを届けます。並列の調査が役立つ複雑な目標向けです。
使う場面
- ✓目標が並列の調査に分けられるほど大きいとき。
- ✓独立したチームメイト同士が、決定の前に互いの証拠を確認し合う必要があるとき。
- ✓コードの変更が必要で、調査役とは別に1人の書き込み役を置きたいとき。
スキルのリンク
https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/coordinate/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“なぜログインが遅いのかを、小さなチームで調べてください。原因で合意したら、1人のチームメイトが修正を適用してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
リーダーは共有のタスクリストを作り、読み取り専用の調査役を起動し、証拠が食い違うときは追加の指示を送ります。コードを編集するのは書き込み役1人だけで、調査が終わった後に、別のworktreeで作業します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
調査役はファイルを変更できますか?
いいえ。読み取り専用のチームメイトは、シェルの利用、編集、ファイルの書き込み、ほかのエージェントの起動ができません。
チームメイトは何人まで持てますか?
チームツールが報告する上限まで持てます。通常の最大数は調査役3人です。
リーダーはすべての結果を受け入れますか?
いいえ。各結果は証拠と照らして確認され、却下された作業は再割り当てされます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 29k
- ランキング
- #9778
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
codegraph
29kエージェントが、索引化されたコードベースを、呼び出しグラフ、依存関係、デッドコード、ホットスポット、意味検索を通じて分析できるよう支援します。
qwen-code-claw
29kエージェントが、コードベースの理解、バグ修正、リファクタリング、新しいプロジェクトの生成などのコーディング作業を、Qwen Codeに任せられるよう支援します。
structured-debugging
29kエージェントに、難しいバグを段階的に調べる方法を教えます。仮説を立て、的を絞った確認を行い、検証して、修正の前に本当の原因を見つけます。
tmux-real-user-testing
29kエージェントが、tmux内でターミナルアプリを実際のユーザーのように試せるよう支援します。各操作の画面のスナップショットを付けた、読みやすい手順のログを保存します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。