Mujoco Playground logo

Mujoco Playground

Organization
google-deepmind
mujoco-playground

Runs and zero-shot transfers robot controllers across MuJoCo Playground sim and physical SO-101 or I2RT YAM DeviceLayers (plus sim G1 and Trossen WXAI) via PlaygroundSim2Real and setup_scene(spec), composing Studio, perception, IK, motion-planning, and visual-servoing skills. Use by default for SO-101, YAM, G1, or WXAI sim or sim-to-real controllers. Don't use for custom raw drivers, GPU RL training (use mujoco-playground-rl), or non-robotics tasks.

Overview

Publishergoogle-deepmind
Repositoryrobotics-antigravity-plugin
Skill namemujoco-playground
Stars
490
Forks
45
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by google-deepmind on GitHub. Read the source before you install it.

Installation

Install the Mujoco Playground AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/google-deepmind/robotics-antigravity-plugin/tree/main/plugins/robotics/skills/mujoco-playground
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/google-deepmind/robotics-antigravity-plugin.git /tmp/robotics-antigravity-plugin
mkdir -p .claude/skills
cp -r /tmp/robotics-antigravity-plugin/plugins/robotics/skills/mujoco-playground .claude/skills/mujoco-playground
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mujoco Playground in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mujoco Playground on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mujoco Playground is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

MuJoCo Playground Sim-to-Real Composition (playground_sim2real.py)

Compose live MuJoCo Studio visualization, perception, IK, collision-aware planning, and visual servoing on mujoco_playground's out-of-the-box so101 and yam 50 Hz DeviceLayer stacks with identical code in mode="sim" and mode="real":

  1. Workspace Setup:

    • Clone & sync: git clone https://github.com/google-deepmind/mujoco_playground.git && cd mujoco_playground && make sync-cpu (or make sync for CUDA 13 / make sync-cu12 for Linux CUDA 12; add --extra so101 or --extra yam alongside the same --group, and pass --no-sync to uv run). For composed skills, run uv pip install --python .venv/bin/python ruckig opencv-python-headless scipy mink daqp. Set MUJOCO_GL=osmesa only on headless Linux (omit on macOS).
    • Hardware bringup & CLI (also runnable without cloning via uvx --python 3.13 --from "playground[so101]>=1.1"): identify/calibrate SO-101 with uv run --no-sync python -m mujoco_playground.robots.so101.real.{get_ports --identify --roles=follower, get_cameras --identify, get_calibration --roles=follower}, and run tasks via uv run --no-sync playground <train|play|deploy|teleop|sysid|view_log>.
  2. Unified sim / real DeviceLayer Execution (PlaygroundSim2Real):

    • Wrap SO101Follower / SO101FollowerDevice (so101_aloha_table, arm in rad, gripper in [0, 100]) or YamFollower / YamFollowerDevice (yam_aloha_table, arm in rad, gripper in [0, 1]) via with PlaygroundSim2Real(robot="yam", mode="sim", setup_scene=...) as env:, passing setup_scene(spec) (mujoco-spec-editing / mujoco-python) to customize objects, containers, conveyors, or camera/base poses for any scene.
    • Never bypass the follower DeviceLayer or read privileged object mj_data.xpos inside controllers; PlaygroundSim2Real steps through follower/goal_position/*, reads follower/joint_position/* + camera streams, and cosine-interpolates safely to FOLLOWER_HOME on close().
  3. Live MuJoCo Studio Visualization & Hot-Reload (mujoco-studio-sidecar + mujoco-studio):

    • Load mujoco-studio-sidecar and mujoco-studio whenever interactively building scenes, controllers, or Studio UI panels.
    • mujoco_playground/.venv/bin/python already ships mujoco.studio: publish build_playground_spec(robot="yam", setup_scene=...) from a SimPlugin in <workspace_dir>/sim_plugin.py (on_load_model calling self.handle.set_model(spec) and returning True, plus if self in event.plugins: self.handle.reload() on HotReloadEvent), place viewer_plugin.py / messages.py alongside it, launch studiod.py with <playground_dir>/.venv/bin/python (<mujoco-studio-sidecar>/scripts/studiod.py --workspace_dir=<dir>, IsDaemon: true), include [MuJoCo Studio](sidecar://robotics/mujoco_studio/), and verify /_studio/status after edits (or stream PlaygroundSim2Real rollouts to a Studio ViewerHandle via env.attach_studio(handle)).
  4. Composing robotics Plugin Skills Zero-Shot (sim -> real):

    • rgb-object-localization: Call cam = env.camera_opencv("wrist_camera") (computes K, T_world_cam, and T_ee_cam from measured q_arm via mj_kinematics + mj_camlight with MuJoCo-to-OpenCV R @ diag([1, -1, -1]) applied; cam["T_ee_cam"] is None for fixed extra_cameras) and pass (mask, cam["K"], cam["T_world_cam"], z_plane_m) (tabletop at z_plane_m = env.table_height_m in Playground world frame plus object height offset) to ray_plane_contour_pose or two views to triangulate_matched_points.
    • i2rt-yam-ik & Arm IK: On yam, map world targets into the arm base frame (computed dynamically from env.mj_model via env.t_world_base) with p_b = env.world_to_base_point(p_w) before YamIk(xml_path=env.robot_xml_path).make_topdown_grasp_pose(*p_b) + ik.solve(...) (or transform full poses with env.world_to_base_pose). On 5-DOF so101 (or either arm), call env.solve_arm_ik(pos_world, approach_dir_world=(0, 0, -1), jaw_yaw_rad=...).
    • motion-planning (motion_planner mp): Transform world obstacles into the robot MJCF root frame via env.world_to_base_point / env.world_to_base_pose (table at z = 0.0 in base frame), plan free-space detours and linear Cartesian strokes with planner = mp.RobotArmPlanner(mjcf_path=env.robot_xml_path, joint_names=env.arm_joint_names, gripper_cmd=env.gripper_normalized) (planner.plan_arm / planner.plan_cartesian_stroke, control_dt_s=env.control_period_s), and stream via env.execute_trajectory(res["q_trajectory"]).
    • visual-servoing (Ibvs): Compute unoccluded hover height with Ibvs.principal_ray_hover_distance(cam["T_ee_cam"], env.approach_axis_ee), refine wrist alignment at hover via Ibvs.ray_plane_contour_pose(mask, cam["fx_px"], cam["fy_px"], cam["cx_px"], cam["cy_px"], cam["T_world_cam"], z_plane_m) (or 6-DOF Ibvs.compute_step), then descend, close gripper (env.set_gripper(...)), and lift.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mujoco Playground AI skill do?

Runs and zero-shot transfers robot controllers across MuJoCo Playground sim and physical SO-101 or I2RT YAM DeviceLayers (plus sim G1 and Trossen WXAI) via PlaygroundSim2Real and setup_scene(spec), composing Studio, perception, IK, motion-planning, and visual-servoing skills. Use by default for SO-101, YAM, G1, or WXAI sim or sim-to-real controllers. Don't use for custom raw drivers, GPU RL training (use mujoco-playground-rl), or non-robotics tasks.

Why use Mujoco Playground on TypingMind?

Because you install it once and use it with any model. Mujoco Playground is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mujoco Playground in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/google-deepmind/robotics-antigravity-plugin/tree/main/plugins/robotics/skills/mujoco-playground. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mujoco Playground?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mujoco Playground?

As many as you like. As long as a model supports skills, you can use Mujoco Playground with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mujoco Playground AI skill free?

Yes. It is published on GitHub by google-deepmind under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇