executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
setup-and-diagnosticsSet up and diagnose the rl-mpc-locomotion Python, CUDA, Isaac Gym, submodule, MPC extension, solver, configuration, asset, and checkpoint dependencies without claiming unavailable backend support.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to prepare the project, explain a failed installation, or decide whether a controller, training, or simulation command is runnable. It is deliberately diagnostic and read-only by default. It does not replace the detailed operating routes owned by the sibling skills.
The supported baseline is the Python 3.8-era environment described in
installation and classified in the
dependency matrix. The repository handoff
verified PyTorch 1.10 with CUDA 11.3, an A100 CUDA allocation, package
imports, rsl_rl, mpc_osqp, and pip check. Isaac Gym Preview 4 was
unavailable, so RL and simulation remain an explicit required-backend block
until the external SDK is supplied and imported.
Run these commands from this installed sub-skill directory. They use only the bundled scripts and the active Python environment; they do not require a construction checkout:
python scripts/check_environment.py --pip-check
python scripts/check_mpc_extension.py --strict
When a current project copy is available, validate its configuration/assets and native layout explicitly:
python scripts/validate_config.py --repo-root /path/to/current/project-copy
python scripts/check_mpc_extension.py --repo-root /path/to/current/project-copy --check-submodules --strict
The first two commands perform package diagnostics without requiring a source
checkout. The configuration validator requires either --repo-root or an
absolute --config path because it must not guess a checkout. The first
environment probe is advisory about Isaac Gym. Add --require-isaacgym --strict only when the requested operation is RL or simulation. These probes
do not launch Hydra, a viewer, a gamepad reader, or a long training run.
Use a current public package or repository copy supplied by the user. Keep paths to that copy explicit and do not depend on files in this skill bundle:
inputs, and the older pip/setuptools
constraints).rsl_rl, print Torch and CUDA versions. Install the
user-supplied RSL-RL repository editable without dependency resolution:
python -m pip install --no-deps -e /path/to/rsl_rl-repository. Its broad
torch>=1.4.0 requirement otherwise permits a resolver to replace the
pinned Torch stack.python -m pip install -e /path/to/current/project-copy. Then run
the bundled extension probe and python -m pip check.Do not use an unbounded editable install for RSL-RL, vendor a replacement
solver, run system package-manager commands, or use sudo as a recovery step.
The complete order, optional solver policy, and recovery choices are in the
linked references.
Before running a long command, record the requested mode (MPC, Policy,
training, or simulation), robot/task, device, checkpoint, and whether a
physical gamepad is available. A gamepad is optional for the controller CLI
when --disable-gamepad is used, but the small inputs package remains part
of the import environment because the launcher imports its reader module.
For MPC/Min, a passing CPU package and extension check is sufficient to
continue to the controller route. For Policy, validate the checkpoint and
Torch device, then route to both mpc-control and rl-training; no policy
claim is valid without its checkpoint. For training or simulation, require
isaacgym, CUDA device visibility, matching assets, and the requested config.
Use headless=True to remove viewer requirements, not the Isaac Gym
requirement.
Prefer a fresh isolated environment when a resolver changed Torch or an old
native build is mixed with a new checkout. Preserve the pinned order, rerun
pip check, and rebuild only through the explicit editable-install command
for the user-supplied project copy. Treat missing Isaac Gym as a stop for
RL/simulation, not as an invitation to patch imports or substitute a different
simulator. Read troubleshooting before
changing versions.
scripts/check_environment.py: package imports, distribution versions,
Torch/CUDA device probe, optional package inventory, and optional pip check.scripts/check_mpc_extension.py: installed native package symbols, optional
current-project layout, optional recorded submodule commit checks, and opt-in
editable build.scripts/validate_config.py: supplied YAML shape, supplied task configs and
assets when a current project copy is available, configured CUDA intent, and
explicit checkpoint paths.All scripts support --help, use stable exit behavior (0 for advisory
reports, 2 for strict gates), and avoid deleting files or starting the
simulator. Their detailed output interpretation is in the references.