本文へ移動
cccskills
無料GitHub で公開

cleanrl

Use CleanRL's single-file reinforcement learning scripts, evaluation utilities, experiment operations, and repository maintenance workflows safely.

インストール方法を見る

含まれるファイル(29)

  • SKILL.md4.8 KB
  • references/install-and-extras.md3.4 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json333 B
  • references/troubleshooting.md3.2 KB
  • scripts/check_cleanrl_environment.py3.3 KB
  • sub-skills/evaluation-and-sharing/references/evaluation-api.md5.5 KB
  • sub-skills/evaluation-and-sharing/references/model-zoo-and-artifacts.md5.1 KB
  • sub-skills/evaluation-and-sharing/references/troubleshooting.md4.8 KB
  • sub-skills/evaluation-and-sharing/scripts/check_cleanrl_artifact.py11.2 KB
  • sub-skills/evaluation-and-sharing/SKILL.md3.0 KB
  • sub-skills/experiment-operations/references/benchmark-launchers.md4.4 KB
  • sub-skills/experiment-operations/references/cloud-and-containers.md4.5 KB
  • sub-skills/experiment-operations/references/troubleshooting.md5.0 KB
  • sub-skills/experiment-operations/references/tuning-and-tracking.md5.7 KB
  • sub-skills/experiment-operations/scripts/check_wandb_env.py5.7 KB
  • sub-skills/experiment-operations/scripts/generate_benchmark_commands.py8.4 KB
  • sub-skills/experiment-operations/SKILL.md3.3 KB
  • sub-skills/repo-maintenance/references/contributor-workflows.md6.8 KB
  • sub-skills/repo-maintenance/references/testing-and-docs.md7.1 KB
  • sub-skills/repo-maintenance/references/troubleshooting.md6.4 KB
  • sub-skills/repo-maintenance/scripts/select_native_checks.py19.9 KB
  • sub-skills/repo-maintenance/SKILL.md3.5 KB
  • sub-skills/training-scripts/references/algorithm-catalog.md8.9 KB
  • sub-skills/training-scripts/references/cli-and-runs.md7.2 KB
  • sub-skills/training-scripts/references/troubleshooting.md7.5 KB
  • sub-skills/training-scripts/scripts/build_tiny_run_command.py11.7 KB
  • sub-skills/training-scripts/scripts/inspect_cleanrl_script.py7.2 KB
  • sub-skills/training-scripts/SKILL.md3.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

CleanRL Repo Skill

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

  1. Read references/install-and-extras.md before installing dependencies, choosing optional extras, or diagnosing import failures.
  2. Run python scripts/check_cleanrl_environment.py --check-help in a prepared CleanRL checkout or installed package environment when you need a safe import/help diagnostic.
  3. Check references/repo-provenance.md before deciding whether this skill is current for a checkout.
  4. 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.md to 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.md to inspect saved runs/ artifacts, choose evaluation helpers, reason about model-zoo repositories, or guard Hugging Face upload/download actions.
  • Experiment operations: use sub-skills/experiment-operations/SKILL.md for 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.md when 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-scripts to select and run with --save-model; then use evaluation-and-sharing to validate artifacts and handle Hugging Face steps.
  • For “benchmark a changed algorithm,” start in repo-maintenance to classify the code change and tests; then use experiment-operations to generate dry-run command matrices or RLOps plans.
  • For “cloud training failed,” use experiment-operations for credentials/resources and training-scripts for algorithm flags or backend extras.
  • For “new CLI flag,” use repo-maintenance for docs/tests and training-scripts for 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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する