/orchestra:replay-app-harnessfrom orchestra
Drafts an app-harness.json sidecar from the user's repo, queues an app_replay run against frozen benchmark tasks, and reads honest regression verdicts after code changes.
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.
None: SKILL.md is the whole skill.
Model arms answer "what would model X do?". The app_replay arm answers
"what does the user's app, as the code currently exists, do on the same
frozen tasks?" — the regression check to run after editing the user's code.
Full reference: docs/app-harness.md in this repo; sidecar schema:
schemas/understudy.app_harness.v1.schema.json.
Prefer the installed orchestra binary. If it is unavailable inside a repo
checkout, run through the package script:
npm run build
node dist/bin.js runs execute --benchmark <benchmark-dir>
app-harness.json that the developer showed you or approved;
never invent entrypoints. Show the drafted sidecar and get approval before
the first run.env — do not attempt to route
around them, and say so if the app hard-codes a provider base URL.app_replay_unobserved or
unscored rows as passes/failures; report them as unobserved and point at
the tier-1 boundary in docs/app-harness.md.app-harness.json from the user's repoRead the user's repo and draft the sidecar into the benchmark directory:
input_mode:
argv — prompt appended as the final argument;stdin — one JSON line {"task_id", "prompt"};http — author the endpoint template now; it validates but does not
execute at tier 1 (say so to the user).
In every mode the app can instead read UNDERSTUDY_TASK_PROMPT /
UNDERSTUDY_TASK_ID from the env.notes (OpenAI/Anthropic — both base-URL redirect
vars are injected; see the instrument skill).tool_route: "gateway_tools" only if the app's tool layer writes
UNDERSTUDY_LIVE_JOURNAL lines; otherwise "none" and tell the user the
rows will honestly read app_replay_unobserved until tier 2.per_task_timeout_seconds (default 300, max 3600), cwd, command
(argv vector), schema_version: "understudy.app_harness.v1",
llm_route: "gateway".Queue via the hub (POST /api/runs) or MCP queue_run with
"app_replay": true and models set to a label for the app (e.g. its name).
The request records requires: ["app_replay"] so old executors skip it with
run_unsupported instead of corrupting it. Then make sure an executor runs:
orchestra runs execute --benchmark <benchmark-dir> --watch
arm_kind: "app_replay" and NEVER feed calibration (an
app replay is not an incumbent claim).subscores.runner_app_replay: 1 and went through the
same contract scorer as every other arm.anomaly.kind: "app_replay_unobserved" mean the app finished
but its tool effects were not observable — report that as "unobserved",
never as a 0 or a pass.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
43 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./check-routing-healthUse when a developer asks "is Orchestra causing my errors", "which workloads are routed", "is my routing config actually taking effect", "is my provider healthy", "are there 500s on staging", "what's our error rate", "where is my gateway spend going", or wants self-service diagnostics without asking the team. Reads the hosted reporting endpoints with the developer's sk_* key./compare-model-sweepUse when a developer wants to compare candidate models — any mix of local, gateway, or frontier — on the same eval and see quality, latency, cost, and reliability side by side. "Which model should I use", "sweep these models on my benchmark", "compare Gemma vs the frontier on my eval". To stand up and serve a local candidate first, use run-local-model-lab./compare-trajectoriesUse when you need to know HOW two model runs differ behaviorally on the same tasks, not just THAT one scores higher — per-task trajectory diffing that classifies the gap as persistence/recovery, knowledge, or format/parsing. "why does the bigger model pass these", "is this gap RL-shaped", "diff these two trajectory runs", "where do the trajectories diverge", "what would distillation buy me". The behavioral complement to compare-model-sweep.npx claudepluginhub understudylabs/orchestra-agent-tools --plugin orchestraOther plugins' skills for the same job