Tao Analyze Changenet Rca
NVIDIAOfficialCreated by NVIDIA Corporation
- Skill
- Review and audit
- Software development
- Apache-2.0
- Medium risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured, five-phase investigation framework to diagnose failures in NVIDIA TAO Visual ChangeNet models. It focuses on identifying why a model underperforms by correlating numerical score statistics with visual evidence from test and golden image pairs. The process includes score analysis, systematic golden image audits, cross-dimensional pattern recognition, and counterfactual impact analysis to generate actionable fixes for AOI defect-detection pipelines.
What it does
- Analyzes model score distributions and performs threshold sweeps to establish KPI baselines.
- Conducts deep visual investigations of threshold-critical samples and false positives.
- Audits golden image quality to detect illumination issues or framing mismatches.
- Clusters failure modes by component type, board level, and light condition.
- Evaluates training configuration, data sufficiency, and class balance.
- Generates a comprehensive RCA report with embedded visual evidence thumbnails.
When to use it
- When investigating poor recall, high false alarm rates, or PASS/NO_PASS metric regressions.
- When auditing the quality of a visual inspection pipeline.
- When diagnosing why specific defect types are failing to be detected.
- When performing a root cause analysis for an AOI defect-detection model.
Advantages
- Evidence-based: Every conclusion is backed by direct visual inspection of images.
- Systematic: Follows a rigorous five-phase methodology from score analysis to counterfactuals.
- Actionable: Includes a counterfactual analysis phase to quantify the impact of potential fixes.
- Parallelized: Utilizes subagents to accelerate investigation tracks.
Usage examples
- “RCA on my ChangeNet model”
- The agent initiates a multi-phase investigation, starting with score analysis and threshold sweeps to identify the primary failure modes.
- “why is my AOI model failing”
- The agent performs a deep dive into the experiment results, auditing golden images and test samples to pinpoint data quality or model configuration issues.
- “audit ChangeNet predictions”
- The agent clusters false positives and failures, providing a visual report that highlights systemic issues in the inspection pipeline.
- “root cause analysis on visual-changenet”
- The agent executes the full RCA workflow, producing a timestamped report containing score statistics, visual evidence, and recommended fixes.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/nvidia/tao-analyze-changenet-rca/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip tao-analyze-changenet-rca.zip -d .agents/skills
Documentation by NVIDIA Corporation
TAO ChangeNet Classification RCA Skill
Standalone install? If this session was not initialized by the TAO skill bank plugin, run the
tao-setupskill first (host preflight, credentials, cross-skill discovery).
You are an expert investigator for NVIDIA TAO Visual ChangeNet classification experiments. Your job is to find why the model fails, backed by visual evidence from actual images.
When the user provides an experiment result directory and training code directory, perform a deep Root Cause Analysis. The investigation must be image-evidence-driven — every major conclusion should trace back to specific images you viewed.
Inputs
Experiment result directory — contains
train/andinference/Training code directory — the
visual_changenet/source treeDataset directory — where CSV files and images reside (often in experiment.yaml)
Target KPI — default to Recall-first if not specified. Options: Recall-first (FAR at 100% recall), FAR-first (recall at target FAR), Balanced (F1), Custom.
Visual Inspection Primer
The ChangeNet model compares a test image against a golden image (known-good reference) to detect differences. When viewing images, check these three things:
Image quality: Both images should be properly exposed with visible content. Watch for unusually dark images — but do not use a fixed intensity threshold. Some illumination types (e.g., SolderLight) produce systemically dark images where mean intensity < 30 is normal. Always establish a PASS golden baseline first and flag outliers relative to that baseline.
Framing match: Test and golden should show the same region at the same zoom and orientation. Mismatched framing (e.g., wide-field vs close-up) indicates a golden pipeline error.
Defect visibility: Can you see the difference between test and golden? Some defects are obvious at any resolution; others may be invisible after downscaling to the model's input size. Compare original image dimensions to model input size to assess information loss.
Investigation Flow
The investigation has 5 phases. Phase 1 (numbers) gives you hypotheses. Phase 2 (images) proves or disproves them. Phase 3 (cross-dimensional) finds hidden patterns. Phase 4 (config) explains the mechanism. Phase 5 (counterfactual) quantifies fixes. Phase 2 is the core — spend the most effort there. Phase 5 is the most actionable — never skip it.
Phase 1 — Score Analysis: score statistics, tier classification, threshold sweep, per-defect-type table, drop-N threshold-critical analysis, KPI verdict.
Phase 2 — Deep Image Investigation: threshold-critical sample deep dive (2A), systematic golden audit + failure mode clustering (2B), false positive deep dive (2C), comparative visual analysis (2D), label semantics & visual pattern alignment audit (2E).
Phase 3 — Cross-Dimensional Analysis: component-type clustering (3A), board-level & positional analysis (3B), training image deep dive (3C), multi-light condition analysis (3D).
Phase 4 — Data & Training Config Analysis: data sufficiency (4A), training config audit (4B), training metrics (4C), loss function & decision boundary analysis (4D).
Phase 5 — Counterfactual & Actionability: what-if simulations (5A), minimum viable fix path (5B).
See references/investigation-phases.md for the full per-phase, per-step instructions, the image path construction rules, all classification taxonomies and severity guidance, and the Architecture Reference (module formulas, sampler weighting, LR policy, dataset classes) — every value VERBATIM.
Execution: Parallelize With Subagents
You MUST use the Agent tool to run independent investigation tracks in parallel. Run Phase 1 sequentially in the main thread (everything depends on it), then launch 6 subagents (A–F) in a single message, collect and synthesize their results (paying special attention to exploratory Agents E and F), run Phase 5 yourself, and write the report last.
Before writing RCA_Report.md, run ls rca_images/ to inventory thumbnails, and follow the mandatory Image Embedding Protocol: every visual-evidence table row must carry inline thumbnail columns using ![caption] (rca_images/<filename>.jpg) syntax — a report without per-row images is incomplete and the hook will reject it.
See references/parallelization.md for the complete execution plan: the Phase-1 hand-off contents, each agent's exact checklist (A–F including the two exploratory agents), the Image Embedding Protocol rules and table formats, the exploratory-findings section, the subagent prompt template, and the required Thumbnail Map return format — all VERBATIM.
Report Structure and Output
Produce RCA_Report.md with sections 1–9: Verdict, Score Analysis, Visual Evidence (with embedded thumbnails), Cross-Dimensional Analysis, Data Issues, Training Config Issues, Exploratory Findings, Counterfactual Impact Analysis, and Recommended Fixes.
Always save into a timestamped folder under the experiment result directory:
<experiment_result_dir>/rca_results/YYYY-MM-DD_HHMMSS/
├── RCA_Report.md
├── rca_images/
├── rca_config/
└── claude_session.jsonlGet the real timestamp by running date +%Y-%m-%d_%H%M%S in Bash — never hardcode or guess it. If the user specifies a custom path, use that instead but keep the same structure.
See references/output-structure.md for the complete section-by-section report skeleton (every table header and summary line) and the full output layout with hook-copied contents — VERBATIM.
Files
- ATTRIBUTION.mdAdded by AutoGineer945 B
- BENCHMARK.md6.9 KiB
- LICENSELicence file added by AutoGineer11.2 KiB
- SKILL.md6.4 KiB
- config/skillspector-baseline.yaml2.4 KiB
- evals/evals.json804 B
- hooks/_parse-stdin.shScript1.4 KiB
- hooks/rca-defect-coverage.shScript5.5 KiB
- hooks/rca-depth-check.shScript9.7 KiB
- hooks/rca-package.shScript2.9 KiB
- hooks/rca-phase-completeness.shScript4.2 KiB
- hooks/rca-report-check.shScript4.9 KiB
- hooks/rca-script-check.shScript3.1 KiB
- references/investigation-phases.md16.6 KiB
- references/output-structure.md6.0 KiB
- references/parallelization.md8.6 KiB
- skill-card.md4.3 KiB
- skill.oms.sig7.1 KiB
references/output-structure.md
Report Structure and Output Layout
Report Structure
# Root Cause Analysis Report: <Experiment Name>
## 1. Verdict
- Tier (1-4), score gap, KPI result
- One-paragraph root cause summary
- Top 3 root causes ranked
## 2. Score Analysis
- Score distributions (PASS vs NO_PASS)
- Threshold analysis with confusion matrices
- Per-defect-type score table
## 3. Visual Evidence
For every table below, embed inline thumbnail images using Markdown image syntax:
`` — use relative paths from the report location.
Before writing the report, generate a thumbnail gallery: write and run a Python script
that copies relevant images into a `rca_images/` subfolder next to the report, resized
to 128×128 px (or original size if smaller). Use these thumbnails in the Markdown tables.
- 3.1 Golden Image Audit
| Golden Path | Thumbnail | Mean Intensity | Visual Verdict |
|-------------|-----------|----------------|----------------|
(one row per audited golden image, thumbnail = `![golden] (rca_images/<filename>.jpg)`)
- 3.2 Failure Mode Clustering
| Sample | Score | Defect Type | Test Image | Golden Image | Failure Mode | Description |
|--------|-------|-------------|------------|--------------|--------------|-------------|
(embed test + golden thumbnails side-by-side per row)
- Summary: N obvious defects scoring low → model didn't learn
- Summary: N dark goldens → data quality issue
- Summary: N framing mismatches → golden pipeline issue
- 3.3 False Positive Analysis
| Rank | Sample | Score | Test Image | Golden Image | FP Cause | Component/Type |
|------|--------|-------|------------|--------------|----------|----------------|
(top 10 FPs with inline thumbnails and visual cause)
- Clustering: which components/types dominate FPs
- 3.4 Visual Detectability Assessment (can a human see it at 224x224?)
Include side-by-side test vs golden thumbnail pairs for:
- A typical low-scoring PASS pair
- Representative defects from each type
- The hardest cases (highest-scoring defects, lowest-scoring defects)
## 4. Cross-Dimensional Analysis
- 4.1 Component-Type Clustering
| Component Type | Count | Mean PASS Score | Mean Defect Score | Gap | FP Rate | FN Rate |
|----------------|-------|-----------------|-------------------|-----|---------|---------|
(with visual explanation for worst types)
- 4.2 Board-Level Analysis (if board IDs available)
- 4.3 Training Image Deep Dive
| Training Sample | Visual Subtype | Also in Test? | Difficulty vs Test |
|-----------------|----------------|---------------|-------------------|
- Training vs test pattern coverage verdict
- 4.4 Multi-Light Condition Analysis (if applicable)
## 5. Data Issues
- Sample counts table (train/val/test × PASS/defect types)
- Defect type coverage matrix
- Class ratio analysis
- Domain gap / board mismatch analysis
- Validation signal check
## 6. Training Config Issues
- Sampler × class weight computation
- LR at checkpoint epoch
- Augmentation audit
- Image size vs component size analysis
- Config parameter table with flags
- Loss function & calibration analysis
## 7. Exploratory Findings
- 7.1 Random Sampling Discoveries
| Sample | Score | Expected? | Observation |
|--------|-------|-----------|-------------|
(20 random samples across full score range — anything unexpected)
- 7.2 Score Anomalies
| Sample | Score | Why Anomalous | Visual Explanation |
|--------|-------|---------------|-------------------|
(outliers that don't match their neighbors)
- 7.3 Golden Consistency Check
| Component | Board A Golden | Board B Golden | Consistent? |
|-----------|---------------|---------------|-------------|
(same component across boards — golden pipeline stability)
- 7.4 Decision Boundary Cases
| Sample | Score | Label | Test Image | Golden Image | Why Ambiguous |
|--------|-------|-------|------------|--------------|---------------|
(samples closest to threshold — the model's hardest calls)
- 7.5 Metadata Correlations
| Field | Correlation with Score | Interpretation |
|-------|----------------------|----------------|
(unexpected correlations found by mining)
- 7.6 Data Integrity Issues
- Duplicate rows, missing files, NaN scores, path mismatches
- 7.7 Score Distribution Shape Analysis
- Bimodal? Uniform? Skewed? What does the shape reveal?
- 7.8 Train vs Inference Pipeline Misalignment
- Normalization, resize, crop, channel order differences
## 8. Counterfactual Impact Analysis
- 8.1 What-If Simulations
| Root Cause | Fix | Samples Affected | KPI Before | KPI After | Delta |
|------------|-----|------------------|------------|-----------|-------|
- 8.2 Minimum Viable Fix Path
| Priority | Fix | Effort | KPI Impact | Risk |
|----------|-----|--------|------------|------|
- Is target KPI reachable? If not, why?
## 9. Recommended Fixes (prioritized by impact × feasibility)Output Location
Always save into a timestamped folder:
<experiment_result_dir>/rca_results/YYYY-MM-DD_HHMMSS/
├── RCA_Report.md # The full report
├── rca_images/ # All thumbnails embedded in the report
├── rca_config/ # Auto-copied by hook: skill, commands, hooks, settings
│ ├── skills/
│ ├── commands/
│ ├── hooks/
│ └── settings.local.json
└── claude_session.jsonl # Auto-copied by hook: conversation logAt the start of the investigation, get the real current timestamp by running
date +%Y-%m-%d_%H%M%Sin Bash, then create the output folder:<experiment_dir>/rca_results/<timestamp>/. Do NOT hardcode or guess the time — always use the shell command.Write
rca_images/thumbnails into that folderWrite
RCA_Report.mdinto that folder (this triggers the packaging hook to copy config + logs)
If the user specifies a custom path, use that instead but maintain the same structure.
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Declares allowed tools
The author says: Requires docker + nvidia-container-toolkit. Workflows declare additional requirements.
Security
What our scanner noticed· Medium risk
- Large base64-encoded blobs
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- NVIDIA Corporation
- Publisher
- NVIDIA (Official)
- Source
- NVIDIA/skills · skills/tao-analyze-changenet-rca · commit fce3cca
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE-APACHE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by NVIDIA Corporation or NVIDIA.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download tao-analyze-changenet-rca.zip