/orchestra:recursive-language-modelfrom orchestra
Decomposes large agentic tasks into bounded flat-context steps so small/local models can replace frontier models as drop-in replacements.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A methodology, not a library — the coding agent writes the loop to fit the workload. Use it when a frontier model does a task in one giant agentic prompt (many tool declarations + a context that compounds as raw tool results pile up) that a smaller local model cannot. Instead of shrinking the model, change the harness: have the small model solve the task as a sequence of small, bounded steps, each with a deliberately flat context.
Crucially, the RLM wraps the small model behind the incumbent's existing call contract — the workload's callers send the same request and get the same answer; the decomposition happens inside. That makes the specialist a drop-in replacement for the frontier generalist, not a rewrite of the system around it.
This composes two other skills: it needs
../understand-workload/SKILL.md to know the
task, its steps, and the success criteria, and
../design-simulated-environment/SKILL.md
so the small model has a real, scorable place to run the whole case.
When the task is long-horizon synthesis (drafting, analysis, multi-document work) rather than tool routing, have the loop emit explicit intermediate artifacts — a structured plan, an extracted-facts table, a checklist the deliverable must satisfy — and make later steps consume only those artifacts, not free-form scratchpad prose. Each artifact is checkable (schema, required keys) at the step that produces it, so errors surface mid-loop instead of in the final deliverable. The gap this closes is large: measured on an internal long-horizon benchmark, 2026-06-03, a structured-artifact workflow scored 57/59 where a raw free-form RLM loop scored 3/59 with the same models.
The hardest sub-skill is the orchestration — planning the decomposition and authoring good sub-steps. The high-volume work is the bounded execution (run the step, summarize the result). These can run on different models: a capable model orchestrates (low call count, where quality matters) while a small local model runs the bounded steps (high call count, where cost lives). This "big orchestrator + small runner" split keeps planning quality high and displaces the fan-out — usually a better cost shape than forcing one small model to do both. Decide per band: if the small model's orchestration is the gap (bad plans, no grounding), keep a capable orchestrator and make the small model the runner; if only execution is the gap, the small model can be both under a tighter scaffold.
Outcome:
Process (where it breaks — diagnose, don't just score). A small model that scores near-zero usually is not failing to know it should decompose (the harness prompts that); it decomposes badly. Outcome alone can't tell you which sub-skill to fix, so instrument the trajectory:
These pinpoint which band to fix — plan vs execute vs ground vs combine — and they double as dense per-step rewards when you train (reward grounding/compaction/correct summaries, not just the final pass/fail). Empirically, scaling the base model buys grounding and execution but not less over-thinking — so part of any gap is capacity, part is scaffold; the process profile tells you which.
Report the local model's reachable score, the decomposition factor, the process profile,
and the remaining gap — feeding the route decision
(../run-local-model-lab/SKILL.md) and, only if
local rungs genuinely can't close it,
../prepare-verifier-handoff/SKILL.md.
When the RLM loop itself is the thing that must improve, follow
references/pedagogical-training.md. It
turns the decomposition harness into a verifiers-style training surface,
separates privileged training context (c) from deploy-time input (x),
measures surprise concentration, explains how to read a live GRPO training
signal, and decides whether the next rung is local pedagogical SFT, on-policy
repair, pedagogical RL, or a hosted verifier handoff. That reference also covers
harvesting cold-start SFT data from the big-orchestrator/small-runner split — collect
good trajectories from a strong root, don't SFT on a weak model's failures.
references/pedagogical-training.md — train the RLM policy (verifiers shape, baselines, concentration, training arms, reading the training signal).../understand-workload/SKILL.md../design-simulated-environment/SKILL.md../run-local-model-lab/SKILL.md../ladder/SKILL.md — vibe-check the hill-climbed local model vs the frontier.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub understudylabs/orchestra-agent-tools --plugin orchestra43 skills in this plugin
/audit-verifier-reliabilityUse when deciding whether a verifier reward is trustworthy for optimization./calibrate-difficultyMeasure per-band model headroom from a local, source-bound run artifact before investing in training./capture-evidenceUse when a developer wants to build an eval from their real LLM app before changing anything — "measure how my app is doing today", "build an eval from my workload", "we have no baseline", "is my current model actually good". Turns the workload into auditable local artifacts (harness, metric, frozen splits, baseline); has a public-benchmark on-ramp when no traces exist.Other plugins' skills for the same job