myosuite
Use MyoSuite's MuJoCo musculoskeletal environments, task registry, model and kinematics tools, reference-motion utilities, optional MJX acceleration, rendering, and bounded reinforcement-learning integrations.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- myosuite
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use MyoSuite's MuJoCo musculoskeletal environments, task registry, model and kinematics tools, reference-motion utilities, optional MJX acceleration, rendering, and bounded reinforcement-learning integrations.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/installation-and-assets.md2.7 KB
- 参考文档references/repo-provenance.md2.4 KB
- 参考文档references/repo-routing-metadata.json497 B
- 参考文档references/troubleshooting.md2.9 KB
03 SKILL.md 正文
MyoSuite operating guide
MyoSuite is a Python package of musculoskeletal MuJoCo environments exposed through Gymnasium-compatible APIs. Use this skill for task selection, short control rollouts, observation/reward inspection, simulation and rendering, model edits/IK, reference trajectories, optional JAX/MJX acceleration, or RL integration planning. This is a self-contained operating graph: use its bundled references and scripts, not the source checkout's tests, tutorials, or launchers.
Route first
- Environment/task creation, reset/step, seeds, spaces, task IDs, or safe headless rollouts: read environments.
- MuJoCo model state, XML loading, cameras, offscreen/onscreen rendering, or viewer failures: read simulation-rendering.
- XML/model transformations, robot edits, site-pose IK, or quaternion/vector utilities: read model-editing-kinematics.
- Fixed/random/tracked trajectories, interpolation, playback, or reference logs: read reference-motion.
- JAX/MJX/MJWarp, device probes, CUDA, or NumPy/JAX parity: read mjx-acceleration.
- Saved-policy evaluation, SB3/MJRL/DEP-RL/TorchRL boundaries, or training handoff/config validation: read training-integration.
For package-wide setup failures, read installation and assets and troubleshooting. Read repository provenance before treating this graph as current for a changed checkout.
Install and smoke check
Use an isolated Python 3.10–3.13 environment and install the released package or an editable source distribution with its documented MuJoCo model assets. The core route needs Gymnasium below 1.3, MuJoCo 3.6.x, NumPy, Click, and the other base dependencies declared by the package. Do not install MJX/CUDA or RL extras unless the requested route needs them.
python -m pip install -U myosuite
python -c "import myosuite, mujoco; print(myosuite.__version__, mujoco.__version__)"
python sub-skills/environments/scripts/environment_smoke.py \
--env-id myoElbowPose1D6MRandom-v0 --steps 3 --seed 123 --render none
For a source checkout, missing MuJoCo include files usually mean the repository's asset submodules/package data are unavailable; see the asset guidance rather than changing task IDs. The verified package snapshot imported MyoSuite 2.12.2, MuJoCo 3.6.0, and Gymnasium 1.2.3, registered 398 environments, and completed a seeded pose reset/step smoke after model assets were available.
Operating rules
- Import
myosuitebefore querying the Gymnasium registry; registration is an import side effect. Prefergym.spec(task_id)and an exact task ID from the linked task catalog beforegym.make(task_id). - Use
reset(seed=...), seed the action space for deterministic sampled controls, honor the five-value Gymnasiumstepresult, and close every environment in afinallyblock. - Keep CPU/base behavior separate from optional display and MJX/CUDA claims. A successful MuJoCo CPU step does not prove JAX, CUDA, or a windowing stack.
- Bound episodes, frames, output files, and training plans. Do not fetch model assets, open viewers, deserialize untrusted policies, or launch long experiments without explicit user intent.
- Preserve task-specific observation/action shapes and reference joint order; do not copy a control vector or reference file between tasks without checking its declared spaces and dimensions.
Verification boundary
The base package, registry, seeded environment lifecycle, model-editor tests, CLI help, and safe bundled scripts are CPU-verifiable. MJX/JAX/CUDA, onscreen viewer behavior, networked asset setup, and long RL training are optional or environment-dependent; route them to the relevant sub-skill and keep any unverified backend visible. The generated skill is intentionally not imported into the managed DisCo repo-skill collection for this run.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.