Sign inGet started
–

This skill helps build, edit, and tune MuJoCo physics models programmatically using the MjSpec API in Python or C++, including bodies, geoms, joints, actuators, sub-model attachments, and collision/so

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
78
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

MuJoCo procedural model authoring, editing, and tuning with MjSpec (`mujoco.MjSpec` in Python and `mjSpec` in C++): bodies, geoms, joints, sites, cameras, sub-model attachment with prefix namespaces, actuators (position servos, motors, velocity drives, trntype), baseline option/default overrides (implicitfast, elliptic cones, solref, solimp, armature, damping), collision bitmasks (contype, conaffinity), friction (condim), default classes (MjsDefault), procedural meshes, deletion, spec recompilation (spec.recompile). Use only for authoring or tuning MuJoCo MJCF/MjSpec models, adding bodies/geoms/actuators, and attaching sub-models. Don't use for designing custom non-MuJoCo XML/scene-graph APIs when MuJoCo `MjSpec` is not used, deformable flex/cloth/cable modeling (mujoco-deformables), stepping simulations (mujoco-python), or rendering (mujoco-rendering).

#mjcf#modeling#mujoco#physics-simulation#python#robotics

Quality judgment

completeness
9.0/10
clarity
9.0/10
trigger quality
8.5/10
examples
9.0/10
structure
9.0/10
overall
9.0/10

The document provides comprehensive coverage of MuJoCo MjSpec editing across all major domains (modeling, actuators, defaults, collisions, procedural meshes/sensors, deletion/recompilation, sub-model attachments). Code examples are abundant, well-structured, and directly relevant. The organization follows a logical progression from basic construction to advanced tuning. Minor deductions exist for the absence of explicit C++ error handling patterns beyond the basic sample, but overall the skill document is thorough and well-executed.

Files (1)

SKILL.md · 17.2 KB