CleanRL Repo Skill
SkillFiles & storage"Use CleanRL's single-file reinforcement learning scripts,
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the CleanRL Repo Skill skill
What this skill tells your AI
The instructions your AI receives, as published by vectorspacelab/arex-skill in skills/repositories/repo-skills/cleanrl/SKILL.md and read by ahel’s review.
Use this skill when the user asks about CleanRL, its single-file RL algorithms, training commands, model evaluation/sharing, experiment operations, or maintaining the CleanRL repository. CleanRL is intentionally script-oriented rather than a modular import library, so route tasks by workflow before recommending commands.
Start Here
- Read references/install-and-extras.md before installing dependencies, choosing optional extras, or diagnosing import failures.
- Run
python scripts/check_cleanrl_environment.py --check-helpin a prepared CleanRL checkout or installed package environment when you need a safe import/help diagnostic. - Check references/repo-provenance.md before deciding whether this skill is current for a checkout.
- Use references/troubleshooting.md for cross-cutting Python, torch, Gym/Gymnasium, W&B, Hugging Face, AWS, and optional-backend failures.
Route by Task
- Training scripts: use
sub-skills/training-scripts/SKILL.mdto choose a CleanRL algorithm script, inspect tyro/argparse flags, build tiny smoke commands, or adapt single-file training runs. - Evaluation and sharing: use
sub-skills/evaluation-and-sharing/SKILL.mdto inspect savedruns/artifacts, choose evaluation helpers, reason about model-zoo repositories, or guard Hugging Face upload/download actions. - Experiment operations: use
sub-skills/experiment-operations/SKILL.mdfor benchmark command matrices, W&B tracking, Optuna tuning, resume/reproduce utilities, plotting, Docker, Slurm, Terraform, and AWS Batch planning. - Repo maintenance: use
sub-skills/repo-maintenance/SKILL.mdwhen editing CleanRL code, docs, tests, package metadata, contribution workflows, or RLOps regression plans.
CleanRL Operating Model
- CleanRL's public value is readable, duplicated, single-file algorithm implementations. Do not refactor user tasks into hidden shared abstractions unless the user is deliberately changing repository design.
- Most training entrypoints live under
cleanrl/and are run as scripts, not imported as a stable library API. - Common script flags include
--env-id,--total-timesteps,--seed,--cuda/--no-cuda,--track,--capture-video,--save-model, and--upload-model, but inspect the target script before assuming every flag exists. - Optional backends are workflow-specific: Atari, EnvPool, Procgen, MuJoCo, DM Control, PettingZoo, JAX, Optuna, cloud/AWS, docs, and memory-gym require separate extras or setup.
- Treat W&B tracking, Hugging Face upload/download, Docker build/push, Terraform, AWS Batch, Slurm submission, and long benchmark/training runs as side-effectful operations that need explicit user approval.
Minimal Checks
python - <<'PY'
import importlib.metadata as metadata
print(metadata.version('cleanrl'))
import cleanrl_utils
print('cleanrl_utils import ok')
PY
python scripts/check_cleanrl_environment.py --check-help
If a check fails, avoid broad dependency installation first. Read references/install-and-extras.md, then install only the extra required by the selected workflow.
Integrated Workflows
- For “train then upload/evaluate,” start in
training-scriptsto select and run with--save-model; then useevaluation-and-sharingto validate artifacts and handle Hugging Face steps. - For “benchmark a changed algorithm,” start in
repo-maintenanceto classify the code change and tests; then useexperiment-operationsto generate dry-run command matrices or RLOps plans. - For “cloud training failed,” use
experiment-operationsfor credentials/resources andtraining-scriptsfor algorithm flags or backend extras. - For “new CLI flag,” use
repo-maintenancefor docs/tests andtraining-scriptsfor script flag semantics and tiny smoke commands.
Guardrails
- Do not tell future agents to read or run original CleanRL docs, examples, tests, or benchmark scripts as runtime dependencies. This skill bundles distilled references and safe helper scripts.
- Do not expose tokens, local environment paths, machine-specific install prefixes, or private setup details in user-facing answers.
- Do not run native tests, cloud jobs, W&B jobs, Hugging Face network actions, or long training by default; use the sub-skill safety rules and ask for approval when necessary.
Signals
- GitHub stars
- 278
- Forks
- 21
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
cleanrl-vectorspacelab- Source
- github.com/vectorspacelab/arex-skill