cloning-prims

Clone USD prim subtrees to specified destination paths with validation.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill cloning-prims-pubcyberry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloning-prims
Source: https://github.com/PubCyBerry/SO101-Sim2Real/tree/main/.agents/skills/cloning-prims
Command: npx skills add https://github.com/PubCyBerry/SO101-Sim2Real --skill cloning-prims-pubcyberry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers duplicate existing USD prim subtrees safely without manually recreating geometry or scene structures.

Core Features & Use Cases

  • USD Prim Duplication: Creates copies of existing USD prim hierarchies at one or more destination paths.
  • Workflow Guidance: Helps choose between cloning, instancing, references, and new geometry authoring workflows.
  • API Support: Provides patterns for Python and C cloning operations with validation, async handling, and error checks.

Quick Start

Ask the skill to clone an existing USD prim to a new path while preserving the recommended API usage pattern.

Frequently Asked Questions about cloning-prims

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clone USD prims to duplicate scene geometry in OpenUSD?

Cloning USD prims duplicates existing prim subtrees to specified destination paths, safely copying geometry and scene structures without manual recreation. This process requires correct source validation and destination conflict checks before applying tested cloning APIs for reliable duplication.

What is the difference between cloning, instancing, and referencing USD prims?

Cloning USD prims creates fully independent duplicate subtrees at new paths, whereas instancing shares geometry data for memory efficiency and referencing links external layers. Workflow guidance helps choose the right approach based on whether you need scene mutation or instance preparation.

Does OpenUSD support runtime stage mutation for USD prim cloning in Python and C?

OpenUSD supports runtime stage mutation through tested cloning APIs for both Python and C implementations. These patterns include validation, async handling, and error checks to ensure reliable geometry duplication during scene construction and OVRTX workflows.

Why does cloning USD prims fail when destination paths already exist?

Cloning USD prims fails at occupied destination paths because the operation requires destination conflict checks to prevent overwriting existing scene elements. Validating the target stage path ensures the cloning API can safely copy the source prim subtree without structural collisions.

What's the best way to prepare multiple USD prim clones for instance scenarios?

The best way to prepare USD prim clones for instance scenarios is using tested cloning APIs that apply source validation and destination conflict checks. This ensures reliable subtree duplication across multiple destination paths during runtime stage mutation for OpenUSD and OVRTX workflows.

Do I need to validate source USD prims before cloning geometry subtrees?

Source validation is required before cloning USD prims to ensure the prim subtree exists and contains the expected geometry data. Correct validation combined with destination conflict checks enables tested cloning APIs to reliably duplicate scene elements at new paths.