Individual skill
physical-ai-defect-image-generation
Use when the user wants to orchestrate defect image generation with NVIDIA Cosmos AnomalyGen (Cosmos-Predict2-derived) on OSMO for PCBA, metal surface, and glass inspection. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint, cosmos defect generation, cosmos-predict2 defect, cosmos-anomalygen, cosmos predict2 finetune.
skills/physical-ai-defect-image-generation/SKILL.md
Source commit fce3cca4170be75e82c64920654d56ee2811b005
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,912
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- agentic-ai Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codex Repository topic
- coding-agents Repository topic
- cuda Repository topic
- developer-tools Repository topic
- llm Repository topic
- omniverse Repository topic
- physical-ai Declared skill tag
- defect-image-generation Declared skill tag
- aoi Declared skill tag
- anomalygen Declared skill tag
- usd2roi Declared skill tag
- cosmos Declared skill tag
- cosmos-predict2 Declared skill tag
- cosmos-anomalygen Declared skill tag
- operations Derived category
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
BENCHMARK.mddoc · 3,902 bytesSKILL.mdcore · 20,002 bytesSKILL.mdcore · 20,002 bytesSKILL.mdcore · 20,002 bytesSKILL.mdcore · 20,002 bytesassets/configs/finetune.yamlasset · 14,425 bytesassets/configs/good_image_generation.yamlasset · 21,438 bytesassets/configs/setup/setup_glass.yamlasset · 10,239 bytesassets/configs/setup/setup_metal.yamlasset · 6,773 bytesassets/configs/setup/setup_pcb.yamlasset · 8,462 bytesassets/configs/setup/setup_pretrained.yamlasset · 7,277 bytesassets/configs/structural_defect_generation.yamlasset · 22,502 bytesassets/configs/texture_defect_generation_day0.yamlasset · 51,210 bytesassets/configs/texture_defect_generation_day1_manual_roi.yamlasset · 35,363 bytesassets/configs/texture_defect_generation_day1_real_alignment.yamlasset · 52,665 bytesassets/cookbooks/glass/ag_config.yamlasset · 1,385 bytesassets/cookbooks/metal_surface/ag_config.yamlasset · 1,536 bytesassets/cookbooks/pcb/0603_H100/day0_crop.yamlasset · 424 bytesassets/cookbooks/pcb/0603_H100/day0_image.yamlasset · 2,810 bytesassets/cookbooks/pcb/0603_H100/defect_image.yamlasset · 4,680 bytesassets/cookbooks/pcb/0603_H100/pcba_target.yamlasset · 295 bytesassets/cookbooks/pcb/0603_H100/usd2roi_nvpcb.yamlasset · 2,989 bytesassets/cookbooks/pcb/1152819000/day0_crop.yamlasset · 411 bytesassets/cookbooks/pcb/1152819000/day0_image.yamlasset · 2,258 bytesassets/cookbooks/pcb/1152819000/defect_image.yamlasset · 4,451 bytesassets/cookbooks/pcb/1152819000/pcba_target.yamlasset · 281 bytesassets/cookbooks/pcb/1152819000/usd2roi_nvpcb.yamlasset · 3,276 bytesassets/cookbooks/pcb/ag_config.yamlasset · 1,437 bytesassets/cookbooks/pcb/augmentation_config_ovsl2sl.yamlasset · 2,536 bytesassets/cookbooks/pcb/usd2roi_day1.yamlasset · 7,551 bytesevals/evals.jsonasset · 14,854 bytesreferences/container-images.mddoc · 3,814 bytesreferences/contents.mddoc · 3,484 bytesreferences/disambiguation.mddoc · 6,318 bytesreferences/flows/finetune.mddoc · 6,249 bytesreferences/flows/good_image_generation.mddoc · 7,485 bytesreferences/flows/structural_defect_generation.mddoc · 11,388 bytesreferences/flows/texture_defect_generation_day0.mddoc · 5,189 bytesreferences/flows/texture_defect_generation_day1_manual_roi.mddoc · 5,528 bytesreferences/flows/texture_defect_generation_day1_real_alignment.mddoc · 6,529 bytesreferences/gpu_sizing.mddoc · 3,660 bytesreferences/knob_mapping.mddoc · 2,510 bytesreferences/monitoring.mddoc · 3,391 bytesreferences/nim/README.mddoc · 7,527 bytesreferences/nim/qwen-image-edit-nvpcb-ovsl2sl.yamlasset · 2,531 bytesreferences/output_rendering.mddoc · 12,413 bytesreferences/output_retrieval.mddoc · 1,734 bytesreferences/preconditions.mddoc · 9,992 bytesreferences/setup.mddoc · 33,196 bytesreferences/troubleshooting.mddoc · 16,149 bytesscripts/pick_best_step.shruns · 3,454 bytesscripts/preflight_credentials.shruns · 5,463 bytesscripts/preflight_pod_template.shruns · 3,989 bytesscripts/preflight_urls.shruns · 3,017 bytesscripts/render_defect_spec.pyruns · 4,123 bytesskill-card.mddoc · 4,104 bytesskill.oms.sigasset · 17,173 bytes
Read excerpt
# Physical AI Defect Image Generation
## Table of Contents
- [Supported Flows](#supported-flows)
- [Disambiguation](#disambiguation-handle-vague-requests-before-committing) (full table in `references/disambiguation.md`)
- [Step 0: Select Flow, Cookbook, and Gather Inputs](#step-0-select-flow-cookbook-and-gather-inputs)
- [Common Preconditions](#common-preconditions-all-flows) (long-form in `references/preconditions.md`)
- [Flow walkthroughs](#flow-walkthroughs) (one entry per flow; details in `references/flows/`)
- [OSMO Monitoring](#osmo-monitoring)
- [Supporting files](#supporting-files)
End-to-end orchestration of defect image generation, augmentation, and labeling pipelines for AOI (Automated Optical Inspection) datasets. **AnomalyGen = Cosmos-Predict2-2B finetuned per use case** (Cosmos-AnomalyGen-PCB-2B, -Metal-2B, -Glass-2B). Every flow has a canonical OSMO workflow YAML in `assets/configs/` that chains all steps non-interactively. Use-case cookbooks in `assets/cookbooks/` provide PCBA usd2roi/image-edit configs and AnomalyGen training configs for PCBA, metal surface, and glass inspection. This skill governs flow selection, data handoffs, and submit commands; component internals live in each component's `SKILL.md`.