Skip to main content
skill CX Codex

cdf-defect-image-generation — NVIDIA skill for Claude Code

cdf-defect-image-generation produces synthetic solder-defect images for board inspection via a DAG in CDF Orchestration. Useful when rare defects need volume without manual annotation.

no license ★ 4,106 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add NVIDIA/skills --skill cdf-defect-image-generation -a claude-code
Open on GitHub

What cdf-defect-image-generation does

This skill drives defect_image_generation_smt_dag_k8s. The simulation stage renders components, a sim2real step converts renders into clean golden images, and AnomalyGen applies texture defects: solder bridges, excess solder, missing parts. Pose defects like shift, tombstone and sideflip come straight out of the simulation render.

A script called scripts/payload.py runs the payload through the DAG's model and compiler. It reports job counts, output paths and the effective AnomalyGen staging. Nothing gets submitted, and no storage or cluster access happens at this stage.

You need an authorized Kubernetes connection, an Airflow 3 controller with the DIG DAG loaded, plus storage and model access. The payload checker expects a trusted CDF Orchestration checkout that includes skills/cdf-orchestration-preflight/scripts/storage_check.py. If that file is missing, the skill treats it as a readiness blocker and will not skip the storage mapping check.

The pipeline_mode field selects the stages: simulation, sim2real, full or defect. The skill does not run Simulation, Augmentation or AnomalyGen on their own; separate NVIDIA skills cover that.

What it helps with

  • Generate synthetic solder-defect images for PCB inspection pipelines
  • Validate a payload against the DAG model without hitting the cluster
  • Run the full path from scene render to defected images
  • Match each defect image back to its golden and simulated source
  • Check GPU and storage readiness before launching a run

Example prompts for the agent

  • Build a payload for full mode and check it locally with scripts/payload.py
  • Create JSON with pipeline_mode: defect for a prepared clean-image dataset under staging.fetch.input
  • Verify GPU readiness on the cluster before starting the DAG

How to install cdf-defect-image-generation

1Skills CLI (Vercel)

npx skills add NVIDIA/skills --skill cdf-defect-image-generation -a claude-code

2Manually: put the files in place

~/.claude/skills/cdf-defect-image-generation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cdf-defect-image-generation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cdf-defect-image-generation

How do I install cdf-defect-image-generation in Claude Code?

Run npx skills add NVIDIA/skills --skill cdf-defect-image-generation -a claude-code, then open ~/.claude/skills/cdf-defect-image-generation/SKILL.md.

What does cdf-defect-image-generation do?

It runs the defect_image_generation_smt_dag_k8s DAG, which renders PCB components, turns them into realistic golden images and adds defects through AnomalyGen. Pose defects such as shift, tombstone and sideflip are also covered.

Can this skill run Simulation or AnomalyGen alone?

No. The skill orchestrates the whole DAG and separates stages only through pipeline_mode. Running those components independently requires their own NVIDIA skills.

Similar skills

All skills for AI and ML →
ai-pipeline-orchestration devops-skills ai-pipeline-orchestration is a Claude Code skill that builds model training, batch inference and RAG indexing pipelines with Prefect, Airflow or Dagster. Runs on schedule or on demand. CX Codex +1 361installs deploying-airflow astronomer deploying-airflow — a skill for shipping Airflow DAGs and projects: Astro CLI commands, Docker Compose and Helm. Useful when pipelines need to reach production. CX Codex +1 847installs gke-custom-golden-image-discovery official google The gke-custom-golden-image-discovery skill finds a golden base image for a custom GKE node from the cluster version, OS, architecture, accelerator, and security requirements. CX Codex +1 3,500installs gpu-kubernetes-operations devops-skills gpu-kubernetes-operations — a skill for running GPU-backed Kubernetes clusters: pod scheduling, MIG partitioning, time-slicing, DCGM monitoring and cost controls. CX Codex +1 365installs deploying-go-sdk-bundles astronomer deploying-go-sdk-bundles is a Claude Code skill that builds and packages Go bundles for Airflow and configures their discovery and delivery to workers. It supports deploying Go tasks through ExecutableCoordinator. CX Codex +1 217installs physical-ai-infrastructure-setup-and-resilient-scaling official NVIDIA Physical AI physical-ai-infrastructure-setup-and-resilient-scaling is a skill for setting up NVIDIA Physical AI for synthetic data generation on MicroK8s or Azure AKS, including OSMO deployment and infrastructure recovery. CX Codex GP ChatGPT +1 ★ 8,052repo stars

From the same set312

The whole set →
rtvi-cv-scaffold-vss-service rtvi-cv-scaffold-vss-service generates a standalone DeepStream perception microservice that feeds detection payloads into VSS Search and Alerts via Kafka mdx-raw. CX Codex +1 ★ 4,106repo stars msa-search-nim This skill guides protein-sequence searches and multiple sequence alignment with ColabFold MSA-Search NIM. Use it for homolog searches or paired alignments for complexes. CX Codex +1 ★ 4,106repo stars amc-run-rtsp-calibration amc-run-rtsp-calibration triggers dataset calibration from live RTSP camera streams via the AutoMagicCalib REST API. Use when you have camera stream URLs and need to process them without pre-recording to disk. CX Codex +1 ★ 4,106repo stars nv-reason-ct Runs NV-Reason-CT inference on 3D NIfTI chest or abdominal CT scans for research and engineering workflows. Strictly non-clinical. CX Codex +1 ★ 4,106repo stars paidf-cosmos-predict paidf-cosmos-predict prepares PAIDF config and runs Cosmos Predict video generation for DEFT media samples, finishing with a JSONL map from each input id to its clip. CX Codex +1 ★ 4,106repo stars doca-urom-svc doca-urom-svc guides configuration and operations for the DOCA UROM Service container on BlueField Arm to offload host remote memory tasks. CX Codex +1 ★ 4,106repo stars cdf-curation-and-retrieval The cdf-curation-and-retrieval skill guides video and image curation with Cosmos Curator, plus handoffs to TAO and searches through Cosmos Dataset Search. Use it for requests involving CDF or its Make and CLI workflows. CX Codex +1 ★ 4,106repo stars runai-get-cluster-health-summary runai-get-cluster-health-summary is a Claude Code skill that checks Run:ai cluster and node health, gives each pool a verdict, and identifies its main blocker. It shows why a pool won't schedule. CX Codex +1 ★ 4,106repo stars

Project sponsors

Companies that keep this analytics open