protomotions
Use this skill for ProtoMotions 3 humanoid simulation, motion-learning, retargeting, simulator-backend, training, inference, and deployment workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- protomotions
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use this skill for ProtoMotions 3 humanoid simulation, motion-learning, retargeting, simulator-backend, training, inference, and deployment workflows.
- disable-model-invocation
- true
02 资源文件 6
- 参考文档references/cli-and-config.md4.1 KB
- 参考文档references/install-and-backends.md3.6 KB
- 参考文档references/quick-reference.md3.4 KB
- 参考文档references/repo-provenance.md3.5 KB
- 参考文档references/repo-routing-metadata.json512 B
- 参考文档references/troubleshooting.md5.7 KB
03 SKILL.md 正文
ProtoMotions
Use this repo skill when a task involves ProtoMotions 3 (protomotions), a Python framework for GPU-accelerated humanoid and character simulation, motion imitation, retargeting, reinforcement-learning experiments, and G1 deployment workflows.
Fast routing
- Install/import/backend issue: read
sub-skills/installation-and-backends/SKILL.md, thenreferences/troubleshooting.mdif assets or simulator imports fail. - Simulator, robot, terrain, scene, or tutorial-style construction: read
sub-skills/simulator-foundations/SKILL.md. - Training, inference, experiment configs, checkpoints, domain randomization, SLURM, or GPC/PEFT: read
sub-skills/training-and-experiments/SKILL.md. - MotionLib, AMASS/PHUMA/SEED/Kimodo data conversion, PyRoki retargeting, contacts, FPS, or motion filters: read
sub-skills/retargeting-and-motion-data/SKILL.md. - ONNX export, standalone MuJoCo deployment, G1 real-robot integration, custom robots, MJCF/USD, or tracker input semantics: read
sub-skills/deployment-and-robots/SKILL.md.
What to know before acting
- ProtoMotions intentionally uses separate environments per simulator backend. Do not install all extras into one environment.
- IsaacGym and IsaacLab must be imported before importing
torch; useprotomotions.utils.simulator_imports.import_simulator_before_torch()in custom scripts. - The wheel/package ships Python modules and most robot assets, but examples, checkpoints, MotionLib data, and some conversion helpers are source-checkout assets. A source checkout with Git LFS is required for packaged examples or pretrained artifacts.
- SMPL/SMPL-H body-model assets are intentionally excluded from built distributions. Use a complete licensed asset tree and set
PROTOMOTIONS_ASSET_ROOTwhen those assets are missing. resolved_configs.ptandresolved_configs_inference.ptare the source of truth for trained runs; YAML sidecars are human-readable only.- Cross-simulator transfer is not automatic. It is expected mainly for policies explicitly trained with transfer-oriented domain randomization, especially the documented G1 deployment tracker.
Minimal install and inspection checks
After selecting a backend environment, run:
protomotions info --json
protomotions train-agent --help
protomotions inference-agent --help
For a Python smoke without starting a simulator:
from protomotions.robot_configs.factory import robot_config
from protomotions.simulator.factory import get_simulator_config_class
from protomotions.components.motion_lib import MotionLibConfig
print(robot_config("g1").number_of_actions)
print(get_simulator_config_class("mujoco").__name__)
print(MotionLibConfig().motion_file)
The bundled script scripts/inspect_protomotions_install.py performs the same checks and emits JSON.
Repo-level references
references/quick-reference.md: compact command, object, and file-artifact cheat sheet.references/install-and-backends.md: backend environment choices and simulator compatibility summary.references/cli-and-config.md: train/inference CLI conventions and resolved-config lifecycle.references/troubleshooting.md: cross-cutting failures for imports, assets, data, checkpoints, simulator backends, and deployment.references/repo-provenance.md: source commit, version, evidence paths, and verification baseline for this generated skill.references/repo-routing-metadata.json: structured scenario metadata used by repo-skill import tooling.
Safety and scope boundaries
- Treat full training, simulator rollout, PyRoki retargeting, ONNX deployment, IsaacLab conversion, and real-robot control as hardware/data-dependent operations. Prefer parser/import/config checks before long runs.
- Do not run real-robot commands without explicit human authorization and an emergency-stop plan.
- Do not mutate a user's existing backend environment without permission; create a separate backend-specific environment when dependencies conflict.
- When using a package-only install, do not assume source-checkout examples or large Git LFS assets are present.
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.