MuJoCo Physics Simulation Expert
An in-depth skill for MuJoCo work: authoring MJCF, writing Python control loops, tuning contacts, and scaling to MJX/Warp GPU batches.
Dev & CodingAdvanced★ 407⑂ 51AI score 9/10Last updated: Nov 19, 2026
What it does
- Guides authoring and fixing MJCF scenes (bodies, joints, actuators, sensors, default classes, keyframes) and converting URDF to MJCF.
- Clarifies Python loop semantics:
mj_stepvsmj_forwardordering, sensordata lagging one step behindqpos, deterministic resets withmj_resetData/mj_getState. - Provides an ordered tuning procedure for exploding, jittering, sinking, tunneling or slipping sims:
implicitfast→ timestep → elliptic cone +impratio→solref→solimp→condim/friction →noslip. - Helps pick a backend among CPU MuJoCo,
mujoco.batch, MJX and MuJoCo Warp, and flags GPU porting pitfalls (float32 drift,nconmaxoverflow, no PGS, silently droppednoslip). - Covers headless rendering (
MUJOCO_GL, EGL/OSMesa), RGB/depth/segmentation capture,mujoco.sysidsystem identification and domain randomisation for sim-to-real.
Who it's for
- Robotics engineers and researchers building arm, gripper or humanoid simulations.
- RL and imitation-learning practitioners fighting unstable environments.
- Teams using MuJoCo Menagerie models (Franka, UR5e, SO-100/101, ALOHA, G1) and matching them to real hardware.
Example uses
- "My grasped object keeps slipping out of the gripper" → get elliptic cone +
impratio=10,condim=4/6, frictionpriorityandnoslip_iterationsprescriptions. - "I imported a URDF but
nu == 0and nothing moves" → get theMjSpecconversion recipe pluspackage://path and fused-link pitfalls. - "I want thousands of parallel envs on an NVIDIA GPU" → get backend selection criteria,
_mjx.xmlvariant preparation and contact-buffer sizing steps.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/arpitg1304/robotics-agent-skills/HEAD/skills/mujoco/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/mujoco folder from the GitHub repo arpitg1304/robotics-agent-skills into my ~/.claude/skills/mujoco/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/arpitg1304/robotics-agent-skills.git /tmp/robotics-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/robotics-agent-skills/skills/mujoco ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and move to a scratch directory.
- Clone the repo:
git clone https://github.com/arpitg1304/robotics-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r robotics-agent-skills/skills/mujoco ~/.claude/skills/ - Verify that both
SKILL.mdand thereferences/folder came along — the skill loads those on demand. - Install the library in your Python env:
pip install mujoco(addmujoco-mjxormujoco-warpfor GPU batching). - Restart Claude Code and ask something like "my MuJoCo sim explodes with BADQACC, help me debug it" to trigger the skill.
View source on GitHub ↗License: Apache-2.0