/tt-serve-model:discoverfrom Tenstorrent Deploy
Answers 16 deterministic host-discovery questions (facts, driver, boards, hugepages, docker, HF cache, port 8000, device holders, firmware, telemetry, reset verdict, deployable models, disk, clean-box) using fixed commands and docs. Read-only; invoke before any inference deploy on a TT host.
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 Discovery table for the machine the agent is running on. Every answer comes from a listed command or a listed upstream doc, interpreted by a listed rule. No memory, no inference from product pages, no sampling.
Read-only. NEVER reset, kill, pull, download, docker rm, or write
outside the scratchpad. The reset question returns a verdict; the reset
itself is outside this plugin: the user resets by hand with tt-smi -r.
Invoke tt-serve-model:discover (Skill tool) when:
Boundary: workspace detection ("can I run a job from this cwd") is not part of
this plugin. tt-serve-model:discover answers "what is this host and what can it deploy".
| Arg | Effect |
|---|---|
| none | Answer D1–D16. D7 and D15 return requires --model. |
--model <org>/<name> | Enables D7, D15; scopes D6 and D11 to that model's spec entry. |
--questions D3,D9 | Answer only the listed IDs. Dependencies (below) still run. |
--note | Also record the table via tt-buddy:note (only if the tt-buddy plugin is installed; otherwise say it is unavailable), topic discover-<hostname>. Default: chat only. |
snapshot → host → boards → models → table
/dev/tenstorrent/ has ≥1 entry): capture
the tt-smi JSON once per boards.md § Capture. Every board question
reads the file. NEVER re-run tt-smi per question.host.md — D1, D2, D4, D5, D8, D13.boards.md — D3, D9, D10, D12, D14. Sets DEV.models.md — D6, D7, D15, D16. Fetches upstream docs.boards.md § Interpretation, using step 4's spec output.Run each file's commands in one Bash call per file. Three Bash calls plus the network fetches is the budget.
One table, fixed row order D1–D16, then a one-line Sources footer.
| ID | Question | Answer | Evidence |
|---|---|---|---|
| D1 | Host facts | <cores>, <RAM>, <disk free>, <distro>, <CPU> | nproc; /proc/meminfo; df; os-release; lscpu |
...
Sources: tt-inference-server@main <short-sha> fetched <ISO time>; tt-smi <ver>
Answer cells use the exact format each question specifies in its sub-file.
Comparisons (D11) state both sides and the verdict. Unknowns say unknown: <why>, never a guess. A failed network fetch says fetch failed: <url>.
/dev/tenstorrent/: answer D3, D9–D14 as no device and continue.tt-smi MUST be located per boards.md § Capture. NEVER assume it is on PATH.main every run. NEVER read
a local tt-inference-server checkout; NEVER cache between sessions.knowledge/hardware/boards.md § Doc naming.| Thought | Reality |
|---|---|
| "The getting-started page says p150x4 for this box" | Derive D9 from board serials. Docs describe SKUs, not this host. |
| "HugePages_Total in /proc/meminfo is 0, so no hugepages" | That line is the default page size only. Read the sysfs per-size pool. |
| "I'll run tt-smi -r since it needs a reset" | NEVER. Report the verdict. Device recovery is outside this plugin. |
| "I'll skip the snapshot and eyeball tt-smi -ls" | -ls truncates serials. The snapshot is the only complete source. |
| "I'll answer gating from memory" | One curl per model. 200 with gated field or nothing. |
| "The local checkout is newer, I'll read that" | Raw at main, every time. Drift is reported, not hidden. |
| Sub-task | Load |
|---|---|
| Host, driver, hugepages, docker, HF cache, port, device holders | host.md |
| Snapshot capture, boards vs ASICs, device string, firmware, telemetry, reset verdict | boards.md |
| Deployable models, gating, disk budget, clean-box | models.md |
| Board type → ASIC count → device string | knowledge/hardware/boards.md |
| Recording the table | invoke tt-buddy:note, if installed |
| Acting on a reset verdict | outside this plugin; the user resets by hand with tt-smi -r |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/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)./retrieveAnswer the Model Retrieval-stage questions deterministically for one model on this host — HF existence, gating, config; tt-inference-server spec entry (image, commits, status, ceilings, known_issues); image-vs-repo spec drift; GHCR tag, size, ancestry; run.py vs docker; and the tt-model-manager bundle path (search, catalog, arch, manifest, weights pointer, install state, exact serve command). Fixed commands, fixed docs, fixed output shape. Read-only unless --pull. Use before pulling or launching any model on a TT host./verifynpx claudepluginhub tenstorrent/skills --plugin tt-serve-modelOther plugins' skills for the same job