mujoco-scenes
Package for creating different scenes in MuJoCo. Compose environments with objects, terrains, and obstacles for robot training.
Best use case
mujoco-scenes is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Package for creating different scenes in MuJoCo. Compose environments with objects, terrains, and obstacles for robot training.
Teams using mujoco-scenes should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/mujoco-scenes/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How mujoco-scenes Compares
| Feature / Agent | mujoco-scenes | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Package for creating different scenes in MuJoCo. Compose environments with objects, terrains, and obstacles for robot training.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# MuJoCo Scenes Skill
**Trit**: 0 (ERGODIC - coordination/infrastructure)
**Color**: #9FD875 (Soft Green)
**URI**: skill://mujoco-scenes#9FD875
## Overview
Package for composing MuJoCo scenes with objects, terrains, and obstacles. Enables diverse environment generation for robot training.
## Usage
```python
from mujoco_scenes import SceneBuilder, Terrain, Object
# Build a training scene
scene = SceneBuilder()
# Add terrain
scene.add_terrain(
Terrain.FLAT,
size=(10, 10),
friction=1.0,
)
# Add obstacles
scene.add_object(
Object.BOX,
pos=(2, 0, 0.5),
size=(0.5, 0.5, 0.5),
color=(1, 0, 0, 1),
)
scene.add_object(
Object.SPHERE,
pos=(-1, 2, 0.3),
radius=0.3,
mass=0.5,
)
# Add terrain variations
scene.add_terrain(
Terrain.STAIRS,
pos=(5, 0, 0),
step_height=0.15,
step_count=5,
)
# Export to MJCF
mjcf = scene.to_mjcf()
```
## Terrain Types
```
┌─────────────────────────────────────────────────────────────┐
│ TERRAIN TYPES │
├─────────────────────────────────────────────────────────────┤
│ │
│ FLAT ═══════════════════════════ │
│ │
│ STAIRS ┌─┐ │
│ ┌─┘ └─┐ │
│ ┌─┘ └─┐ │
│ │
│ RAMP ╱╲ │
│ ╱ ╲ │
│ │
│ ROUGH ∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿ │
│ (heightfield) │
│ │
│ GAPS ═══ ═══ ═══ ═══ │
│ │
└─────────────────────────────────────────────────────────────┘
```
## Domain Randomization
```python
from mujoco_scenes import DomainRandomizer
randomizer = DomainRandomizer(
terrain_roughness=(0.0, 0.1),
friction_range=(0.5, 1.5),
object_position_noise=0.2,
lighting_variation=True,
)
# Generate randomized scenes
for i in range(100):
scene = randomizer.generate()
scene.save(f"scene_{i}.mjcf")
```
## Integration with KSIM
```python
from ksim import RLTask
from mujoco_scenes import SceneBuilder
class WalkingWithObstacles(RLTask):
def build_scene(self):
scene = SceneBuilder()
scene.add_terrain(Terrain.FLAT)
scene.add_random_obstacles(count=10)
return scene.to_mjcf()
```
## GF(3) Triads
This skill acts as the **ERGODIC (0)** coordinator:
```
ksim-rl (-1) ⊗ kos-firmware (+1) ⊗ mujoco-scenes (0) = 0 ✓
evla-vla (-1) ⊗ kos-firmware (+1) ⊗ mujoco-scenes (0) = 0 ✓
urdf2mjcf (-1) ⊗ kos-firmware (+1) ⊗ mujoco-scenes (0) = 0 ✓
kbot-humanoid (-1) ⊗ kos-firmware (+1) ⊗ mujoco-scenes (0) = 0 ✓
zeroth-bot (-1) ⊗ kos-firmware (+1) ⊗ mujoco-scenes (0) = 0 ✓
```
## Related Skills
- `ksim-rl` (-1): Uses scenes for training
- `kos-firmware` (+1): Robot firmware
- `urdf2mjcf` (-1): Model conversion
- `kbot-humanoid` (-1): K-Bot robot
## References
```bibtex
@misc{mujocoscenes2024,
title={MuJoCo Scenes: Environment Composition for Robot Training},
author={K-Scale Labs},
year={2024},
url={https://github.com/kscalelabs/mujoco-scenes}
}
```Related Skills
jepsen-testing
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal checkers (linearizability/serializability and Elle-style anomalies). Use when designing, implementing, or running Jepsen tests, or interpreting histories/violations.
Deterministic Color Generation via Metadata Hashing
**Status**: ✅ Production Ready
cyton-dongle
Connect and stream from OpenBCI Cyton/Daisy via USB dongle, including first-time radio channel pairing
asi-transient-agenda
Org-agenda-like transient views for ASI skill orchestration via nbb/squint + Emacs hydra
Topological Superintelligence (TSI)
Compositional AI framework using GF(3) triadic balance and category-theoretic foundations.
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill
zig-syrup-bci
Multimodal BCI pipeline in Zig: DSI-24 EEG, fNIRS mBLL, eye tracking IVT, LSL sync, EDF read/write, GF(3) conservation
zig-programming
zig-programming skill
zeroth-bot
Zeroth Bot - 3D-printed open-source humanoid robot platform for sim-to-real and RL research. Affordable entry point for humanoid robotics.