coordinator-mode
できること
このスキルは、AIを調整役として働かせます。大きな仕事を部分に分け、ヘルパーエージェントに渡して、その結果をまとめます。並列作業が役立つ複雑なプロジェクト向けです。
使う場面
- ✓タスクが大きく、調査と構築の段階に分けられるとき。
- ✓複数のヘルパーエージェントを並列に働かせ、最後に一つにまとめた結果がほしいとき。
- ✓一緒に実行できる読み取りの作業と、順番に行う必要がある書き込みの作業があるとき。
スキルのリンク
https://github.com/vudovn/ag-kit/blob/main/.agents/skills/coordinator-mode/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この移行作業を部分に分け、各分野をヘルパーに並列で調べさせて、一つにまとめた計画を示してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
調整役は作業を分割し、読み取り専用の調査を並列に実行します。変更は安全な順序で実行し、結果をまとめて報告する前に全体を確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 |
よくある質問
調整役が自分でコードを書きますか?
スキルによると、調整役は直接コードを書くのではなく、計画し、委任し、結果をまとめます。
いつタスクを並列に実行しますか?
調査や読み取りのタスクは並列に実行できますが、同じファイルへの変更は一つずつ行います。
小さなタスクにも必要ですか?
いいえ。複数のエージェントが実際に価値を生む、複雑なタスクを対象としています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 8.2k
- ランキング
- #12530
- ライセンス
- MIT
- 更新日
- 2026/10/18
コメント
- …
このリポジトリの他のスキル
batch-operations
8.2k関数の名前変更や古いimportの置き換えなど、同じ変更を多くのファイルに一度に行うよう、エージェントを支援します。
brainstorming
8.2k何か新しいものや複雑なものを作る前に、エージェントが確認の質問をして、まず目標を理解するよう教えます。
code-review-checklist
8.2k正しさ、セキュリティ、性能、テスト、ドキュメントに加え、AI特有のリスクも含めて、コードをレビューするためのチェックリストをエージェントに与えます。
code-review-graph
8.2k大きなプロジェクトでは、構造のマップを使ってコードをレビューし、変更の影響を受けるファイルだけを読むよう、エージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。