Agent skill · nvidia
cdf-simulation
Component-owned guidance for CDF Simulation requests submitted directly or through Airflow-triggered DIG Flow Catalog prompts — golden THT board, THT pin-geometry variation, good/clean SMT images, structural pose defects, and solder texture defects, from a board USD. Turns one matched prompt into one validated `cdf.CDFJob` build and its compiled JobOrder payload; it never executes a render itself. Requires a caller-supplied board USD and output root, asks for either when missing from an interactive request, and resolves optional details with fixed, documented defaults.
What it needs
About 10k tokens when loaded.
What this skill does
cdf-simulation Turns DIG Flow Catalog prompt templates and equivalent direct requests into cdf jobs through the declarative Python API. This skill is the component-owned guidance for cdf-simulation: a caller supplies a board USD and output root, this skill builds and compiles the job, and the caller can pass the payload to its own executor. Airflow may inject those required inputs, or the caller may provide them directly. If either is missing and interaction is possible, ask once. All optional ambiguity is resolved with fixed, documented defaults. If a request truly cannot be served (an unsupported defect type, a non-USD input), say so rather than guessing at a fake capability or silently doing nothing. This skill does not execute. It produces a validated CDFJob build and its compiled JobOrder payload, then stops. An Airflow DAG or another executor chosen by the caller performs rendering. Catalog coverage This skill implements five DIG Flow Catalog rows, all taking a board USD as input: # Row Status --- --- --- 1 Golden board (THT) Implemented 2 Variation type (THT pin geometry) Implemented 3 Good images (SMT) Implemented 4 Structural defects (SMT) Implemented 5 Texture defects (SMT solder) Implemented, except bridge (unsupported — see below) Reference flows Beside the catalog rows, the skill serves the five reference flows in references/reference-flows.md: complete inspection jobs, each phrased as one prompt whose compiled plan must equal the equivalent YAML config. A prompt carrying a flow marker -- a scan grid and "stitched", a defect on a named refdes ("shift on C33", "insufficient solder on J17", "missing-component defect on LS1"), "component-focus" or "pin-focus" crops -- is a flow, not a catalog row, and takes its fixed values from that file (they differ from the catalog defaults: shift is translaterange=0.5, rotatezrange=5.0 with no variantindex, crops are ROI captures rather than postprocess.crop). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills nvidia/cdf-simulation