agent-coordination
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAgent Coordination Skill
Agent协调技能
Purpose
用途
Spawn and coordinate agents for complex multi-agent tasks.
为复杂的多Agent任务生成并协调Agent。
Agent Types
Agent类型
Core Development
核心开发类
coderreviewertesterplannerresearchercoderreviewertesterplannerresearcherV3 Specialized
V3专属类
security-architectsecurity-auditormemory-specialistperformance-engineersecurity-architectsecurity-auditormemory-specialistperformance-engineerSwarm Coordination
集群协调类
hierarchical-coordinatormesh-coordinatoradaptive-coordinatorcollective-intelligence-coordinatorhierarchical-coordinatormesh-coordinatoradaptive-coordinatorcollective-intelligence-coordinatorConsensus
共识类
byzantine-coordinatorraft-managergossip-coordinatorconsensus-builderbyzantine-coordinatorraft-managergossip-coordinatorconsensus-builderGitHub
GitHub相关类
pr-managercode-review-swarmissue-trackerrelease-managerpr-managercode-review-swarmissue-trackerrelease-managerSPARC
SPARC相关类
sparc-coordsparc-coderspecificationpseudocodearchitecturerefinementsparc-coordsparc-coderspecificationpseudocodearchitecturerefinementCommands
命令
Spawn Agent
生成Agent
bash
npx claude-flow agent spawn --type coder --name my-coderbash
npx claude-flow agent spawn --type coder --name my-coderList Agents
列出Agent
bash
npx claude-flow agent list --filter activebash
npx claude-flow agent list --filter activeAgent Status
Agent状态查询
bash
npx claude-flow agent status --id agent-123bash
npx claude-flow agent status --id agent-123Agent Metrics
Agent指标查看
bash
npx claude-flow agent metrics --id agent-123bash
npx claude-flow agent metrics --id agent-123Stop Agent
停止Agent
bash
npx claude-flow agent stop --id agent-123bash
npx claude-flow agent stop --id agent-123Pool Management
池管理
bash
npx claude-flow agent pool --size 5 --type coderbash
npx claude-flow agent pool --size 5 --type coderRouting Codes
路由编码
| Code | Task | Agents |
|---|---|---|
| 1 | Bug Fix | coordinator, researcher, coder, tester |
| 3 | Feature | coordinator, architect, coder, tester, reviewer |
| 5 | Refactor | coordinator, architect, coder, reviewer |
| 7 | Performance | coordinator, perf-engineer, coder |
| 9 | Security | coordinator, security-architect, auditor |
| 编码 | 任务 | 涉及Agent |
|---|---|---|
| 1 | 漏洞修复 | coordinator, researcher, coder, tester |
| 3 | 功能开发 | coordinator, architect, coder, tester, reviewer |
| 5 | 代码重构 | coordinator, architect, coder, reviewer |
| 7 | 性能优化 | coordinator, perf-engineer, coder |
| 9 | 安全加固 | coordinator, security-architect, auditor |
Best Practices
最佳实践
- Use hierarchical topology for coordination
- Keep agent count under 8 for tight coordination
- Use specialized agents for specific tasks
- Coordinate via memory, not direct communication
- 采用层级拓扑结构进行协调
- 为保证高效协调,Agent数量控制在8个以内
- 针对特定任务使用专属Agent
- 通过内存而非直接通信进行协调