Skip to content
Back to skills

Rex Gym

ASecurity

"Operate the legacy Rex-Gym quadruped reinforcement-learning

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolspythongobashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill rex-gym --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rex Gym?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rex Gym
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-rex-gym/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-rex-gym)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rex-gym
description: "Operate the legacy Rex-Gym quadruped reinforcement-learning
  package for PyBullet environments, kinematics and gait modeling, PPO training
  setup, and packaged policy playback."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Rex-Gym operating skill

Use this skill when a task involves the `rex_gym` package, Rex/SpotMicro
quadruped simulation, PyBullet Gym environments, inverse kinematics, Bezier
walking/galloping, motor models, legacy PPO training, or shipped policy
checkpoints.

## Route the request

- Use [simulation-environments](sub-skills/simulation-environments/SKILL.md) for
  environment construction, task/signal/terrain/mark selection, reset/step,
  observations, rewards, termination, and headless or GUI simulation.
- Use [locomotion-modeling](sub-skills/locomotion-modeling/SKILL.md) for
  `Kinematics`, `GaitPlanner`, pose/frame ordering, motor constants, and torque
  conversion.
- Use [training-policy](sub-skills/training-policy/SKILL.md) for `rex-gym
  train`, `rex-gym policy`, PPO configuration, agent counts, log directories,
  policy ids, checkpoints, and TensorFlow compatibility.

Read [troubleshooting](references/troubleshooting.md) first when installation,
legacy dependencies, package data, or a runtime error is involved. Read
[repository provenance](references/repo-provenance.md) before deciding whether
this graph matches a changed checkout. Run the shared [package inspector](scripts/inspect_rex_gym.py)
for a no-training import, CLI, mapping, and deterministic-kinematics check; use
[troubleshooting](references/troubleshooting.md) for cross-cutting failures.

## Install and establish the compatibility family

The public distribution is `rex_gym`, imported as `rex_gym`, and exposes the
`rex-gym` console command:

```bash
python -m pip install rex_gym
python -c "import rex_gym; print('rex_gym import ok')"
rex-gym --help
```

For the pinned repository behavior, prefer an isolated Python 3.7 environment
with NumPy 1.17.3, PyBullet 2.8.3, Gym 0.17.1, TensorFlow 1.15.5,
TensorFlow Probability 0.8, `ruamel.yaml`, and Click. Modern pip reports an
upstream metadata conflict between Gym 0.17.1's `cloudpickle` range and TFP
0.8's exact pin; do not casually upgrade this legacy family. TensorFlow 1.15
also needs a protobuf 3.20.x-or-earlier runtime on modern installations. See
the training route for the optional PPO surface and the troubleshooting
reference for recovery.

## Choose a safe execution mode

Prefer headless PyBullet (`render=False`) and a bounded step count on servers,
CI, and first checks. Use the simulation smoke helper for a deterministic
package/API check; it supplies `terrain_id` explicitly and always closes the
environment. Do not start full training or policy playback merely to test an
import. GUI playback and playground training require a display and can run
until the environment ends.

The legacy environment API is `reset()` followed by `step(action)` returning
`(observation, reward, done, info)`, not the newer terminated/truncated pair.
Use task-specific action spaces, and expect `info["action"]` to contain the
transformed motor command. Always close environments in `finally` blocks.

## Scope and non-goals

This graph covers the public simulation and learning tools in Rex-Gym. It does
not operate physical hardware, replace `rexctl`, validate sim-to-real transfer,
claim policy quality, or prescribe long PPO experiments without an explicit
bounded run plan. Large TensorFlow checkpoint binaries remain package data;
inspect their catalog and sidecars rather than copying them into this skill.

The source package is legacy and has no dedicated repository test suite or
examples tree. The bundled routes and scripts therefore combine documented
workflows, source-backed API facts, live import checks, and bounded synthetic
smokes. Use the verification artifacts only as construction evidence; they are
not runtime dependencies.

Files in this skill

  • SKILL.md3.9 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json502 B
  • references/troubleshooting.md5.2 KB
  • scripts/inspect_rex_gym.py6.3 KB
  • sub-skills/locomotion-modeling/SKILL.md5.9 KB
  • sub-skills/locomotion-modeling/references/api-reference.md6.6 KB
  • sub-skills/locomotion-modeling/references/motion-and-control.md7.5 KB
  • sub-skills/locomotion-modeling/references/troubleshooting.md6.6 KB
  • sub-skills/locomotion-modeling/scripts/inspect_gait.py3.6 KB
  • sub-skills/locomotion-modeling/scripts/inspect_kinematics.py3.2 KB
  • sub-skills/locomotion-modeling/scripts/inspect_motor.py4.3 KB
  • sub-skills/simulation-environments/SKILL.md7.3 KB
  • sub-skills/simulation-environments/references/api-reference.md5.7 KB
  • sub-skills/simulation-environments/references/task-matrix.md5.2 KB
  • sub-skills/simulation-environments/references/terrain-and-assets.md4.1 KB
  • sub-skills/simulation-environments/references/troubleshooting.md6 KB
  • sub-skills/simulation-environments/scripts/smoke_environment.py10.5 KB
  • sub-skills/training-policy/SKILL.md6.8 KB
  • sub-skills/training-policy/references/cli-reference.md3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.