isaac-sim/isaacsim/urdf-mjcf-to-usd-conversion
Claude Code and agent skill by isaac-sim/isaacsim
- community
Checking that the SKILL.md file is still in the repository.
Convert URDF/MJCF to USD for Isaac Sim and Isaac Lab. Use when importing a new robot description.
Install
npx vskill@latest install isaac-sim/isaacsim/urdf-mjcf-to-usd-conversionSKILL.md
The same SKILL.md was published earlier as isaac-sim/isaacsim/urdf-mjcf-to-usd-conversion.
URDF / MJCF -> USD Conversion
Purpose
Import URDF and MJCF robot descriptions to USD with modern importer APIs, instanceable meshes, and drive configuration for RL or teleop.
Prerequisites
- For importer commands and UI: built Isaac Sim and the environment from
isaac-sim-orchestrator.
- For migrated transformer/schema APIs: a completed
source/librariesbuild or
matching installed wheels; rendering requires a GPU, conversion alone does not.
Limitations
- Targets Isaac Sim 6 / Kit 110 unless a section states otherwise.
- Does not replace official NVIDIA documentation for unsupported edge cases.
Troubleshooting
| Error / symptom | Cause | Solution | |
|---|---|---|---|
| Black or empty frames | Missing lights or non-RTX render mode | Add dome/key light; confirm RTX / PathTracing settings | |
| Hang on stage load or first render | MDL compile or oversized stage | Follow isolation steps in isaac-sim-troubleshooting |
Importer, library, and Kit extension ownership
URDF/MJCF command dispatch, importer UI, extension settings, and Kit lifecycle remain extension work. The migrated Asset Transformer implementation and robot schema packages are owned under source/libraries/isaacsim/asset/transformer and source/libraries/isaacsim_usd_schemas/; their Kit extensions stage the built wheels and SDKs without duplicating the implementation.
For an existing PhysX-authored USD (not a URDF/MJCF), use physx-to-newton-conversion instead.
Two conversion paths and one export path.
| Path | When | Driver | |
|---|---|---|---|
| 1. Full Isaac Sim import (CLI) | RL/Lab asset, scripted batch | isaacsim.asset.importer.urdf / .mjcf via urdf_import.py / mjcf_import.py | |
| 2. Isaac Lab convert script | Isaac Lab-native config.yaml workflow | $ISAAC_LAB_DIR/scripts/tools/convert_urdf.py / convert_mjcf.py | |
| Export | USD -> URDF round-trip | isaacsim.asset.exporter.urdf via urdf_export.py |
Available Scripts
| Script | Purpose | Arguments | |
|---|---|---|---|
scripts/urdf_importer_ros.py | Import URDF from a live ROS 2 robot_state_publisher via URDFImporter | see script --help |
Running scripts
From agent runtimes that expose skill execution helpers, invoke helpers with run_script():
From a built Isaac Sim tree, run the same file with ./python.sh (Linux) or python.bat (Windows) from _build/*/release, or execute shell helpers directly when they do not require the simulator.
XACRO inputs
The URDFImporter core does not parse XACRO. Two supported paths:
Recommended — import directly from a running ROS 2 node
isaacsim.ros2.urdf adds a dedicated import path that queries the robot_description parameter on any node (typically robot_state_publisher) via the standard GetParameters service, resolves package:// URLs, writes the URDF to a temp file, and feeds it to URDFImporter. The node is responsible for XACRO expansion, so this also covers launch-file-only distributions that never ship a static URDF.
UI: File -> Import from ROS2 URDF Node (opens an import window with the same collider / robot-type / mesh options as the standard URDF importer).
Python (preferred over the deprecated URDFImportFromROS2Node Kit command):
import_urdf_from_ros(usd_out_path, merge_fixed_joints, fix_base, robot_type) — subscribe to robot_state_publisher, resolve package:// URLs, and import URDF when the description is received.
See `scripts/urdf_importer_ros.py`.
Requires the isaacsim.ros2.urdf extension (depends on isaacsim.ros2.bridge for the ROS 2 runtime), a reachable node publishing robot_description, and Isaac Sim launched from a terminal where the robot workspace is sourced. The sourced workspace must include the robot description package and every package referenced by package:// mesh/resource URLs; the bundled ROS 2 runtime does not provide robot-specific packages. The reader runs asynchronously — the callback fires once the GetParameters service replies.
Fallback — offline xacro CLI
Use when there is no live ROS graph. Requires only the xacro package (pip install xacro or apt install ros-$ROS_DISTRO-xacro):
Pass the resulting .urdf to Path 1 or Path 2.
Path 1 — Isaac Sim importer (recommended for RL/Lab)
Modern public API: isaacsim.asset.importer.urdf.URDFImporter + URDFImporterConfig (dataclass) and the matching isaacsim.asset.importer.mjcf pair. The post-import isaacsim.asset.transformer runs by default and restructures the USD output (collects dependencies, runs registered rules for physics conversion, materials routing, etc.).
URDFImporterConfig fields (defaults)
| Field | Default | Notes | |
|---|---|---|---|
urdf_path, usd_path | None | input/output | |
merge_fixed_joints | False | collapse fixed joints | |
merge_mesh | False | merge meshes per link | |
debug_mode | False | extra logging + intermediates | |
collision_from_visuals | False | derive collision geom from visuals | |
collision_type | "Convex Hull" | Convex Hull / Convex Decomposition / Bounding Sphere / Bounding Cube | |
allow_self_collision | False | leave off for training | |
ros_package_paths | [] | resolve package:// URLs | |
robot_type | "Default" | robot-schema token; see below | |
fix_base | False | adds fixed joint world -> root; relocates ArticulationRootAPI | |
link_density | None | kg/m^3 fallback when URDF has no mass | |
joint_drive_type | None | force / acceleration; or {regex: value} per-joint | |
joint_target_type | None | none / position / velocity; or per-joint dict | |
override_joint_stiffness | None | Nm/rad (rev) or N/m (pris); or per-joint dict | |
override_joint_damping | None | Nms/rad / Ns/m; or per-joint dict | |
run_asset_transformer | True | run transformer profile post-import | |
run_multi_physics_conversion | True | URDF -> PhysX joint attr conversion |
CLI (Isaac Sim)
source/standalone_examples/api/isaacsim.asset.importer.urdf/urdf_import.py auto-enables omni.scene.optimizer.core and isaacsim.robot.schema, then applies the config.
--robot-type choices come from usd.schema.isaac.robot_schema.get_allowed_tokens(Attributes.ROBOT_TYPE): Default, End Effector, Manipulator, Humanoid, Wheeled, Holonomic, Quadruped, Mobile Manipulators, Aerial.
MJCF import (parallel API)
CLI: source/standalone_examples/api/isaacsim.asset.importer.mjcf/mjcf_import.py (mirrors URDF: --mjcf, --usd-path, --import-scene, --robot-type, --override-gain-type, --override-bias-type, etc.).
Legacy MJCF commands MJCFCreateAsset / MJCFCreateImportConfig are deprecated; use MJCFImporter directly.
Migration: for the broaderomni.importer.mjcf/omni.importer.urdf→isaacsim.asset.importer.*rename map, see Renaming Extensions.
Asset Transformer (what run_asset_transformer=True runs)
isaacsim.asset.transformer executes ordered USD rule pipelines. Default post-import rules include UrdfToMjcPhysxConversionRule / MjcToPhysxConversionRule and material routing. To run manually on an existing USD:
CLI: source/standalone_examples/api/isaacsim.asset.transformer/run_asset_transformer.py (--input, --profile, --output).
Robot Schema applied during import
The importer applies the modern usd.schema.isaac.robot_schema:
IsaacRobotAPIon the robot root prim (storesrobot_type, ordered link/joint relations, named-pose container).IsaacLinkAPIon rigid links.IsaacJointAPIon joints.IsaacSiteAPIon sites (replaces deprecatedIsaacReferencePointAPI).IsaacNamedPoseprims for named poses; manage via theisaacsim.robot.posermodule (seemanipulation-ik).
Validate after import:
Path 2 — Isaac Lab convert_urdf.py / convert_mjcf.py (config.yaml)
For Isaac Lab-native workflows you have a config.yaml per robot under assets/isaaclab/Robots/<Robot>/:
Run:
Drive presets
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/urdf-mjcf-to-usd-conversion/SKILL.md
Popularity
- Repository stars
- 3,682
- Repository forks
- 501
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/isaac-sim/isaacsim/urdf-mjcf-to-usd-conversion)