/orchestra:manage-local-modelsfrom orchestra
Acquires, caches, organizes, and explains local open-weight models. Covers model formats, quantization, gated weights, disk budgeting, and the local-to-cloud graduation path.
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; scripts run unread.
Get open-weight models onto the machine, keep them organized, and teach the user
enough to choose well. This skill is acquisition + curation + education; to score
a local model against a workload, use
../run-local-model-lab/SKILL.md.
The habit this skill installs: use a small verified model to prove the local
loop, then choose the workload candidate from task fit, evidence, hardware, and
time. The bootstrap model is not a route recommendation. Skip directly to a
stronger rung when a weak-model sequence would delay the answer; big quality
lives one understudy route away when you need it.
Read ~/.understudy/profile.json for hardware, installed runtimes, and the
user's experience tier (set tone accordingly). Inventory what is already cached
before proposing a download — the best pull is often one they already have. Disk
locations and registry links are in reference.md.
If the Understudy desktop app is running, prefer its daemon. Check
~/.understudy/agent-card.json and trust the app block only after a pid
check on app.pid plus a health probe of <app.base_url>/health
(orchestra daemon status does exactly this; then run
orchestra desktop capabilities; schema in
../onboard/reference.md). A running app can
start/poll/cancel verified snapshot downloads into the same
~/.understudy/models cache and already serves warm slots
(app.warm_models) and exposes them through orchestra desktop chat with
canonical runtime evidence — reuse it instead of spawning your own MLX servers
or a second download of the same weights. The concrete verbs:
orchestra desktop model list / model catalog (cached snapshots and the
bundled certified catalog), slot list|add|assign (residency),
download list|start (managed downloads), and chat --slot <id>. The desktop
app is deprecated (see docs/desktop-deprecation.md); if it is not already
installed, use the headless CLI, which covers everything in this skill.
Inventory. List installed runtimes and already-cached models, and report
free disk. (ollama list; Hugging Face cache scan; MLX/LM Studio dirs — see
reference.md.) Surface total disk used by weights.
Separate the bootstrap model from the workload candidate. For onboarding
on Apple Silicon, be prescriptive: start with Orchestra's verified
google/gemma-4-e2b-it MLX-VLM 4-bit snapshot as the fast product smoke. It
is not the default workload recommendation. Pick the workload model from task
fit, evidence, hardware, and time; skip directly to a stronger rung when a
small model is unlikely to answer the question. Match goals and hardware to a
tier (full ladder + hardware rule-of-thumb in
reference.md and
../../docs/open-model-spotlight.md):
Choose source + format for the runtime. Ollama library (simplest, GGUF,
no HF token for Gemma); Hugging Face GGUF (llama.cpp / LM Studio); MLX builds
(Apple Silicon). Quantization/format primer in reference.md.
Confirm the size, then use the CLI pull command. For the Orchestra verified MLX ladder, use the product command after approval:
orchestra models pull gemma-4-e2b-it-qat-mlx-vlm-understudy
Use --dry-run first when you need to show destination/log paths without
downloading:
orchestra models pull gemma-4-e2b-it-qat-mlx-vlm-understudy --dry-run
To cache every verified snapshot currently listed in the CLI catalog, use:
orchestra models pull --all
The command downloads signed per-file URLs from
models.understudylabs.com, writes into ~/.understudy/models, verifies
sizes and hashes when present, and logs progress/ETA to
~/.understudy/agent-tools/logs/model-pull-*.log. For non-Orchestra
sources, use the native runtime pull (ollama pull, hf download, LM
Studio) and keep the same approval boundary.
Serve from the manifest, not from memory. Each verified artifact ships an
understudy.serving.json (see references/serving-manifest.md)
encoding the exact launcher, required flags, and prescribed decode. Emit the
correct serve command with the helper rather than hand-specifying flags:
node scripts/serve-understudy-snapshot.mjs --model gemma-4-e2b-it-qat-mlx-vlm-understudy # print the exact command
node scripts/serve-understudy-snapshot.mjs --model gemma-4-e2b-it-qat-mlx-vlm-understudy --exec # spawn it
This is what prevents the recurring config mistakes: a forgotten
--top-logprobs-k 20 (mlx_vlm defaults it to 0 and silently gates
top_logprobs), the wrong sampling (greedy is off-spec for do_sample: true
models), or a mis-wired MTP draft.
Verify + record. Once cached, run a one-line generation to confirm it
loads and does tool calls if the workload needs them. The models directory
plus each snapshot's catalog/serving manifest is the source of truth for
what is installed; you may append an interview-time note to local_models
in the profile (id, runtime, quant, size, date), but never treat that field
as the library index — list the models dir to answer "what do I have?".
Also pre-research and record the recommended serving settings, at pull
time, not at bench time. Read the snapshot's understudy.serving.json
(preferred — it is the machine-readable source of truth) or, if absent,
generation_config.json (sampling: do_sample, temperature,
top_p/top_k, schedules) and the model card's serving guidance, and record
them alongside the model entry in the profile (e.g.
serving: {temperature: 1.0, top_k: 64, top_p: 0.95}). Local servers are not
neutral: MLX servers map an omitted temperature to 0 (greedy), which is
off-spec for every do_sample: true model and breaks diffusion LMs outright.
The pre-researched ladder settings live in
reference.md — check there before serving anything from
the verified ladder.
Curate. Offer to remove superseded or oversized weights to reclaim disk;
show how to relocate the cache to another volume if space is tight
(reference.md).
Point at graduation. When a local model is good but not quite enough, the
path is same family, larger, remote via
../use-understudy-gateway/SKILL.md —
prompts and behavior carry over. Evaluate the gap with
../run-local-model-lab/SKILL.md.
For first-timers, teach as you go: what an open-weight model is, why local is
free and private, what quantization trades away, and why MoE "30B but 3B active"
runs fast. For practitioners, skip it and just name the pick. If the user is
hitting tool-call fidelity problems after quantization (broken JSON, model
stops calling tools), route to
../optimize-local-model-compression/SKILL.md
for the layer-aware compression method and the QAT group-size fix.
End with: runtimes + models already cached and disk used; the recommended pull (model, quant, GB, source link) and why that tier; download status (backgrounded
reference.md — download locations, registry links, format &
quantization primer, gated-weights/token, disk budgeting & relocation.../../docs/open-model-spotlight.md —
Gemma 4 & Nemotron 3 variants, benchmarks, and hardware fit.../optimize-local-model-compression/SKILL.md
— layer-aware compression for tool-calling workloads (the QAT group-size
fix, outcome-optimized calibration, and the stacked method).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