/nvidia-tao-toolkit:tao-setupfrom NVIDIA TAO Toolkit
One-time session bootstrap for the TAO skill bank. Runs discovery flow, credential checks, and host preflight when skills are installed individually.
Ships in NVIDIA TAO Toolkit. 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.
One-time session bootstrap for the TAO skill bank. TAO skills are standalone — each model, data, and platform skill carries its own pinned container image and instructions — but multi-skill workflows chain them (data prep, train, evaluate, deploy). This skill provides the session-level pieces that make that chaining work when skills are installed individually: the discovery flow, the credential conventions, and the host preflight.
When the full skill bank is installed as a plugin from this repository, a SessionStart hook injects this guidance automatically and you do not need to run this skill. When skills were installed one-by-one from a skills catalog, run this skill first.
Individual skill installs do not include the shared scripts/ helpers. Obtain
a complete TAO skill bank checkout at the same release ref as the installed
skills, then verify it before using any shared helper. If the checkout is
elsewhere, set TAO_SKILL_BANK_PATH to its root. Reuse a plugin-provided path
when present. If no checkout exists, obtain it with user approval, for example
git clone --branch <installed-release-ref> --single-branch https://github.com/NVIDIA-TAO/tao-skill-bank.git <bank-dir>.
Point TAO_SKILL_BANK_PATH at that checkout and stop if the helper check fails.
export TAO_SKILL_BANK_PATH="${TAO_SKILL_BANK_PATH:-$HOME/tao-skill-bank}"
for item in versions.yaml scripts/resolve_tao_model.py scripts/resolve_tao_image.py scripts/check_tao_launch_preflight.py scripts/redact_secrets.py scripts/tao_job_record.py skills/models skills/platform; do
[ -e "$TAO_SKILL_BANK_PATH/$item" ] || { echo "Incomplete TAO skill bank: missing $item under $TAO_SKILL_BANK_PATH" >&2; exit 1; }
done
set -a; source /path/to/.env; set +a # omit if already exported
# 1. Host preflight — most TAO skills dispatch docker containers on a GPU host.
docker info > /dev/null && echo "OK: docker" || echo "MISSING: docker"
nvidia-smi > /dev/null && echo "OK: GPU" || echo "MISSING: NVIDIA GPU/driver"
# 2. Credential presence check — names only, never print values.
for v in NGC_KEY HF_TOKEN WANDB_API_KEY ACCESS_KEY SECRET_KEY S3_BUCKET_NAME S3_ENDPOINT_URL BREV_API_TOKEN; do
[ -n "${!v:-}" ] && echo "SET: $v" || echo "unset: $v"
done
# 3. NGC registry login (needed for nvcr.io image pulls). Key goes over
# stdin — never as an argv flag, where it lands in the process table.
[ -n "${NGC_KEY:-}" ] && printf '%s' "$NGC_KEY" | docker login nvcr.io -u '$oauthtoken' --password-stdin
# 4. Token-efficient execution kit (recommended): preflight + scaffold
# ~/.tao-kit/kit.env. Non-invasive; see skills/core/tao-token-efficient-execution.
bash "${TAO_SKILL_BANK_PATH}/skills/core/tao-token-efficient-execution/scripts/install.sh"
If Docker or the NVIDIA host runtime is missing, use the
tao-setup-nvidia-gpu-host skill — it checks and (with approval) installs
NVIDIA driver 580 or newer, CUDA Toolkit 13.0 or newer, and NVIDIA Container
Toolkit 1.19.0 or newer, and can install Docker itself on Debian/RHEL/SUSE-family
hosts. These are TAO-wide minimums. If the selected model's
references/skill_info.yaml declares runtime_requirements.gpu_host, pass
those model-specific minimums to the host setup skill instead.
Load a user-approved env file with set -a; source /path/to/.env; set +a in the
same bash call as the command that consumes the variable. This skill never
creates a credentials file for you; the one credential write here is step 3's
docker login, which stores an nvcr.io token in ~/.docker/config.json.
NGC_KEY — nvcr.io image pulls (most skills)HF_TOKEN — gated HuggingFace weights (several model skills)WANDB_API_KEY — experiment tracking (optional)ACCESS_KEY / SECRET_KEY / S3_BUCKET_NAME / S3_ENDPOINT_URL — S3 I/OBREV_API_TOKEN — Brev platform dispatchStep 4 of the Quick Start installs the execution kit
(skills/core/tao-token-efficient-execution): compiled card packs run
application workflows as fresh per-stage sessions instead of one long
conversation (measured 74-91% cheaper, 4-5x lower peak context, and the only
mode validated on small execution models). Setup only scaffolds the config;
the routing rule applies at launch time: when a card pack exists for the
requested workflow (skills/applications/<skill>/cards/), prefer its
driver.sh over in-conversation stage execution. The tao-launch-workflow
gate still applies in full — the driver launch is the side-effecting action
it reviews. Packs ship today for tao-run-deft-aoi and tao-run-automl; the
kit's authoring prompt compiles packs for other workflows.
Read the task skill. Model skills (tao-train-*, tao-finetune-*)
own network specifics; data skills (tao-generate-*, tao-analyze-*,
tao-mine-*, …) own transforms; application skills (tao-run-automl,
tao-run-deft-aoi, …) compose model + data + platform into workflows.
Read the skill's references/skill_info.yaml (when present) for the
structured contract: container_image (a pinned URI), or
backend_contracts.<backend>.container_image for a multi-backend frontend;
per-action command, mode, config_format, inputs, outputs, and
optional runtime_requirements.gpu_host. Model runtime requirements
override the TAO-wide platform defaults for that workflow.
Pick an execution platform and read its skill for mounts, env vars,
and resource conventions: tao-run-on-docker conventions apply to any
local docker run; tao-run-on-slurm, tao-run-on-kubernetes, and
tao-run-on-brev cover managed dispatch; tao-run-on-virtualenv runs a
Python script docker-free in a local venv. Externally installed platform
skills (e.g. kratos) join as peers — no registration needed.
The platforms are equal-class peers — if the user has not chosen, ask;
never default silently. Every platform skill implements the same
four-verb consumer contract (submit/status/logs/cancel) over its
native CLI (docker/kubectl/ssh+sbatch/brev exec) — there is no
nvidia-tao-sdk.
Construct the spec as nested dicts ({"train": {"num_epochs": 12}},
never flat dotted keys), confirm with the user, then execute the four
verbs: tao-launch-workflow drives the shared launch gate;
scripts/tao_job_record.py open mints the job id and binds results_dir
before launch (record-then-launch); the platform skill runs submit; then
monitor with status/logs, mapping native states to the fixed vocabulary
PENDING RUNNING COMPLETE ERROR CANCELED UNKNOWN.
docker run, job submission, pushes, and
file mutations outside the working directory need user confirmation first.
Installing a missing Python package prerequisite is the one exception:
install it by default and report what was installed.runtime_requirements.gpu_host
in references/skill_info.yaml; pass those values to the shared host setup
check rather than changing the defaults for unrelated models.scripts/tao_job_record.py),
S3/data staging (tao-data-io, storage tiers A/B/C), and multi-node (the
SLURM/K8s templates + scripts/nccl_allreduce_probe.py) are built into the
bank — no nvidia-tao-sdk. The one exception is AutoML search
(tao-run-automl), which uses the nvidia-tao-automl wheel and its
transitive SDK.For Codex sessions, scripts/install-codex-agents.sh registers the TAO skill
marketplace, installs the plugin, and copies the TAO agent identity to
~/.codex/AGENTS.md so it loads in every session:
bash scripts/install-codex-agents.sh
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tao-setup, session-bootstrap, orchestration, preflight-check
npx claudepluginhub nvidia-tao/tao-skill-bank --plugin nvidia-tao-toolkit82 skills in this plugin
/paidf-cosmos-predictPrepare and run PAIDF Cosmos Predict video generation for DEFT media samples./tao-analyze-changenet-rcaPerforms deep Root Cause Analysis (RCA) on NVIDIA TAO Visual ChangeNet classification experiments with image-evidence-driven investigation. Use when analyzing ChangeNet model failures, investigating poor recall / FAR / PASS-NO_PASS metrics, auditing visual inspection pipeline quality, or running an RCA report for an AOI defect-detection model. Trigger phrases include "RCA on my ChangeNet model", "why is my AOI model failing", "audit ChangeNet predictions", "investigate FAR regressions", "root cause analysis on visual-changenet"./tao-analyze-detection-kpiRun TAO Data Services KPI analysis for object detection, comparing inference annotations against ground truth to compute per-class TP/FP/FN/TN, precision, recall, accuracy, and AP at a fixed IoU. Use when an object detection workflow needs per-class mAP reported after inference, or when the user asks to "run KPI analyze", "compute detection mAP", or "score my OD predictions against ground truth"./tao-analyze-gaps-od-mapRun TAO Data Services object-detection gap analysis from ground-truth and inference annotations. Use when an object detection workflow needs to identify weak images by comparing model predictions against ground truth using per-class recall, precision, and AP50 thresholds. Use when the user asks to "analyze OD gaps", "find weak OD images", or "run mAP gap analysis"./tao-analyze-gaps-visual-changenetPerforms gap analysis on NVIDIA TAO VCN Classify (Visual Component Net) experiments by invoking the pinned TAO data-services container directly via `docker run … gap_analysis vcn_aoi …` — picks the optimal decision threshold, ranks per-sample weakness, and emits a top-K weakest parquet expanded per-lighting for downstream augmentation. Use when analyzing VCN classification failures, picking SDA augmentation targets, or auditing PASS/NO_PASS boundary cases./tao-analyze-gaps-vlm-bcqExtract false-positive and false-negative gaps from VLM binary-classification-question (BCQ, yes/no) predictions. Use when the user asks to "analyze VLM BCQ gaps", "extract VLM false positives and false negatives", or identify failure cases from a predictions JSON for DEFT root-cause analysis on a binary-classification VLM workflow.Other plugins' skills for the same job