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/parallelization.md
Parallelization Strategy (USE SUBAGENTS)
You MUST use the Agent tool to run independent investigation tracks in parallel. This dramatically speeds up the RCA. Follow this execution plan.
Step 1: Phase 1 — Run sequentially (everything depends on this)
Run Phase 1 yourself in the main thread. Save the results:
Score statistics, tier, threshold sweep, per-defect-type table, drop-N analysis
List of bottom 5 defects (for 2A), top 10 FP PASS samples (for 2C)
All defect types found
Step 2: Parallel Wave 1 — Launch 6 subagents simultaneously
After Phase 1 completes, launch ALL 6 agents in a single message with multiple Agent tool calls:
Agent A — "Image Evidence: Critical Samples + Failure Clustering"
Phase 2A: Threshold-critical sample deep dive (bottom 5 defects, top 10 FPs)
Phase 2B: Failure mode clustering (view ALL defect images, classify each)
Provide: inference CSV path, image path construction rules, experiment.yaml path, Phase 1 results (bottom 5 defects list, score stats)
Agent B — "Image Evidence: Golden Audit + FP Analysis"
Phase 2B: Systematic golden image audit (Python script + view flagged goldens)
Phase 2C: False positive deep dive (top 10 highest-scoring PASS)
Phase 2D: Comparative visual analysis
Provide: inference CSV path, image path construction rules, top 10 FP sample IDs from Phase 1
Agent C — "Data & Label Analysis"
Phase 2E: Label semantics & visual pattern alignment audit
Phase 3C: Training image deep dive (view training defects, compare to test)
Phase 4A: Data sufficiency analysis
Provide: train CSV path, val CSV path, inference CSV path, image path construction rules
Agent D — "Config & Cross-Dimensional Analysis"
Phase 3A: Component-type clustering
Phase 3B: Board-level & positional analysis
Phase 3D: Multi-light condition analysis
Phase 4B: Training config audit
Phase 4C: Training metrics
Phase 4D: Loss function & decision boundary analysis
Provide: inference CSV path, experiment.yaml path, status.json path
Agent E — "Exploratory: Random Sampling & Anomaly Hunting" This agent has NO fixed checklist. Its job is to find what the structured agents miss.
Random image sampling: Pick 20 random samples across the full score range (not just extremes). View test + golden for each. Look for anything unexpected — patterns not captured by the defect labels, images that "feel wrong" but aren't flagged, subtle systematic issues.
Score anomaly hunting: Find statistical outliers — samples whose scores don't match their neighbors (e.g., a PASS sample with a score way above other PASS, or a defect with a suspiciously perfect score). View their images and explain the anomaly.
Golden-to-golden variance: Pick 5 components that appear in multiple boards. View their golden images across boards. Are goldens consistent, or do they vary (= golden pipeline instability)?
Edge case search: Find the samples closest to the decision boundary (scores near the optimal threshold). These are the model's hardest decisions. View them. What makes them ambiguous?
Correlation mining: Run a Python script to compute correlations between score and every available metadata field (comp_type, object_name, board, position, image size, etc.). Report any unexpected strong correlations (r > 0.3).
Free-form observations: Note anything surprising, unusual, or unexplained. No finding is too small — even "the naming convention changes after row 500" can be a clue.
Provide: inference CSV path, train CSV path, image path construction rules, ALL file paths, Phase 1 results
Agent F — "Exploratory: Cross-Validation & Stress Testing" This agent stress-tests the model's behavior and the data integrity.
Score consistency check: If the same component appears on multiple test boards, does it get consistent scores? Large variance = the model is sensitive to non-defect factors. View the most inconsistent components.
Synthetic threshold analysis: Beyond the global optimal threshold, compute per-component-type optimal thresholds. How much KPI improves with component-aware thresholds? This reveals if a single threshold is fundamentally wrong.
Data integrity audit: Run a Python script to check for: duplicate rows, missing image files (test or golden), NaN/empty scores, mismatched column counts, inconsistent path formats, samples where test_path == golden_path (comparing image to itself).
Augmentation sensitivity probe: If augmentation config is available, check if test-time conditions fall outside the augmentation range (e.g., model trained with ±10° rotation but test has ±30° offset from golden).
Score distribution shape analysis: Beyond mean/std — fit score distributions to known shapes (bimodal, uniform, skewed). A bimodal PASS distribution suggests two populations (e.g., two board types with different baselines). Plot histograms if possible.
Misalignment between train and inference pipeline: Compare how images are loaded in training code vs inference code. Check for: different normalization, different resize interpolation, different crop strategy, channel order mismatch (RGB vs BGR).
Provide: inference CSV path, train CSV path, experiment.yaml path, training code directory, image path construction rules, Phase 1 results
Step 3: Collect and synthesize — Run sequentially
Collect all 6 agent results. Pay special attention to Agents E and F — they may surface root causes that Agents A-D missed entirely. Cross-reference exploratory findings with structured findings:
Do the random samples confirm or contradict the failure mode clustering?
Did anomaly hunting find issues not in any defect type category?
Does the data integrity audit invalidate any conclusions from other agents?
Then run Phase 5 (counterfactual) yourself, because it needs findings from ALL agents. Include any new root causes from E/F in the what-if simulations.
Step 4: Write the report — Run sequentially
BEFORE writing RCA_Report.md, run ls rca_images/ to inventory all available thumbnails. You need exact filenames for inline embedding.
Image Embedding Protocol (MANDATORY)
Every visual evidence table row MUST have inline thumbnail columns using ![caption] (rca_images/<filename>.jpg) syntax. A report without per-row images is incomplete — the hook will reject it.
Rules:
Section 3.1 (Golden Audit): Every audited golden row gets a
![golden] (rca_images/<filename>.jpg)columnSection 3.2 (Failure Mode Clustering): Every defect sample row gets BOTH a test thumbnail column AND a golden thumbnail column
Section 3.3 (False Positive Analysis): Every FP row gets BOTH test and golden thumbnail columns
Section 3.4 (Visual Detectability): Every comparison pair gets side-by-side test + golden thumbnails
Section 7.4 (Decision Boundary Cases): Each boundary sample gets test + golden thumbnails
To match thumbnails to samples: cross-reference object_name and boardname from each row against filenames in rca_images/. If a thumbnail was not generated for a sample, note (no thumbnail) in that cell.
Table format for image-heavy sections:
| Sample | Score | Test Image | Golden Image | Failure Mode | ... |
|--------|-------|------------|--------------|--------------|-----|
| <obj> | <score> | ![test] (rca_images/<filename>.jpg) | ![golden] (rca_images/<filename>.jpg) | <mode> | ... |Add a dedicated section for exploratory findings:
## 7. Exploratory Findings (Agents E & F)
- Unexpected patterns discovered
- Data integrity issues
- Cross-validation inconsistencies
- Anything that doesn't fit neatly into Phases 2-4Subagent Prompt Template
When launching each agent, include in the prompt:
The Visual Inspection Primer (copy it)
The image path construction rules
The specific Phase instructions for that agent
Phase 1 results (score stats, key sample IDs, defect types)
All file paths (experiment dir, CSV paths, image dir, config paths)
Instruction to return structured findings as markdown sections matching the report structure
IMPORTANT: Each agent must return:
Markdown tables with all data (will be pasted into the report)
List of all images viewed with verdicts
Key findings and root causes identified
Thumbnail filename mapping: A table mapping each sample (object_name + boardname) to exact thumbnail filenames generated in
rca_images/. The main thread needs these exact filenames to embed inline images. Format:## Thumbnail Map | object_name | boardname | test_thumbnail | golden_thumbnail | |-------------|-----------|----------------|------------------| | ... | ... | test_<name>.jpg | golden_<name>.jpg |
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