/nvidia-tao-toolkit:tao-artifactsfrom NVIDIA TAO Toolkit
Provides authoritative JSON Schemas for TAO's four typed artifacts (spec-bundle, job-record, results_dir layout, best_rec) plus the job-status vocabulary and nested-not-dotted spec rule. Use when authoring or validating artifacts in the TAO execution pipeline.
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.
Four typed artifacts flow through every TAO job. Their schemas live here and
nowhere else — producers (model/data skills) and consumers (platform skills)
both validate against this skill's references/.
| Artifact | Schema | Produced by → consumed by |
|---|---|---|
| spec-bundle | references/spec_bundle.schema.json | model/data skill → platform skill (at the submit seam) |
| job-record | references/job_record.schema.json | scripts/tao_job_record.py (the ONLY writer) → any re-attaching agent/poller |
| results_dir layout | references/results_dir.contract.md | platform skill at submit → whoever collects outputs |
| best_rec | references/best_rec.schema.json | tao-run-automl adapter → DEFT warm-start |
python - <<'PY'
import json, yaml, jsonschema, pathlib
ref = pathlib.Path("${TAO_SKILL_BANK_PATH:?}/skills/tao-artifacts/references")
schema = json.loads((ref / "spec_bundle.schema.json").read_text())
bundle = yaml.safe_load(open("/path/to/bundle.yaml")) # or a dict built in-context
jsonschema.validate(bundle, schema) # raises on violation
print("bundle OK")
PY
Validate the bundle before the verify-before-launch gate; validate a job-record only when debugging (the writer script already enforces the schema).
spec is a nested dict mirroring the container's
config shape — {"train": {"num_epochs": 12}}. Any key containing . at
any depth is rejected ({"train.num_epochs": 12} is the #1 authoring
mistake). Note the distinction: declared_inputs[].spec_key and
gpu_spec_key are dotted/indexed pointers into the spec
(dataset.train_data_sources[0].image_dir) — dots are correct there.mode: config requires spec + config_format
and a command containing {config_path}, and forbids args.
mode: args requires args and forbids spec. There is no other mode.Use execution when an action needs more than its primary command. This is the
shared model-to-platform seam; do not add a model-specific Docker, Kubernetes,
or SLURM renderer merely to carry runtime environment, attestations,
post-processing, or helper dependencies.
environment, ordered pre_commands,
ordered post_commands, distributed-launch intent, and completion evidence.environment is non-secret. Credential values continue to use the selected
platform's secret/sidecar contract and never enter a spec-bundle.spec may use
{config_path}, {job_id}, and {results_dir}. The platform binds them
only after the job record has been opened; the job record's results_dir is
authoritative over any pre-review display path. Persist hashes of both the
producer bundle and the bound runtime config.supporting_files names checked-in orchestration helpers relative to the
producing skill root. The platform stages the closed set, verifies every
declared SHA256, and rejects traversal, undeclared siblings, or overwrite of
a different bundle. Supporting files orchestrate an action; they must never
shadow or patch code inside the selected image.torchrun declaration expresses process topology, not SLURM/Kubernetes
syntax. Each platform maps it to its native distributed launcher.Every job state anywhere in the pipeline is exactly one of:
PENDING · RUNNING · COMPLETE · ERROR · CANCELED · UNKNOWN
Platform-native sub-states (ImagePullBackOff, PENDING-because-resources,
Insufficient-GPU, slurm COMPLETING…) are never new states — they ride in
the transition's message field. Terminal = COMPLETE | ERROR | CANCELED.
This is what lets the in-turn poll loop and the detached poller share one code
path across docker/slurm/kubernetes/brev.
tao_job_record.py open writes PENDING + the resolved results_dir
first and returns the id — the only handle a launch can use. A submit
that skipped the gate has no id, so it cannot launch.transitions is append-only; .tao/ lives outside every synced results
tree.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nvidia/skills --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