/orchestra:onboardfrom orchestra
Interactive first-run experience for the Orchestra plugin. Profiles the user's machine and goals, saves a local profile, and points the plugin at their real workload. Activates on install or when the user asks to get started.
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.
The first thing a new user experiences. Goal: in a few minutes, leave them with (1) a clear sense of what Orchestra is and why it matters, (2) the plugin pointed at their real workload, and (3) a saved profile so you never re-ask what you already learned. A local model is optional: the installer's local model lab (Apple Silicon only) or an explicit request, never a default.
Run this after install-agent-adapter. It follows the
engagement doctrine in
../../docs/engagement-and-pacing.md:
keep the first minutes fast, and background anything slow. Detail —
profile schema, interview bank, tooling-detection table — is in
reference.md.
orchestra login in their own terminal; if
they would rather do it here, run orchestra login --email <email> --send-code
and let them type the code into the chat themselves.Returning user? If ~/.understudy/profile.json exists, read it, greet them by
where they left off, confirm nothing major changed, and skip straight to the
work — do not re-run the full interview. Only first-timers get the full flow.
If the launch prompt came from install.sh --lower-my-ant-bill, treat the
primary goal as lowering Anthropic/Claude API spend. Still do the local-first
profile and quick proof, but keep the interview short and route the real work
to ../lower-anthropic-bill/SKILL.md:
inventory Anthropic call sites, re-baseline tokenizer risk, audit cache hits,
and build an opportunity ledger before any code edits or provider calls.
Check the sign-in. Run orchestra status --json. If signed_in is
false, say what the account is for (a gateway key for routing, captures,
and hosted runs; local work needs none) and follow the sign-in safety gate.
Do not block the rest of onboarding on it.
Check the local model lab. If
~/.understudy/agent-tools/install-state/local-model-lab.json exists, the
installer started the managed MLX runtime install and the bootstrap model
download in the background. Read the pull.log and runtime.log paths it
names and report progress in one line (done, percent, or failed with the
log tail); do not watch it. Without that file, do not download anything.
On an Apple Silicon Mac, mention once that the lab is available; if the
user wants it, name the model (Orchestra 2B, catalog id
gemma-4-e2b-it-qat-mlx-vlm-understudy: our MLX 4-bit build of Gemma 4 E2B
QAT, about 3.6 GB), get a yes, and start
orchestra models runtime install (needs uv) and
orchestra models pull gemma-4-e2b-it-qat-mlx-vlm-understudy in the
background through ../manage-local-models/SKILL.md.
Other machines: say local models are Mac-only for now and move on.
Profile the machine. Detect OS/chip (Apple Silicon vs CUDA), RAM /
unified memory, free disk. State what fits locally. This is the hardware
inventory from
../run-local-model-lab/SKILL.md, brought
to the front.
Detect ML tooling → infer experience. Check for PyTorch, vLLM,
Transformers, TRL/PEFT, MLX, llama.cpp, Ollama, the HF CLI, nvidia-smi
(table in reference.md). Lots of ML libs ⇒ experienced;
none ⇒ likely first-timer. Use this to pre-fill the interview, not to
skip it.
Interview (one batched AskUserQuestion). Confirm the inference rather than
interrogate: "I see PyTorch and vLLM here, so I'll assume you're comfortable
with ML tooling — right?" or "No ML tooling yet — first time running models
locally?" Capture: experience tier, primary goal (cost / latency / quality /
learning / compliance), hard constraints (ZDR / local-only / approved
providers), and preferred coaching depth. Question bank in
reference.md.
Write the profile and agent card. Save ~/.understudy/profile.json (schema in
reference.md): experience tier, detected tooling, hardware,
goal, constraints, and the three meet-them-where-they-are dials — vocabulary,
coaching depth, opinion strength. Append, don't overwrite, the history of
workloads and decisions. For ~/.understudy/agent-card.json, check whether
the Understudy desktop app is running first (read the card's app.running /
app.pid, or hit app.base_url): the app is the canonical local daemon and
maintains the card itself — server endpoint, warm models, shutdown state.
Only refresh the card yourself as a fallback when the app isn't installed
or running, recording live runtime facts: the local model (if any),
endpoint, serving process, companion status, and the exact command or URL
for talking to the local specialist model. If ~/.understudy/companion.json
points at a dead pid, clear it and record the stale pid in the card.
Profile the user's real workload. The main path is
not a model duel. Ask the user for a codebase, trace folder, dataset, eval
runner, prompt file, or app route. If they point at a project, route to
../understand-workload/SKILL.md first:
inspect prompts in situ, trace the request/response path through code,
summarize the dataset or trace distribution, name the real task, and confirm
that understanding with the user before any optimization. If there is already
a real captured environment, skip the toy sandbox. Only use
../design-simulated-environment/SKILL.md
when there is no resettable real workload yet. If the stated goal is lowering
an Anthropic bill, route to
../lower-anthropic-bill/SKILL.md
instead of asking for a generic problem.
Make the local proof and head-to-head optional. Once the lab's model is
cached, the user can see it run: serve it with the managed runtime through
../manage-local-models/SKILL.md, and
briefly teach the idea — open weights you run yourself, free and ZDR-safe
locally, graduating to a larger model in the same family via the gateway
when quality demands it. A frontier-vs-local comparison is useful when the
user needs to feel the quality gap, calibrate taste, or get buy-in. It is a
side quest, not the default evidence path. If the user wants it, follow the
ladder VS lane (it runs from a source checkout) and
disclose that the frontier side is billed. Otherwise keep going through workload understanding, capture
evidence, and local evaluation against the actual task slice.
Route onward. Hand to the understudy
orchestrator for the improvement loop. In the normal first-run path, the next
worker is understand-workload: pick a
real app, trace, prompt file, dataset, or eval and define the task before
comparing or optimizing models. Use
manage-local-models only to grow and
organize the local model library, and
run-local-model-lab only once there is a
frozen real workload/eval to score.
Adapt everything to the profile: expand jargon and give first-timers one clear recommended path; stay terse and offer trade-offs to practitioners.
End with: sign-in status; local model lab status (not started, downloading, cached, or Mac-only); hardware found and what fits locally; inferred experience tier and the dials set; the profile path written; the agent-card path refreshed; the workload picked (or the question still open); and one recommended next skill/command.
reference.md — profile schema, interview bank, tooling map,
experience→coaching dials.../../docs/engagement-and-pacing.md —
the background-first, fill-the-wait doctrine.../../docs/open-model-spotlight.md —
Gemma 4 & Nemotron 3 picks and hardware fit.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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