Data & Analysis ✓ NVIDIA · Official pcb-inspectionvisual-changenetnvidia-taosynthetic-defectsroot-cause-analysismodel-retrainingdeployment-gating

TAO DEFT AOI Improvement Loop

Automates evaluation, defect augmentation, mining, retraining, and deployment gating for PCB inspection models.

FollowSkills review · FSRS-2.0
Not recommended
50/ 100 5-point scale 2.5 / 5
Trust14 / 25 · 2.8/5

The documentation provides a single pre-flight approval gate, path scoping, hard-stop rules, leakage checks, and atomic report writes, and explains the intended use of HF_TOKEN and NGC_KEY. However, it permits Bash, Write, Docker, autonomous training/data-generation/deployment gating, and asks users to enable auto-mode to bypass permission prompts. External model downloads, credential boundaries, deployment rollback, and recovery are incompletely specified, so points are deducted.

Reliability8 / 20 · 2.0/5

The workflow specifies state files, log sequence invariants, disk-as-source-of-truth behavior, blocker recovery, and hard stops in considerable detail. However, the supplied material lacks independently reproducible key-path tests; it depends on other skills and runtime helpers, and abnormal-input coverage remains limited. The static ceiling therefore requires a conservative deduction.

Adaptability9 / 15 · 3.0/5

Triggers, supported model scope, non-fit cases, data contracts, and the required max_iterations input are clear. The skill nevertheless depends heavily on NVIDIA TAO, Docker, GPUs, HuggingFace, and related skills, gives no evidence of Chinese-language interaction or mainland-China network reachability, and requires additional onboarding when no workspace exists, so points are deducted.

Convention9 / 15 · 3.0/5

The documentation uses layered references and includes licensing, authorship, version, script usage, data layout, report protocol, and limitations. Maintenance ownership, changelog, update path, and complete examples/FAQs are incomplete. The BENCHMARK also records missing recommended Instructions/Examples and schema/layout findings, so points are deducted.

Effectiveness7 / 15 · 2.3/5

The stated goal is to automate AOI baseline evaluation, RCA, synthetic defects, mining, retraining, and KPI gating, with state, logs, HTML reporting, and an inference specification as outputs. The BENCHMARK reports one external evaluation with an overall pass, but it covers only one task, provides no independent key-result reproduction, and depends on substantial user data and external components. Static calibration therefore limits this to 7.

Verifiability3 / 10 · 1.5/5

The materials provide a pinned revision, detailed input/output contracts, an evaluation report, and auditable workflow rules. They do not provide multiple independent reproductions, comprehensive test coverage, or corroboration from multiple evidence types; the benchmark has only one task, so verification remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Execution accesses external HuggingFace/NGC resources and uses sensitive credentials; confirm credential scope, network compliance, and cache locations before running.
  • With auto-mode enabled, training, writes under the results directory, and deployment gating proceed continuously after pre-flight; confirm backups, target paths, and acceptable external effects.
  • No evidence is provided for Chinese-language support or mainland-China network reachability, and the workflow depends on Docker, NVIDIA container tooling, GPUs, and several related skills/references not fully included here.
  • The BENCHMARK contains only one evaluation task and cannot establish performance across datasets, hardware, or abnormal inputs.
See the full review method →

What does this skill do, and when should you use it?

This skill runs the full DEFT AOI improvement loop for NVIDIA TAO VisualChangeNet/ChangeNet PCB inspection models. It covers baseline evaluation, root-cause analysis, Cosmos AnomalyGen/AMP synthetic defects, k-NN mining, retraining, and deployment gating. The loop continues until a FAR or recall KPI target is met, the iteration limit is reached, or a hard-stop condition fires. It requires Docker, nvidia-container-toolkit, workflow inputs, and the required credentials.

Reads workspace specifications, CSVs, datasets, checkpoints, and state files; performs pre-flight checks, baseline training or checkpoint recovery, inference, evaluation, and RCA; invokes related VisualChangeNet training, synthetic-defect, routing, and AOI mining workflows; updates deft_state.json and loop_log.jsonl during iterations; renders DEFT_Loop_Report.html after completed iterations and at loop end; and prepares an inference specification when a valid checkpoint exists. It presents one Pre-Flight Summary and waits for explicit approval before launching side-effecting work, then proceeds autonomously.

  1. An AOI engineer needs to reduce a ChangeNet model's false accept rate while preserving a target recall.
  2. A PCB inspection team needs RCA and synthetic defects to address model performance gaps.
  3. A machine-learning engineer wants repeated mining, retraining, and KPI checks starting from a baseline evaluation.
  4. A deployment team needs inference preparation gated on meeting FAR and recall thresholds.

What are this skill's strengths and limitations?

Pros
  • Provides an end-to-end loop from baseline evaluation through deployment gating.
  • Combines RCA, synthetic defects, k-NN mining, and iterative retraining.
  • Uses a single pre-flight approval gate and explicit hard-stop conditions.
  • Maintains state logs and HTML reports for iteration tracking.
Limitations
  • Scoped specifically to NVIDIA TAO VisualChangeNet/ChangeNet PCB inspection improvement.
  • Not intended for standalone training, one-off inference, generic anomaly generation, or RCA-only analysis.
  • Requires Docker, nvidia-container-toolkit, GPU workflow inputs, checkpoints, data, and credentials.
  • The source does not state pricing or quotas for HF or NGC-related access.
  • No standalone test suite or concrete platform validation results are described in the supplied source.
  • Missing inputs, credentials, an empty mining pool, leakage, CSV failures, silent-drop, or AMP allocation mismatch can halt the loop without automatic retry.

How do you install this skill?

Install the specific skill with the command documented in the repository README: npx skills add nvidia/skills --skill tao-run-deft-aoi --yes. You may target a client, for example: npx skills add nvidia/skills --skill tao-run-deft-aoi --agent codex. The skill becomes available when the agent next loads relevant skills.

How do you use this skill?

Prompt the agent with “run the DEFT loop” or “fine-tune my AOI ChangeNet model until FAR is below 0.1% at recall=100%.” You must provide max_iterations. If you provide only a time limit, the workflow converts it into an estimated iteration count and surfaces that estimate in pre-flight. The agent shows the Pre-Flight Summary and waits for explicit approval; after approval, it continues without step-by-step confirmation until the KPI target, iteration limit, or an unrecoverable hard stop is reached.

FAQ

Does this require paid services?
The source does not state pricing or service fees. It does require HF_TOKEN for pretrained weights and describes automatic AnomalyGen checkpoint fetching; NGC_KEY gates container pulls.
Will it start training before I approve?
No. It must complete pre-flight, print the Pre-Flight Summary, and wait for explicit approval before running Docker, training, synthetic data generation, or result-directory writes.
Can I use it for one TAO training run?
No. Standalone TAO training is explicitly out of scope; use the relevant single-step training skill instead.
What stops the workflow?
Any stage error, train/validation leakage, a missing or empty mining pool, a failed CSV check, silent-drop, AMP allocation mismatch, or an unrecoverable input or credential problem can stop the loop.

More skills from this repository

All from NVIDIA/skills

Data & Analysis ✓ NVIDIA · Official

TAO ChangeNet Root Cause Analyzer

Uses image evidence to identify why NVIDIA TAO Visual ChangeNet classification experiments fail.

Data & Analysis ✓ NVIDIA · Official

TAO VLM Binary Gap Analyzer

Extract false-positive and false-negative cases from VLM yes/no predictions for downstream root-cause analysis.

Data & Analysis ✓ NVIDIA · Official

TAO AutoML Tuning

Run governed hyperparameter optimization for NVIDIA TAO networks across supported SDK platforms.

Data & Analysis ✓ NVIDIA · Official

TAO AutoML + DEFT Three-Phase Pipeline

Chains hyperparameter tuning, iterative data improvement, and final refinement for AOI and other DEFT applications.

Data & Analysis ✓ NVIDIA · Official

TAO PyT Image Classification

Train, evaluate, optimize, and deploy PyTorch image classifiers with NVIDIA TAO.

Data & Analysis ✓ NVIDIA · Official

TAO Visual ChangeNet Inspection

Train paired-image classifiers and change-segmentation models for PCB defect inspection.

Data & Analysis ✓ NVIDIA · Official

TAO AOI Image Mining

Embed target and source images with one encoder, then mine deduplicated nearest-neighbour AOI images for augmentation.

Data & Analysis ✓ NVIDIA · Official

TAO VCN Classification Gap Analysis

Find the weakest VCN classification samples and turn them into augmentation targets.

Data & Analysis ✓ NVIDIA · Official

TAO DAFT Dataset Validator

Validate TAO DAFT dataset structure, schemas, and cross-references with tao-daft validate.

Data & Analysis ✓ NVIDIA · Official

TAO Grounding DINO Open-Vocabulary Detection

Train and deploy text-guided object detectors without a fixed class vocabulary.

Data & Analysis ✓ NVIDIA · Official

TAO OneFormer Universal Segmentation

Train and deploy one task-conditioned model for panoptic, instance, and semantic image segmentation.

Data & Analysis ✓ NVIDIA · Official

TAO SegFormer Semantic Segmentation

Guidance for training, evaluating, exporting, and deploying TAO SegFormer models.

Dev & Engineering ✓ NVIDIA · Official

TAO Hugging Face Model Integrator

Connect Hugging Face computer-vision models to NVIDIA TAO training, ONNX export, and TensorRT deployment workflows.

Data & Analysis ✓ NVIDIA · Official

Mask Grounding DINO Training & Deployment

Train and deploy text-guided open-vocabulary instance segmentation models.

Data & Analysis ✓ NVIDIA · Official

TAO Depth Anything v2

Train, evaluate, export, and deploy monocular depth models from single RGB images with NVIDIA TAO.

Data & Analysis ✓ NVIDIA · Official

TAO Mask2Former Segmentation

Guides NVIDIA TAO workflows for training and deploying Mask2Former segmentation models.

Data & Analysis ✓ NVIDIA · Official

TAO MAE Vision Pretraining

Guides NVIDIA TAO through masked-autoencoder pretraining and fine-tuning for visual representations.

Data & Analysis ✓ NVIDIA · Official

TAO VCN Sample Router

Routes visual-defect gap samples to eligible mining and synthetic-anomaly modules.

Data & Analysis ✓ NVIDIA · Official

TAO Deformable DETR Object Detection

Guides end-to-end training, evaluation, export, quantization, and deployment of lightweight Deformable DETR detectors in NVIDIA TAO.

Dev & Engineering ✓ NVIDIA · Official

TAO Sparse4D Training Skill

Guides agents through training, evaluation, export, quantization, and inference for multi-camera temporal 3D detection and tracking.

Related skills