From orchestrate
Model-routing orchestration skill: classifies each unit of work into one of five provider-neutral difficulty tiers and spawns a subagent on the cheapest model that can do that tier reliably. Ships mappings for both Anthropic (Fable orchestrates only; Opus deep reasoning; Sonnet implementation; Haiku mechanical/bulk) and OpenAI Codex (gpt-5.1-codex-max / gpt-5.1-codex / gpt-5.1-codex-mini with matching reasoning-effort settings), and can route tiers cross-provider via the codex CLI. Use when a task decomposes into multiple delegable units, or when the user asks to "orchestrate", "route models", or "use the right model per task". Do NOT use for a single small task that one inline pass finishes faster than spawning any subagent, and do NOT use to bypass an explicit model or provider choice the user already made.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orchestrate:orchestrateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The stock `Agent` tool inherits the session model for every subagent, and the
The stock Agent tool inherits the session model for every subagent, and the
caveman:cavecrew skill routes by output compression, not by model
capability. Nothing local decides "this subtask is mechanical, send it to
Haiku" versus "this subtask is a gnarly concurrency bug, send it to Opus".
This skill is that decision procedure: an explicit, auditable tier table so
delegation cost tracks task difficulty instead of defaulting everything to the
most expensive model. If a future harness ships native difficulty-based
routing, retire this skill.
Tiers are provider-neutral: classify first, then map the tier to a model via the provider table below. Classify every delegable unit of work into exactly one tier before spawning anything. When a unit straddles two tiers, split it until each piece sits in one.
| Tier | Name | What belongs here |
|---|---|---|
| 0 | Orchestration | Decomposing the task, writing subagent prompts, sequencing/parallelizing, synthesizing results, final judgment on conflicting subagent outputs. Never spawned as a subagent — whatever model runs the main loop is the orchestrator. |
| 1 | Deep reasoning | Architecture and API design, hard debugging (race conditions, memory issues, heisenbugs), security analysis, algorithm design, adversarial verification of another agent's claim, anything where a wrong-but-plausible answer is expensive. |
| 2 | Standard implementation | Multi-file features against a clear spec, refactors with defined boundaries, writing tests for known behavior, ordinary code review, documentation of existing behavior. |
| 3 | Mechanical execution | Renames, formatting, boilerplate, applying a worked example to N more sites, single-file edits where the diff is fully specified in the prompt. |
| 4 | Bulk retrieval & classification | Fan-out file reads, "find every caller of X", summarizing many documents, labeling/classifying items against fixed criteria, extracting structured data. |
| Tier | Anthropic (Claude Code) | OpenAI (Codex) |
|---|---|---|
| 0 | fable — the main loop; never a subagent | gpt-5.1-codex-max, reasoning effort xhigh — the main Codex session; never a spawned sub-task |
| 1 | opus | gpt-5.1-codex-max, reasoning effort high |
| 2 | sonnet | gpt-5.1-codex, reasoning effort medium |
| 3 | haiku | gpt-5.1-codex-mini, reasoning effort low |
| 4 | haiku | gpt-5.1-codex-mini, reasoning effort low (drop to minimal for pure retrieval/labeling) |
Two rules keep this table honest:
codex --help / provider docs, or the claude-api skill for Anthropic);
if a newer generation exists, substitute it at the same relative tier
(max/full-size reasoning ↔ Tier 0–1, standard ↔ Tier 2, mini/small ↔
Tier 3–4) and keep the tier semantics unchanged.Agent(model: "haiku" | "sonnet" | "opus", ...). The model parameter only accepts Anthropic tiers here — Codex
models cannot be passed to Agent.codex exec -m <model> -c model_reasoning_effort=<effort> "<prompt>",
using the OpenAI column above.codex exec -m gpt-5.1-codex-mini "<prompt>" (requires the
codex CLI installed and authenticated; check command -v codex before
planning any cross-provider routing, and fall back to the Anthropic column
if absent). Useful for second-opinion verification (Tier 1 adversarial
check by a different model family) and for cost routing when one
provider's quota is exhausted.claude -p --model <model> "<prompt>" when a Claude-family opinion or
capability is wanted.For each unit, answer three questions in order; first hit wins:
If none hit, the unit is under-specified: that's Tier 0 work — decompose further before delegating.
None. This skill is a pure decision procedure; it writes no files.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.
npx claudepluginhub dkritarth/skills-marketplace --plugin orchestrate