/dev-team:orchestration-benchmark [--task-class <trivial|standard|complex>] [--runs <n>] [--dry-run]from dev-team
Runs a pre-registered A/B benchmark comparing solo sessions vs orchestrated delegation across task classes, measuring cost, quality, and rework. Use when evaluating whether orchestration earns its overhead.
Ships in dev-team. 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.
None: SKILL.md is the whole skill.
Role: orchestrator. This command dispatches benchmark runs and aggregates their results — it never performs the benchmark tasks itself and never edits the code under test.
You have been invoked with the /orchestration-benchmark command.
Not
/benchmark./benchmarkmeasures runtime performance of web pages (Core Web Vitals, resource sizes, load times). This skill measures orchestration value: whether the dev-team pipeline's delegation earns its overhead against a solo session on the same task at the same rigor. Different subject, different instruments, different report.
Arguments: $ARGUMENTS
--task-class <trivial|standard|complex>: Run only one task-matrix class
(bucket names from knowledge/task-size-classifier.md). Default: all three.--runs <n>: Runs per arm per task class (default: 5). Fewer than 5 makes
the result exploratory, not decidable — say so in the report and do not
apply the decision rule to it.--dry-run: Print the run plan — interleaved schedule, selected fixtures,
each arm's agents' declared model:/effort: frontmatter, and a cost
estimate — without dispatching anything.| Arm | Configuration |
|---|---|
| A — Solo | Single session, no subagent dispatch; the session model does all reading and all work itself. |
| B — Current orchestration | The dev-team pipeline exactly as shipped. |
| C — Delegation-only sweep | Arm B plus the #1093 sweep rule: the orchestrator never reads beyond classification-sized probes; all bulk reading goes to low-band workers with scoped briefs per the #1092 batching rules. |
All three arms run the identical task with identical acceptance checks (the fixture's eval assertions). See constraint 1: unequal rigor invalidates the run.
Sample across the knowledge/task-size-classifier.md buckets
(trivial | standard | complex) — one task class per bucket:
| Class | Bucket | Example | Expectation |
|---|---|---|---|
| Small single-file | trivial | One-file bug fix from an eval fixture | Expected worst case for delegation |
| Medium few-file | standard | Feature slice touching 3–5 files | Near the predicted crossover |
| Large sweep-heavy | complex | /code-review over a 20+ file diff; repo-wide audit | Expected best case for delegation |
Reuse existing /agent-eval fixtures under evals/fixtures/ wherever
possible; add fixtures only where a class has none.
This case compares three candidates with one on a complex step.
It measures whether the extra candidates earn their cost.
complex only. The fixture is a plan fixture with one complex
step and its eval assertions under evals/fixtures/. Add it when the case
first runs (none exists). Run that step with /build./build --candidates 1 once on the fixture step. Step cost
is the cost-meter delta across the step: cost_meter.py report before the
step and after its checkpoint passes. Set the cap at 5× the pilot's step
cost. Exclude the pilot from the runs.--candidates 1) and N = 3 (--candidates 3 --max-cost-usd <cap>).--runs), interleaved order (1, 3, 1, 3,
…), median + spread, and model-pinning rules apply unchanged. See
Repetitions and isolation. Runs execute one
at a time; no run overlaps another run or the pilot.Speculative dispatch rows of
the plan's ## Plan Review Summary. Those rows give the kept candidate's
rank inputs and the Cost (USD) column. Screening spend is all step cost
outside the cap: suite runs, screening, and the winner's inline checkpoint.
It equals the run's measured step cost − the sum of the Cost (USD)
column.--candidates bullet
(skills/build/SKILL.md, Parse Arguments) with the result.Speculative dispatch under Per-class
results.--runs). Report median + spread
(min/max or IQR) — never a single run. A difference smaller than the spread
is a null result./headless-run (skills/headless-run/SKILL.md): each run
dispatches through
skills/headless-run/scripts/isolated_dispatch.py — fresh session id,
clean HOME and config dir, scrubbed env — so runs are independent and no
parent-session identity or state carries over.model:/
effort: frontmatter (ADR 0026) — record that frontmatter before the
first run and include it in the report. If any dispatched agent's
frontmatter changes mid-experiment, abort and restart; do not mix runs
across frontmatter versions.| Metric | Instrument |
|---|---|
| Dollar cost & tokens by model/thread | python3 ${CLAUDE_PLUGIN_ROOT}/hooks/lib/cost_meter.py report --transcript <path> |
| Tokens moved to low band (mechanism check) | The cost meter's by_model / by_thread split from the same report |
| Quality | The fixture's eval assertions — identical across arms |
| Rework | Fix-loop iterations; .claude/metrics/review-value.jsonl where review checkpoints ran |
| Wall-clock | Harness transcript timestamps |
Arm C's cost reduction must be produced by the claimed mechanism. If Arm C's
cost drops but reading tokens did not shift to low-band subagent threads
(the cost meter's by_model/by_thread split shows the movement), treat the
result as a rigor violation, not a win — the savings came from reading
less, not from delegating the reading.
Apply per task class:
/harness-audit — do not suppress it.Each of these must be explicitly addressed in the report — not silently skipped:
model:/effort: frontmatter or an underlying model changed
mid-experiment; the abort/restart rule (above) is the control.Write the report to .dev-team-reports/orchestration-benchmark-<date>.md.
For the header block and closing Provenance section, follow
knowledge/report-template.md; the sections below are this skill's own
body.
Body sections, in order:
Speculative dispatch subsection
here.Speculative dispatch subsection.model:/effort:
frontmatter, exact model IDs per run, interleaved schedule as executed,
discarded runs and why./benchmark is runtime-performance-only (web pages); this skill
measures orchestration value. They share nothing but the name shape./headless-run is the isolation mechanism for every dispatched run;
/agent-eval fixtures supply the tasks and acceptance checks;
/cost-report and hooks/lib/cost_meter.py are the cost instruments;
each agent's model:/effort: frontmatter is the model-pinning source of
truth (ADR 0026); /harness-audit consumes any "A dominates B" finding.plugins/dev-team/CLAUDE.md moves "efficiency gains" from Not yet to
Instrumented, naming this skill as the instrument. Shipping this skill
does not perform that flip.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-team103 skills in this plugin
/adr-toolsCreate and manage Architecture Decision Records using the npryce adr-tools CLI. Use when the user asks to "add an ADR", "record this decision", "create an ADR", "supersede ADR N", "link ADRs", "generate the ADR table of contents", or any request involving the `adr` command. Pairs with the adr-author agent — this skill is the mechanics (commands, files, links); adr-author is the decision framework (when an ADR is warranted) and the prose authoring./agent-auditAudit code-review agents, skills, and hooks for structural compliance. Use this when adding or modifying any agent, skill, or hook file, or for a periodic health check of the toolkit. Trigger phrases: "audit the agents", "check compliance", "validate the skills", "are the agents correct", or any time agent/skill files change./Other plugins' skills for the same job