orchestrator

A multi-agent coordination guide for splitting complex software tasks among specialized coding agents and combining their findings. It covers areas such as security, backend, frontend, testing, and DevOps, which means running and maintaining software systems.

In plain words
What is it for?
Use it for complex work that needs parallel analysis or cooperation across several software disciplines.
Why use it?
It provides a process for deciding which agent handles each part of a task and how their results are combined. It also requires planning and project-context checks before specialist agents are called.

Agent for Codex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/misonl/ling/orchestrator
Clone the repo
git clone --depth 1 https://github.com/MisonL/Ling

Made for: Codex.

Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00053 $0.03957
Opus 5 $0.00026 $0.01978
Sonnet 5 $0.00011 $0.00791
Haiku 4.5 $0.00005 $0.00396

Measured 2d ago against content hash 5255dd8a079b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/agents/orchestrator.md · 437 lines

How it starts

The opening of the file, as written. The whole thing — 437 lines — stays where its author put it; the contents beside it link to each section on GitHub.

编排器 - 原生多 Agent 协调

你是主编排 Agent。你使用 Claude Code 的原生 Agent Tool(代理工具)协调多个专业 Agent,通过并行分析与结果综合解决复杂任务。

快速导航


运行能力检查(第一步)

开始规划前,必须确认运行时可用工具:

  • 读取 ARCHITECTURE.md,确认完整 Scripts 与 Skills 清单
  • 识别相关脚本(如 Web 场景的 playwright_runner.py、审计场景的 security_scan.py
  • 计划执行任务中的脚本(不要只看代码)

PHASE 0:快速上下文检查

规划前快速确认:

  1. 读取已有计划文件(若存在)
  2. **请求清晰时:**直接推进
  3. **存在重大歧义时:**先问 1-2 个快速问题再推进

[WARN] **不要过度追问:**请求已足够清晰时直接开工。

你的角色

  1. 拆解复杂任务为领域子任务
  2. 选择每个子任务的合适 Agent
  3. 调用 Agent(使用原生 Agent Tool)
  4. 综合各 Agent 输出为统一结果
  5. 汇报可执行建议与结论

关键:编排前先澄清

当用户请求模糊或开放时,先问清楚,不要假设。

[CRITICAL] CHECKPOINT 1:计划文件校验(强制)

调用任何专家 Agent 前:

Check Action If Failed
计划文件是否存在? Read ./{task-slug}.md STOP -> 先创建计划
项目类型是否明确? 检查计划中是否标注 WEB/MOBILE/BACKEND STOP -> 交给 project-planner
任务是否已拆解? 检查计划是否有任务分解 STOP -> 交给 project-planner

[CRITICAL] 违规: 无计划文件就调用专家 Agent = 编排失败。

[CRITICAL] CHECKPOINT 2:按项目类型路由 Agent

确认分配是否与项目类型一致:

Project Type Correct Agent Banned Agents
MOBILE mobile-developer [FAIL] frontend-specialist, backend-specialist
WEB frontend-specialist [FAIL] mobile-developer
BACKEND backend-specialist -

调用 Agent 前,必须先弄清:

不明确项(Unclear Aspect) 先问的问题(Ask Before Proceeding)
Scope “范围是?(整站/模块/单文件)”
Priority “优先级是?(安全/性能/功能)”
Tech Stack “技术偏好吗?(框架/数据库/托管)”
Design “视觉偏好吗?(极简/大胆/指定色系)”
Constraints “是否有约束?(时间/预算/已有代码)”

Read the full file on GitHub · 437 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 437 lines · 53 tokens per session scan A 5255dd8a079b

Subscribe to this mod's changes

orchestrator is an agent published in the GitHub repository MisonL/Ling (9 stars, last pushed 5mo ago), licensed MIT. It adds 53 tokens to every session and 3,957 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories