一个可移植的多 agent 协作 skill,适用于 3 个及以上 AI agent。它能够自动识别 agent 的工具、权限和专长,分配协调者、实现者、验证者等角色;通过单一主写入者机制避免文件冲突;对重要任务执行“规划 → 实现 → 独立复核 → 最终验收”流程,并通过结构化上下文和模型分层降低 Token 与 API 成本
# Add to your Claude Code skills
git clone https://github.com/3338902669-ops/agent-orchestraGuides for using ai agents skills like agent-orchestra.
agent-orchestra is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by 3338902669-ops. 一个可移植的多 agent 协作 skill,适用于 3 个及以上 AI agent。它能够自动识别 agent 的工具、权限和专长,分配协调者、实现者、验证者等角色;通过单一主写入者机制避免文件冲突;对重要任务执行“规划 → 实现 → 独立复核 → 最终验收”流程,并通过结构化上下文和模型分层降低 Token 与 API 成本. It has 50 GitHub stars.
agent-orchestra's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/3338902669-ops/agent-orchestra" and add it to your Claude Code skills directory (see the Installation section above). agent-orchestra ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
agent-orchestra is primarily written in JavaScript. It is open-source under 3338902669-ops on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agent-orchestra against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A capability-first coordination protocol with explicit ownership, evidence, stop conditions, and token-aware routing. It reduces error risk but cannot promise absolute infallibility.
Configure in config/agents.example.yaml under activation:.
| mode | behavior | token cost |
|---|---|---|
| global | engages for every task | highest (always loaded) |
| keyword | engages only when task text matches keywords | default; low |
| manual | engages only when the user explicitly invokes it | lowest |
Decide engagement before starting any work:
Read the activation block from config/agents.example.yaml.
If mode is global -> engage.
If mode is manual -> engage only when the user explicitly asked for multi-agent orchestration.
If mode is keyword -> run:
node scripts/detect-trigger.mjs --text "" --config config/agents.example.yaml
Exit code 0 (ENGAGED) means use this skill; exit code 1 (NOT_ENGAGED) means do not use it. Exclude keywords act as a veto even when a trigger keyword matched.
Coordinator decomposes work, maintains state, resolves conflicts, and accepts evidence. Implementer edits assigned resources. Verifier independently tests behavior and regressions. Environment specialist diagnoses runtime, MCP, build, and toolchain problems. Domain reviewer checks UX, content, security, legal, or other domain criteria.
One agent may hold multiple roles for routine work only. Important work requires an independent verifier.
Load only the reference section needed. Use one coordinator summary instead of full transcripts. Send bounded structured packets. Parallelize independent read-only checks; serialize dependent work and writes. Use cheap models for discovery and mechanical checks; reserve strong models for ambiguity, architecture, adversarial review, and acceptance. Never compress requirements, code, paths, URLs, hashes, errors, permissions, or evidence.
See references/token-efficiency.md.
Do not claim done, verified, or deployed without criterion-linked evidence. User-facing work should test actual runtime, target environments, core interactions, errors, keyboard/accessibility where relevant, resource loading, and fallback or reduced-motion behavior where relevant. A failed gate returns the task to its responsible stage.
See references/protocol.md, references/roles.md, and config/agents.example.yaml.
多个 Agent 并行推进时的典型翻车点,组建团队前逐条对照。
| # | 坑 | 症状 | 工程化解法 |
|---|---|---|---|
| 1 | 上下文爆炸 | 共享对话越滚越长,早期约束和验收标准被挤出窗口 | 交接单只存结论与状态(≤200行);过程性讨论留本地;每批次由总控重发「最小必要上下文」 |
| 2 | 幻觉传染 | 一个成员输出错误信息,经共享记忆被全员当事实扩散 | 共享记忆分区:写入需总控标「已验证」才可见;未验证内容进隔离区并标注来源与置信度 |
| 3 | 协作死锁 | A 等 B、B 等 C、C 又等 A,系统永久挂起 | 资源/产出申请按全局固定顺序排队;每个等待带超时(默认15分钟),超时升级总控裁决 |
| 4 | 状态不一致 | 两人手里的任务状态对不上,重复做或漏做 | 唯一事实源=任务看板状态机;改状态即写盘;口头状态不作数 |
| 5 | 通信风暴 | 成员互相直聊,消息链路随人数平方膨胀 | 星型拓扑:只允许「成员↔总控」通信,禁止成员互发;协作由总控转交 |
| 6 | Agent 蔓延 | 按功能细分拆太多角色,边界重叠没人负全责 | 减法原则:新角色先回答「能否并入现有闭环」;每个角色端到端负责一段可交付物 |
| 7 | 调度靠 LLM 临场发挥 | 同一输入两次派发结果不同,忽快忽慢还漏派 | 派发确定性化:看板扫描+固定规则(标签/负载/顺序);LLM 只做规划不做机械分发 |
| 8 | 无验收聚合 | 各自交付没人拼装校验,缺陷集成时才爆 | 总控独立验收门禁:对照验收标准逐条核验+运行证据;不合格整批退回 |
A portable, capability-first protocol for coordinating three or more AI agents with explicit ownership, independent verification, risk-based execution, and token-aware routing.
It does not provide an absolute guarantee; it makes failures visible, recoverable, and less likely.
The skill engages in one of three modes, configured under activation: in config/agents.example.yaml:
For keyword mode, run the trigger detector before starting:
node scripts/detect-trigger.mjs --text "<task text>" --config config/agents.example.yaml
Exit code 0 means ENGAGED (use the skill); 1 means NOT_ENGAGED. Exclude keywords veto engagement even when a trigger matched.
Option A: one-click installer (auto-detects common skill dirs).
Windows PowerShell:
powershell -ExecutionPolicy Bypass -File scripts/install.ps1
Linux/macOS shell:
./scripts/install.sh
Option B: clone and copy SKILL.md, references, and config into the skill directory supported by your host.
Validate your config locally:
node scripts/validate-config.mjs
Implement these five primitives: discover_agents, dispatch, lock, record, and approve. If a primitive is unavailable, use a documented manual fallback and record the limitation.
This is important. Three agents are available. Assign the best implementation agent, have another independently test it, and do not deploy.
Expected: capability inventory, role assignment, task packet, ownership lock, implementation evidence, independent verification, acceptance report, and awaiting_user_approval for deployment.
MIT.