spg-usd-lua-authoring
Installation
SKILL.md
SPG USD/Lua Authoring
When to Use
Use this skill when the user asks to author, review, or fix RTX Sensor Processing Graphs (SPG) in USD, CUDA, or Lua: info:spg:sourceAsset, info:id = "spg:...", subIdentifier, opaque AOV ports, RenderProduct / RenderVar / orderedVars wiring, typed value inputs, shader chaining, or cuda.kernel launch scripts.
Inputs
Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.
- Target artifact: CUDA kernel,
.cu.lualaunch script, reusable shader.usda, scene wiring.usda, or built-in factory node. - AOV/resource inputs and outputs, including shape, dtype, and whether each resource is an image or buffer.
- Value inputs and their USD types (
int,float,bool, vectors, matrices, quaternions,token) plus defaults or scene overrides. - RenderProduct path, camera, resolution, RenderVars, final output AOVs, and any shader-to-shader dependencies.
- Public docs and example snippets referenced below. Treat these as the source of truth.