orchestrating-chat-agents
БесплатноЗапускает вложенные скриптыНе проверенFans Claude work out over the Anthropic API from surfaces with no native subagents, chiefly claude.ai chat and projects, with parallel calls with a shared…
от oaustegard★ 425 звёзд на GitHubОб этом скилле
SURFACE ROUTING — read first
Fan-out has three possible engines. Which exist depends on where you are running. Pick the engine before writing any orchestration code.
| Engine | claude.ai | Cowork | Claude Code / CCotw |
|---|---|---|---|
Native subagents (Agent / Task / Workflow) |
✗ | ✓ | ✓ |
Gemini via CF AI Gateway (invoking-gemini) |
✓ | ✓ | ✓ |
| This skill's httpx fan-out (raw Anthropic API) | ✓ | last resort | last resort |
Primary discriminator — check the tool list, not the filesystem. If an Agent,
Task, or Workflow tool is callable, native subagents exist. That single fact
decides the row. Everything below is elaboration.
If native subagents exist (Cowork, Claude Code, CCotw)
Use them. Do not hand-roll from this skill. The managed runtime gives
16-concurrent / 1000-agent ceilings, an approval gate, adversarial cross-review,
and in-session resume — all of which this skill would reimplement worse. Route
model and effort per agent-routing (calibrated on 300 measured Haiku calls);
do not re-derive that here.
Which native mechanism to use (Agent tool, Workflow, or headless claude -p
children launched from one background command) is dispatching-subagents.
In Claude Code the claude binary authenticates through the host, so a headless
fan-out needs no API key either.
Cowork adds one option Claude Code doesn't: subagents can be declared rather
than spawned ad hoc, as agents/*.md in a plugin — frontmatter name,
description, model, effort, maxTurns, tools, disallowedTools,
skills, memory, background, isolation: worktree. They appear as
plugin-name:agent-name. Note hooks, mcpServers, and permissionMode are
refused in plugin agents for security, so a declared agent inherits the session's
MCP connections and cannot bring its own.
Reach back into this skill on those surfaces only for what the runtime lacks:
stall detection, or a long-lived ConversationThread. Inter-agent messaging is
NOT on that list — the runtime ships SendMessage and ListAgents, and
AgentPool reimplements them worse.
Inter-agent messaging between native subagents (SendMessage, ListAgents) and
its measured traps are in dispatching-subagents/references/native-messaging.md.
If native subagents do NOT exist (claude.ai chat and project sessions)
Two engines, and Gemini is the default — see subagent-delegation-protocol
in ops. Use this skill's httpx fan-out when you specifically want Claude-family
output, multi-turn threads with cached history, or inter-agent messaging.
Gemini via Cloudflare — available on every surface
Even where native subagents exist, Gemini is the right call for mechanical-but-large work (extractions, ports, boilerplate, schema transforms) and for a genuinely independent second opinion in a judge panel — a different model family fails differently, which is the whole point of a panel.
Call mechanics live in invoking-gemini; do not duplicate them here. Three
things to know:
invoking-gemini's default model isgemini-4-hydrogen, Google's current default; itsflashalias points there too. Usegemini-3.5-flash-lite(lite) for bulk extraction and classification.thinking_levelis a string in{minimal, low, medium, high, xhigh}. Hydrogen defaults tohigh, so setlowfor mechanical generation or the model silently spends its output budget reasoning — symptom is an empty or truncated response. Onlyliteacceptsminimal; on other modelsinvoking-geminisendslowinstead (a raw API call gets HTTP 400).xhighworks on Hydrogen and Neon.- Credentials come from the CF AI Gateway config, BYOK. Requests route through the gateway rather than Google directly.
Non-negotiable on all surfaces
Review is not delegable. Diff security- and protocol-critical paths line-by-line against source, run syntax/lint checks, live-test whatever is network-testable. Delegated output ships only after your own review, regardless of which model produced it or which engine ran it.
Cross-model review tools (challenge, verify_patch) keep their own model
config, often deliberately a Claude. This routing does not silently repoint them.
Orchestrating Chat Agents
Formerly orchestrating-agents (renamed 2026-10-11, because the old name drew parallel-dispatch
requests that belong to dispatching-subagents).
This skill enables programmatic API invocations for advanced workflows including parallel processing, task delegation, and multi-agent analysis using the Anthropic API.
Quick Start
Single Invocation
import sys
sys.path.append('/mnt/skills/user/orchestrating-chat-agents/scripts')
from claude_client import invoke_claude
response = invoke_claude(
prompt="Analyze this code for security vulnerabilities: ...",
model="claude-sonnet-5-5"
)
print(response)
Default model is claude-sonnet-5-5 ($2/$10 per MTok); claude-opus-5-5 ($4/$2
Установить orchestrating-chat-agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл orchestrating-chat-agents?
Fans Claude work out over the Anthropic API from surfaces with no native subagents, chiefly claude.ai chat and projects, with parallel calls with a shared cached context, streaming, long-lived conversation threads with cached history, and named agent pools; also delegates to Gemini through the Cloudflare AI Gateway on any surface. Use for multi-perspective analysis, a panel of reviewers, or task decomposition from claude.ai, or for Python code that calls several Claude instances concurrently over the API.
Как установить скилл orchestrating-chat-agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл orchestrating-chat-agents запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic