sub-agent-orchestrator — скилл для Claude Code: установка
Скилл sub-agent-orchestrator выстраивает цепочку из разных агентов, где каждый берёт результат предыдущего. Процесс описывается в YAML и идёт с повторами и таймаутами.
MIT 267 установок ★ 440 обновлён 2026-10-20
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a claude-codeЧто делает sub-agent-orchestrator
Скилл запускает конвейеры, в которых каждый шаг выполняет отдельный агент и получает вывод предыдущего. Роли, зависимости и передачу данных вы описываете в YAML. Доступны последовательные цепочки, параллельное разветвление, маршрутизация по условию, циклы с проверяющим агентом и map-reduce.
Перед стартом скилл разбирает файл, проверяет обязательные поля, ссылки на агентов и циклические зависимости, потом спрашивает недостающие входные данные. После каждого агента вывод проверяется. Если шаг упал, работают повторы и таймаут, а политика решает: пропустить шаг, остановить запуск или взять запасной вариант.
Режимов четыре: запуск готового YAML-файла, описание процесса словами (скилл сам напишет YAML и покажет на утверждение), сухой прогон и разбор файла с текстовой диаграммой. Сухой прогон выводит план и не запускает ни одного агента, поэтому первый запуск лучше делать с него. Скиллу нужны инструменты Read, Write, Agent и Bash. От Agent Army и Agent Swarm он отличается задачей: те параллельно гоняют однотипную работу, а здесь разные шаги передают данные друг другу.
Какие задачи решает
- связать агентов так, чтобы вывод одного шёл на вход другого
- отдать один вход нескольким агентам и собрать их оценки в общий результат
- направить входящие данные к нужному агенту по классификации
- повторять шаг в цикле, пока проверяющий агент не примет результат
- разбить большой вход на части, обработать и склеить ответы
Примеры запросов агенту
- Через sub-agent-orchestrator запусти цепочку агентов из моего YAML-файла
- Составь с помощью sub-agent-orchestrator YAML-процесс по моему описанию и покажи на утверждение
- Сделай сухой прогон через sub-agent-orchestrator: покажи план, агентов не запускай
Как установить sub-agent-orchestrator
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a claude-code2Вручную: положить файлы
~/.claude/skills/sub-agent-orchestrator/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/sub-agent-orchestrator/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a codex2Вручную: положить файлы
.agents/skills/sub-agent-orchestrator/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a cursor2Вручную: положить файлы
.cursor/skills/sub-agent-orchestrator/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install OneWave-AI/claude-skills sub-agent-orchestrator2Вручную: положить файлы
.github/skills/sub-agent-orchestrator/SKILL.md1Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a gemini-cli2Командой платформы
gemini skills install https://github.com/OneWave-AI/claude-skills --path sub-agent-orchestratorВручную: положить файлы
.devin/skills/sub-agent-orchestrator/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о sub-agent-orchestrator
Как установить sub-agent-orchestrator в Claude Code?
Выполните npx skills add OneWave-AI/claude-skills --skill sub-agent-orchestrator -a claude-code. Скилл появится в ~/.claude/skills/sub-agent-orchestrator/SKILL.md.
Что делает sub-agent-orchestrator?
Запускает цепочки из разных агентов, где результат одного идёт на вход другого. Процесс описывается в YAML, а скилл следит за порядком шагов, повторами, таймаутами и проверкой вывода.
Чем sub-agent-orchestrator отличается от Agent Army и Agent Swarm?
Те два параллельно выполняют однотипную работу: правки кода и обработку данных. Этот скилл связывает разнородные шаги, где вывод A питает вход B.
Исходный текст
SKILL.md · MIT
--- name: sub-agent-orchestrator description: Manages parent/child agent relationships with task delegation and result aggregation. Supports sequential chains, parallel fans, conditional routing, retry logic, timeout handling, and YAML-based visual workflow definition. tools: Read, Write, Agent, Bash user_invocable: true --- # Sub-Agent Orchestrator Design and execute multi-agent pipelines where each step is a different agent that depends on the previous one. Define roles, dependencies, and handoffs in YAML, then run sequential, parallel, conditional, loop, and map-reduce workflows with retry, timeout, and validation. Unlike Agent Army (homogeneous parallel code changes) and Agent Swarm (homogeneous parallel data processing), this orchestrator coordinates heterogeneous pipelines where the output of A feeds the input of B. ## Contents - `references/patterns.md` -- The six workflow patterns and the comparison to Agent Army/Swarm. - `references/workflow-schema.md` -- Full YAML workflow definition language. - `references/examples.md` -- Complete worked workflows (research-to-proposal, lead scoring). - `references/execution-engine.md` -- Per-step execution model, retry, timeout, validation, edge cases. - `references/templates.md` -- Reusable workflow scaffolds. - `references/visual-and-reporting.md` -- Text diagrams and the execution report template. ## Workflow 1. Determine the mode from the request: - Run a workflow file: read the YAML at the given path. - Define and run inline: convert the natural-language description into a workflow YAML (see `references/workflow-schema.md`), then show it for approval. - Dry run: parse, validate, resolve inputs, and show the execution plan without deploying agents. - Inspect: parse the YAML and produce a human-readable description plus a text diagram (see `references/visual-and-reporting.md`). 2. Parse and validate the workflow: confirm required fields, that agent IDs resolve, and that there are no circular dependencies. Report syntax or reference errors with the offending line. See `references/execution-engine.md`. 3. Resolve inputs: collect every required input from the user before starting; apply defaults for optional inputs. 4. Build the execution DAG and run each step in topological order using the matching execution model (sequential, parallel, conditional, loop, map). See `references/execution-engine.md`. 5. After each agent completes, validate its output against the agent's schema and rules. On failure, apply the retry/timeout/failure policy (skip, abort, or fallback). 6. On completion, present results using the execution report template in `references/visual-and-reporting.md`. For partial or failed runs, report what completed, what failed, and any collected partial output. ## Choosing a pattern Match the task shape to a pattern, then scaffold from `references/templates.md`: - Strict ordering of distinct steps: sequential chain. - One input scored or analyzed from multiple angles: parallel fan-out/fan-in. - Input routed by classification: conditional routing. - Output must meet a quality bar: loop with a validator. - Large input chunked and recombined: map-reduce. - A step needs a backup approach on failure: pipeline with fallback. See `references/patterns.md` for diagrams and examples of each.
© OneWave-AI · MIT · OneWave-AI/claude-skills