Omniverse usd performance tuning

From openai/plugins · View interactive version

Omniverse usd performance tuning is an AI agent skill from the GitHub repository openai/plugins. Top-level workflow skill for USD performance diagnosis and optimization. Use for slow loading, high memory, low FPS, or 'optimize my scene' requests; delegates auth/runtime setup to Phase 0 owners.

How to use this skill

Skill file

Omniverse USD Performance Tuning

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->

<!-- SPDX-License-Identifier: Apache-2.0 -->

When to Use

Use this workflow for broad performance asks such as slow loading, high memory, low FPS, GPU crashes, conversion-quality triage, or generic requests to optimize a USD scene.

Instructions

  1. Start from the mandatory runtime context gate before producing tuning output, unless the prompt is only asking for a static classification test.
  2. Classify broad optimization requests as ready_to_plan; reserve approval_required for prompts that explicitly name a destructive operation to execute before planning.
  3. Plan the full canonical chain through optimization-report, preserving the structured milestone order and the profile-stage:baseline / profile-stage:after labels when listing milestones.
  4. Invoke downstream skill bodies only when their phase is reached, and keep raw runtime artifacts on disk while reading compact summaries.

Frontmatter keeps version and tools at top level for agentskills.io runtime

compatibility. NVCARPS discoverability fields live under metadata.

Output Format

Return a plan or status summary that names the selected entry skill, uses ready_to_plan for generic optimization requests, includes the full milestone chain through optimization-report, and labels profile phases as profile-stage:baseline and profile-stage:after. For structured outputs, the broad-optimization milestone subsequence is omniverse-usd-performance-tuning -> profile-stage:baseline -> usd-structure-assessment -> usd-validation-runner -> restructure-decision -> apply-restructure -> so-run-validators -> so-interpret-validators -> so-run-operations -> profile-stage:after -> compare-profiles -> optimization-report. End-to-end execution should produce an optimized stage when mutation runs and a report conforming to the optimization-report reference's schema (scripts/optimization-report.schema.json within that reference).

Use this workflow for broad performance asks such as slow loading, low FPS,

high memory, GPU crashes, conversion quality, or "optimize my scene."

Entry skill rule

This skill is the named entry point for broad performance work whenever the

agent has any verified way to do that work. Runtime probing details live in

setup-usd-performance-tuning; this rule only decides which skill owns the

user-facing performance request.

even a partial stack such as Asset Validator only - enter here. If the

user's requested tool is missing, return the specific blocked_code

(blocked_missing_scene_optimizer, blocked_missing_so_operation, etc.)

instead of substituting another workflow.

verified and runtime choice/setup is the first unresolved problem.

Authentication precedes setup and triage for remote assets.

The decision is about ownership, not order. Setup, authentication, and triage all run in their normal phase order; this rule only fixes which skill the agent names as the entry skill in its response.

Runtime context — session-start gate (mandatory)

Before any other tuning output, follow the mandatory session-start gate in

skills/omniverse-usd-performance-tuning/references/setup-usd-performance-tuning/references/runtime-context-header.md.

That reference owns output_path, the canonical setup-preflight.json

location, Format A/Format B, and the "do not improvise a silent probe"

anti-pattern.

Required outcomes:

Change Kit, Switch to standalone, or Re-run probe.

status.

[Kit: {runtime_context.kit.application} {runtime_context.kit.version}  |  SO: {runtime_context.sceneOptimizer.version}  |  AV: {runtime_context.assetValidator.version}]

Runtime artifact token budget

Before reading Kit logs, Asset Validator CSVs, Scene Optimizer logs, Tracy CSVs,

or other runtime output, follow

references/runtime-artifact-token-budget.md. Keep raw artifacts on disk, read

summary JSON first, and use bounded log snapshots instead of full dumps or live

streams.

Plan-time vs execution-time approval

approval_required at planning time is reserved for requests that explicitly name a destructive operation. Use the following rule when deciding between ready_to_plan and approval_required:

The distinction is between authorising a plan and authorising a destructive action. A general optimisation request authorises planning; it does not authorise execution of specific destructive operations.

For structured runtime-test responses and similar planning summaries:

Output expectation

End-to-end optimization work should produce both an optimized USD stage, when

mutation is executed, and a structured optimization report conforming to

the optimization-report reference's scripts/optimization-report.schema.json. The HTML report must be rendered

from references/report-templates/optimization-report.html.template via

render_preview.py — never hand-write HTML. Diagnosis-only work should still

end with a report or summary that states no optimized stage was written.

Purpose

Route digital twin USD performance requests into the right diagnostic and

optimization workflow while preserving evidence before mutation.

Prerequisites

Examples

Triage order

  1. Runtime gate. Follow the mandatory session-start gate above before

validation, profiling, or optimization. Do not scan, probe, install, or pick

Kit/standalone runtimes directly in this skill; setup-usd-performance-tuning

owns probe/chooser/install dispatch and writes the preflight consumed here.

  1. Identify the target problem:
  1. Gather minimum context:

assets, route through omniverse-authentication before first open.

  1. Route:

usd-hierarchy-dedupe-candidates.

Optimization ordering

Follow the canonical ordering in

workflow.md § Operation ordering invariants.

The high-level rule: **prototypes first → per-asset validation → stage-level

operations last.** The workflow reference owns the full invariant list

(meshCleanup before decimateMeshes, deduplication before decimation, never

merge if instanced, etc.) and the analysis-only ops catalogue.

Rules

checking for hierarchy-level reuse.

curation in references/operations/_curation.json classifies every op

as canonical, specialty, analysis, documentary, or deprecated.

When more than one op could resolve the same finding, recommend the

canonical one first and only reach for a specialty op when the user

explicitly asks or the rationale warrants it. Specifically:

over the standalone mergeVertices op. The standalone op is a

legacy/specialty surface; use upstream usd-optimize for the operation

mechanics and local approval policy before mutating.

apply-restructure (the USD-authored rewrite path).

findCoincidingGeometry (analysis — produces a report, not a change).

deletePrims, removeAttributes, removeUntypedPrims,

merge outside its narrow non-instanced case) without an explicit

user request. Documentary ops survive in the per-op

references/operations/<key>.md routing stubs for completeness but are

excluded from agent-initiated recommendations.

_curation.json either (a) have validator-finding evidence that

wires them into the so-interpret-validators chain (e.g.

sparseMeshes, optimizePrimvars), or (b) are load-bearing escape

hatches needed for specific downstream contexts (e.g.

primitivesToMeshes when output must be UsdGeomMesh,

utilityFunction for instancing toggles and material rebinding,

pythonScript for so-create-proxy recipes). Recommend specialty

ops when their validator fires OR when their downstream context

applies — the suppression above only targets documentary ops.

Limitations

reference before executing it.

requirements are missing.

Troubleshooting

References

Before routing, read:

If you have network access, prefer the live URLs (noted in each reference file) for the most current version.

Required execution flow

Read references/workflow.md for the canonical Phase 0-7 flow, including

Kit/standalone branches, validator-stack routing, operation ordering,

termination conditions, duration hints, and the optional iteration pattern.

The compact root map at references/skill-map.md only routes agents

into this workflow.

Do not treat downstream phase names as plain checklist labels. Before executing

each step, load that phase's nested README.md reference and follow its

instructions. Claude Code only exposes the public catalog skill; it does not

recursively inject profile-stage, usd-structure-assessment, or other nested

references.

The final deliverable must come from optimization-report: save both the structured JSON report and the generated Markdown summary. Do not substitute an ad hoc SUMMARY.md or chat-only recap for the optimization report.

For deeper subtopic guidance, consult the references:

For full Kit runtime profiling (FPS, frame time, Hydra/RTX metrics), refer to the external profiling skills at NVIDIA/omniperf.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.