New to Claude Skills? Learn how to install them →

nvidia on GitHub

TAO Dataset Validator

OfficialFree

Validate NVIDIA TAO DAFT datasets for structure and schema errors.

by nvidia2.8k stars on nvidia/skills
Updated Aug 7, 2026
Get this skill

Free · Opens the source repo

What TAO Dataset Validator does

The TAO Dataset Validator skill is designed for users working with NVIDIA's TAO (Train, Adapt, Optimize) framework, specifically for validating DAFT (Data Annotation Framework Toolkit) datasets. This skill leverages the tao-daft validate command to check the structural integrity and schema compliance of DAFT datasets. Users can run a simple command to validate datasets or directories containing DAFT datasets, ensuring that they adhere to the expected formats and standards required for successful training and adaptation of AI models.

To use the skill, users must have the nvidia-tao-daft package installed. Once installed, they can quickly discover supported dataset formats and initiate validation by specifying the dataset path and the format type. The skill facilitates a streamlined process, allowing users to focus on their dataset's quality and correctness without delving into complex validation scripts or manual checks.

This skill is particularly useful for data scientists, machine learning engineers, and AI researchers who are involved in preparing datasets for training AI models using NVIDIA's TAO framework. By automating the validation process, users can save time and reduce the risk of errors that might arise from improperly formatted datasets. The output of the validation process provides clear results, indicating whether the dataset has passed or failed validation, along with detailed error messages if applicable.

However, it is important to note that this skill is specifically tailored for DAFT datasets and will not function with other dataset formats such as COCO or YOLO. Users should ensure they are working within the parameters of the TAO framework to fully leverage the capabilities of this skill.

When to use it

Use this skill when you need to validate the structure and schema of DAFT datasets before training AI models with NVIDIA's TAO framework.

When not to use it

This skill is not suitable for validating datasets in formats outside of DAFT, such as COCO or YOLO, and should not be used for tasks related to dataset information retrieval or conversion.

What you can build with it

Validating a New DAFT Dataset

When preparing a new dataset for training, use the TAO Dataset Validator to ensure it meets the required DAFT format.

Automating Dataset Checks in CI/CD

Integrate the validation command into your CI/CD pipeline to automatically check datasets for compliance before training.

Debugging Dataset Issues

If your training process encounters errors, use this skill to validate the dataset and identify structural or schema issues.

How to install TAO Dataset Validator

View source

1. Install with the skills CLI

npx skills add nvidia/skills/tao-validate-dataset-format --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by nvidia

Validate a TAO DAFT Dataset

Quick start

tao-daft validate <format> --path <dataset-or-parent-dir>

<format> is a positional subcommand (e.g. metropolis-v3.0, cosmos-reason-v1.0); --path is required. Discover supported formats and per-format flags via tao-daft validate --help and the leaf --help (see "CLI conventions" below).

Preflight

python -c "import nvidia_tao_daft" 2>/dev/null || {
  echo "MISSING: tao-daft not installed. Run:"
  echo "  pip install nvidia-tao-daft"
  exit 1
}

Quick Start

Discover the installed validator formats before choosing a format slug, then run validation with the target passed through --path:

tao-daft --version
tao-daft validate --help
tao-daft validate <format> --help
tao-daft validate <format> --path /path/to/daft-dataset

Purpose

Drive tao-daft validate against a DAFT dataset (or a tree of them). The CLI is the spec; the skill picks subcommand + flags and explains the result.

Trigger when the user mentions "TAO DAFT", "DAFT format", validating a DAFT dataset, schema/cross-reference errors, or tao-daft validate. Do not trigger for non-DAFT layouts (COCO, YOLO, Data Factory JSONL), or for tao-daft info / tao-daft convert — those have their own skills.

If the user's opening is ambiguous, run a few --help commands first to ground yourself, then come back and confirm the task.

Prerequisites

  • nvidia-tao-daft installed (pip install nvidia-tao-daft; the wheel is enough, no source repo). Confirm with tao-daft --version.
  • A DAFT dataset, or a parent directory of them, on local disk.

Instructions

CLI conventions

tao-daft is nested argparse subcommands. Names and flags drift across versions, so discover the current surface from --help rather than trusting any list in this doc.

  1. Format is a positional subcommand, not --format: tao-daft validate <format> [flags]. List current formats via tao-daft validate --help; slugs look like metropolis-v3.0, cosmos-reason-v1.0.
  2. Target is --path PATH, not positional. It accepts a single dataset/scene or a parent directory — the validator walks the tree.
  3. Flags are per-format; run the leaf help, e.g. tao-daft validate metropolis-v3.0 --help, before choosing them. Don't assume a flag from one format exists on another.

So the loop is: tao-daft --versiontao-daft validate --help → pick format (infer if unspecified, see below) → tao-daft validate <format> --help → run → interpret.

Format inference

Use directory markers, not filenames:

  • meta.json next to media/ and text/cosmos-reason-v1.0.
  • A directory (or nested directories) containing contextual/, typically alongside raw/ and task/metropolis-v3.0.
  • Neither marker present ⇒ ask the user; do not guess.

Reading errors

The CLI ends every run with a VALIDATION RESULTS block, then ✅ VALIDATION PASSED or ❌ VALIDATION FAILED, and exits non-zero on failure (safe to chain in scripts).

Output can be large on big trees — capture the full output to a file and read it in slices rather than scrolling inline.

Limitations

  • Validates DAFT only. Non-DAFT layouts (COCO, YOLO, Data Factory JSONL, etc.) belong in the upstream converter skills.
  • Supported formats are whatever tao-daft validate --help reports for the installed version; older slugs may have been retired.
  • Covers validate only. Defer to the dedicated skills for tao-daft info and tao-daft convert.
  • Don't reimplement validation in Python; the CLI is the spec.

Troubleshooting

  • tao-daft: command not found — wheel not installed in the active env. pip install nvidia-tao-daft; verify tao-daft --version.
  • error: argument --path is required — path passed positionally. Move it behind --path.
  • invalid choice: '<format>' — slug isn't wired up in this version. Re-run tao-daft validate --help and pick from the list.
  • Auto-detection (raw type / contextual set) is wrong — override via the format's scope-restriction flag; discover the name from the leaf --help.
  • CI wants warnings to fail — add --strict.

Frequently asked questions about TAO Dataset Validator

Similar skills