/tt-serve-model:retrievefrom Tenstorrent Deploy
Produces a deterministic Model Retrieval table for one model on a TT host, covering HF existence, gating, config, tt-inference-server spec, GHCR image details, spec drift, and tt-model-manager bundle path. Read-only unless --pull. Use before pulling or launching any model.
Ships in Tenstorrent Deploy. 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.
Produce the Model Retrieval table for one model on this machine, from both
ecosystems: tt-inference-server (release spec + GHCR images) and
tt-model-manager (community bundles on the HF Hub). tt (tt-cli) fronts
both; use it when present and the same APIs it reads when not. Every answer
comes from a listed command or upstream file. No memory, no plausible names.
Read-only by default. NEVER download, install, reset, or launch; --pull
alone runs pull.md.
Invoke tt-serve-model:retrieve (Skill tool) for any model question before deployment:
"does X exist / is it gated", "is there a TT implementation for my board",
"what image, commits, limits", "is the image's spec stale", "is there a
bundle for X", "what will tt-model serve run", "how do I pull X" — or
when a deploy task has its Discovery table and needs the model side.
Boundary: tt-serve-model:discover answers what is this host. tt-serve-model:retrieve answers
what is this model and how does it get here. Launching is not here.
| Arg | Effect |
|---|---|
--model <id> | HF repo id, spec model_name, or bundle id. Required for all rows but R1, B1–B3. |
--search <term> | R1, B1–B3: list candidates. |
--device <KEY> | Spec key (P150, P300X2). Default: invoke tt-serve-model:discover --questions D9. |
--fix-sha <sha> | Enables the R15 ancestry verdict. |
--questions R6,B7 | Answer only the listed IDs. Dependencies still run. |
--pull | After the table, execute pull.md. Default: never. |
--note | Also record via tt-buddy:note (only if the tt-buddy plugin is installed; otherwise say it is unavailable), topic retrieve-<model>. Default: chat only. |
resolve → hf → spec → image → bundle → table [→ pull]
DEV, which paths apply.hf.md — R1–R4, R8. 3. spec.md — R5, R6, R9–R12, R16.image.md — R7, R13–R15; n/a when R5 is no. 5. bundle.md — B1–B20; n/a when no bundle matches.pull.md only under --pull.One Bash call per sub-file. Five calls plus the network fetches is the budget.
Shell state does not survive between Bash calls. Start every call with:
SCRATCH=<session scratchpad>; MODEL=<--model>; DEV=<--device or D9, uppercase>; FIX=<--fix-sha>; SEARCH=<--search>
ghapi(){ curl -s ${GH_TOKEN:+-H "Authorization: Bearer $GH_TOKEN"} "$@"; }
TT=$(command -v tt); TM=$(command -v tt-model || ls ${TT_DATA_DIR:-~/.local/share/tenstorrent}/bin/tt-model 2>/dev/null)
echo "tt=${TT:-absent} tt-model=${TM:-absent}"
hfapi and the HF token come from knowledge/hf-hub.md § Inspect one repo,
which every HF-touching call runs first.
Paths: R applies when the spec has an entry for $MODEL. B applies when the
repo carries tt_kernel_manifest.json (R8 bundle_manifest) or the id is in
the local install index. Both may apply; run both. Neither: R1–R4, R8, R5
no, and B1–B3 with --search ${MODEL##*/}.
One | ID | Question | Answer | Evidence | table, fixed row order R1–R16
then B1–B20, then one footer line: Sources: tt-inference-server@main <sha> fetched <ISO>; HF API <ISO>; GHCR <ISO>; tt <ver|absent> (catalog release <ver>); tt-model <ver|absent>.
Answer cells use each sub-file's exact format. Skipped-path rows read n/a: <why>; unknowns unknown: <why>, never a guess; failed fetches fetch failed: <url>. Token values are never printed.
main every run; NEVER a local
checkout or tt's bundled catalog (report its pin in Sources only).GH_TOKEN lifts it.docker create/cp (R7) is the only container action. NEVER docker run.hfapi/ghapi. NEVER expand a header
string from a variable; NEVER echo the token.| Thought | Reality |
|---|---|
| "The per-model doc has the docker run, done" / "I know this family is gated" | R7 reads the image's baked spec; doc and image drift by a release. Gating is one curl, never memory. |
"tt model info is faster than the spec" | It is the cross-check. Its catalog pins an older release than main. |
| "The newer tag is numerically higher, so it has the fix" | Compare API on tt-metal commits, or requires --fix-sha. |
| "Bundle says 4 chips, I have 4 chips" | Boards ≠ chips. P300X2 and P150X4 are both 4 chips; report mismatch. |
| "I'll pull the image for R7" / "run tt-model serve to see the command" | not local and --print --local-only. Pulling is --pull's job; serving is a launch. |
| Sub-task | Load |
|---|---|
| Existence, gating, config.json, architecture, weight size | hf.md |
HF API calls, hfapi, token state, status-code traps | knowledge/hf-hub.md |
| Spec entry, exact implementation, ceilings, known_issues, run.py vs docker | spec.md |
| Image spec drift, dates, GHCR tag/size, newer tags, ancestry | image.md |
| Bundles: search, catalog, manifest, weights, install, serve command | bundle.md |
Executing the retrieval (--pull) | pull.md |
| Spec fetch, layout, queries, per-model doc path | knowledge/recipes/tt-inference-server/model-spec.md |
| Image naming, mandatory flags, baked spec, run.py token rule | knowledge/recipes/tt-inference-server/container.md |
| Device key, board count for this host; boards vs ASICs per spec key | invoke tt-serve-model:discover --questions D9,D10; knowledge/hardware/boards.md |
| Recording the table | invoke tt-buddy:note, if installed |
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/discoverAnswer the 16 Discovery-stage host questions deterministically — host facts, driver, boards, hugepages, docker, HF cache, port 8000, device holders, --tt-device string, firmware minimums, idle telemetry, reset verdict, deployable models, gating, disk, clean-box. Fixed commands, fixed docs, fixed output shape. Read-only. Use before any inference deploy on a TT host./launchDiagnose an in-progress or completed model launch on Tenstorrent hardware — launch steps, mandatory docker flags, failure-signature classification, minimum-override selection and safety, override persistence, realistic timing, and displaced services. Deterministic, evidence-based. Use once a launch attempt has started (docker run / run.py already invoked)./npx claudepluginhub tenstorrent/skills --plugin tt-serve-modelOther plugins' skills for the same job