mjcf-xml-reasoning

Interpret MuJoCo MJCF XML models to debug physics and validate kinematic trees.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/mzqef/MotrixLab --skill mjcf-xml-reasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mjcf-xml-reasoning
Source: https://github.com/mzqef/MotrixLab/tree/main/.github/skills/mjcf-xml-reasoning
Command: npx skills add https://github.com/mzqef/MotrixLab --skill mjcf-xml-reasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables practitioners to understand MuJoCo MJCF XML models, reason about their kinematic structures, and diagnose physics/scene issues by inspecting the XML definitions.

Core Features & Use Cases

  • XML comprehension: Read and interpret the root <mujoco> element and its major sections (<asset>, <worldbody>, <compiler>, <option>, <site>, <joint>, <geom>, <sensor>, <actuator>).
  • Debugging & design: Debug physics configurations, verify joint and geometry relationships, and design new robot scenes or environments.
  • Practical guidance: Map XML elements to simulation behavior, enabling rapid identification of configuration errors and iteration on model design.

Quick Start

Analyze an MJCF XML file to identify the root mujoco element and its core sections for quick verification.

Frequently Asked Questions about mjcf-xml-reasoning

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

FAQPage Schema
How do I debug MuJoCo MJCF XML physics configurations?

To debug MuJoCo MJCF XML physics configurations, inspect the root mujoco element and its major sections like compiler, option, and joint. Analyzing these XML definitions helps verify joint relationships and identify configuration errors causing simulation issues.

What is a kinematic tree in a MuJoCo MJCF XML file?

A kinematic tree in a MuJoCo MJCF XML file defines robot rigid body connections using nested worldbody, joint, and geom elements. Interpreting this structure reveals body movements and maps XML definitions to simulation behavior.

How do I map MuJoCo XML elements to simulation behavior?

To map MuJoCo XML elements to simulation behavior, examine how sections like asset, site, sensor, and actuator interact within the MJCF document. This mapping enables rapid identification of configuration errors and effective robot scene design iteration.

How do I validate kinematic trees in MJCF documents?

Validate kinematic trees in MJCF documents by inspecting the nested worldbody structure and verifying joint and geometry relationships. Correct hierarchical placement of body, joint, and geom elements prevents structural physics simulation errors.

When do I need to inspect the MJCF compiler and option sections?

Inspect the MJCF compiler and option sections to debug physics configurations or adjust global simulation settings. These elements control coordinate transformations, solver parameters, and overall simulation behavior defined in the MuJoCo XML.