tt-studio: Skill for Claude Code

.claude/skills/tt-studio-cli/SKILL.md

tt-studio-cli is a skill for Claude Code from tenstorrent/tt-studio. It costs 168 tokens per session (2,857 once invoked), scanned B, original, Apache-2.0.

Development guidance for TT-Studio’s Python command-line program, including its commands, package layout, terminal output, and configuration handling.

In plain words
What is it for?
Use it when modifying setup, start, stop, purge, logs, status, or bug-report commands and their supporting code.
Why use it?
It helps changes fit the project’s existing command-line conventions and keeps the main launcher organized.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is tenstorrent/tt-studio's own configuration. It tells Claude Code how to work on tt-studio itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tt-studio configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tenstorrent/tt-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tenstorrent/tt-studio/main/.claude/skills/tt-studio-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tenstorrent/tt-studio

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tt-studio-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/tenstorrent/tt-studio/tt-studio-cli/github.svg)](https://agentmods.dev/skills/tenstorrent/tt-studio/tt-studio-cli)
Your own site
<a href="https://agentmods.dev/skills/tenstorrent/tt-studio/tt-studio-cli"><img src="https://agentmods.dev/badge/skills/tenstorrent/tt-studio/tt-studio-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tt-studio-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/tenstorrent/tt-studio/tt-studio-cli"><img src="https://agentmods.dev/badge/skills/tenstorrent/tt-studio/tt-studio-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00168 $0.02857
Opus 5.5 $0.00067 $0.01143
Sonnet 5.5 $0.00034 $0.00571
Haiku 4.5 $0.00017 $0.00286

Measured 1mo ago against content hash 5591212fa180, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

tt-studio-cli scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

`--fix-docker` or Linux-only `sudo service docker start`. Compose **v2** only.
.claude/skills/tt-studio-cli/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TT-Studio CLI (python run.py / tt_setup/)

python run.py is the one entrypoint for everything (setup, start, stop, purge, logs, status, bug reports). run.py itself is a thin shim: it bootstraps deps into a managed venv and delegates to the tt_setup/ package. startup.sh is deprecated.

Read this before touching the launcher. For the terminal-output design system specifically, dev-docs/launcher-terminal-design.md is the canonical reference — this skill covers the broader "how the launcher is built and how we like CLIs."

This skill is TT-Studio-specific — it names real paths, modules and hardware in this repo. The same design language with nothing repo-specific in it, plus runnable reference files, is the cli-design skill; use that one for any other CLI.

Architecture

run.py → tt_setup.bootstrap.ensure_environment() (venv) → tt_setup.cli.main().

The package is split into focused subpackages, each with an __init__.py that re-exports its prior public surface:

Area Package / module
CLI surface + orchestration cli/ (_args.py = Typer flags, _run.py = phased flow + early dispatch)
Terminal design system console/ (_theme, _stepper, _panels, _prompts, _steps)
Env & secrets config env_config/ (_values, _dotenv, _preferences, _hf_access, _version, _configure)
Host services lifecycle services/ (_ports, _fastapi, _docker_control, _frontend, _health)
Inference-server artifact inference_server/ (_catalog, _config, _env, _git, _metadata, _privileges, _orchestrator)
Stop / purge teardown cleanup/ (_runtime, _orchestrate, _resource_ops)
Docker build/failure diag docker_diag/ (_build_progress, _diagnostics)
Standalone modules bootstrap.py, shell.py, startup_checks.py, docker.py, constants.py, logging.py, monitor.py/monitor_app.py (--status TUI), bug_report.py (--report-bug), shortcut.py (--install-shortcut), switch.py (--switch), image_source.py (prebuilt-vs-local image choice), config_store.py, spdx.py, settings.py, venv_utils.py

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +5 lines 5591212fa180
  2. 2mo ago First seen · 170 lines · 168 tokens per session scan B 7e2ea4b88bb0

Subscribe to this mod's changes

tt-studio-cli is a skill published in the GitHub repository tenstorrent/tt-studio (52 stars, last pushed yesterday), licensed Apache-2.0. It adds 168 tokens to every session and 2,857 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tt-studio-cli compared with skills from other repositories

tt-studio-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tt-studio-clitenstorrent/tt-studioSkill52yesterdayApache-2.0B168Claude Code
compiler-portreact/reactSkill252kyesterdayMITA35Claude Code
tamagui-upgrade-v3tamagui/tamaguiSkill14ktodayMITA120Claude Code, Codex
tamaguitamagui/tamaguiSkill14ktodayMITA44Claude Code, Codex
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA0Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
release-safetytamagui/tamaguiSkill14ktodayMITA0Claude Code