Index of every page on this site: llms.txt
All skills
nvidia avatar

/physical-ai-defect-image-generation

@f41ce99
by NVIDIA Corporationnvidia/skills4.1k stars
550
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/nvidia/skills/physical-ai-defect-image-generation

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

skill-card.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Description: <br>

Orchestrates end-to-end defect image generation, augmentation, and labeling pipelines for Automated Optical Inspection (AOI) datasets using NVIDIA Cosmos AnomalyGen on OSMO for PCBA, metal surface, and glass inspection. <br>

This skill is ready for commercial/non-commercial use. <br>

Owner

NVIDIA <br>

License/Terms of Use: <br>

CC-BY-4.0 AND Apache-2.0 <br>

Use Case: <br>

Developers and engineers use this skill to orchestrate synthetic defect image generation pipelines for Automated Optical Inspection (AOI) training datasets, covering cold-start (Day 0) and real-image inference (Day 1) workflows across PCBA, metal surface, and glass inspection use cases. <br>

Deployment Geography for Use: <br>

Global <br>

Known Risks and Mitigations: <br>

Risk: Review before execution as proposals could introduce incorrect or misleading guidance into skills. <br> Mitigation: Review and scan skill before deployment. <br>

Reference(s): <br>

Skill Output: <br>

Output Type(s): [Shell commands, Configuration instructions] <br> Output Format: [Markdown with inline bash code blocks] <br> Output Parameters: [1D] <br> Other Properties Related to Output: [None] <br>

Evaluation Agents Used: <br>

  • Claude Code (claude-code) <br>
  • Codex (codex) <br>

Evaluation Tasks: <br>

Evaluated against 6 internal evaluation tasks (all positive skill-activation cases) via NVSkills-Eval external profile in an astra-sandbox environment. <br>

Evaluation Metrics Used: <br>

Reported benchmark dimensions: <br>

  • Security: Checks whether skill-assisted execution avoids unsafe behavior such as secret leakage, destructive commands, or unauthorized access. <br>
  • Correctness: Checks whether the agent follows the expected workflow and produces the correct final output. <br>
  • Discoverability: Checks whether the agent loads the skill when relevant and avoids using it when irrelevant. <br>
  • Effectiveness: Checks whether the agent performs measurably better with the skill than without it. <br>
  • Efficiency: Checks whether the agent uses fewer tokens and avoids redundant work. <br>

Underlying evaluation signals used in this run: <br>

  • security: Checks for unsafe operations, secret leakage, and unauthorized access. <br>
  • skill_execution: Verifies that the agent loaded the expected skill and workflow. <br>
  • skill_efficiency: Checks routing quality, decoy avoidance, and redundant tool usage. <br>
  • accuracy: Grades final-answer correctness against the reference answer. <br>
  • goal_accuracy: Checks whether the overall user task completed successfully. <br>
  • behavior_check: Verifies expected behavior steps, including safety expectations. <br>
  • token_efficiency: Compares token usage with and without the skill. <br>

Evaluation Results: <br>

Dimension Num claude-code codex
Security 6 100% (+0%) 100% (+0%)
Correctness 6 94% (+71%) 94% (+52%)
Discoverability 6 95% (+70%) 79% (+33%)
Effectiveness 6 79% (+77%) 90% (+76%)
Efficiency 6 78% (+51%) 69% (+33%)

Skill Version(s): <br>

1.0.1 (source: frontmatter) <br>

Ethical Considerations: <br>

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal team to ensure this skill meets requirements for the relevant industry and use case and addresses unforeseen product misuse. <br>

(For Release on NVIDIA Platforms Only) <br> Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here. <br>

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    The skill is an end-to-end orchestrator for defect image generation using NVIDIA OSMO. It manages asset setup, model finetuning, and inference pipelines. Analysis shows that the skill follows security best practices, using environment variables for secret management and fetching dependencies or models from well-known, trusted platforms like GitHub and Hugging Face. No malicious patterns, obfuscation, or data exfiltration risks were detected.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: MEDIUM · 1 issue

Signed by skilld at f41ce99. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 5 months ago
version
1.0.1
tools
[
  "Read",
  "Shell"
]
Other metadata
metadata
{
  "owner": "NVIDIA",
  "service": "physical-ai-data-factory",
  "version": "1.0.1",
  "reviewed": "2026-06-23",
  "author": "NVIDIA",
  "tags": [
    "physical-ai",
    "defect-image-generation",
    "aoi",
    "anomalygen",
    "usd2roi",
    "cosmos",
    "cosmos-predict2",
    "cosmos-anomalygen"
  ]
}

README badge

README badge for nvidia/skills/physical-ai-defect-image-generation