Skip to content
Back to skills

Deep Reinforcement Learning With Pytorch

ASecurity

"Route and use the repository's PyTorch reinforcement-learning

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
businesspythongoapibackend

Works with

  • terminal
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deep-reinforcement-learning-with-pytorch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deep Reinforcement Learning With Pytorch?

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

Security grade badge for Deep Reinforcement Learning With Pytorch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deep-reinforcement-learning-with-pytorch/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deep-reinforcement-learning-with-pytorch)

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: deep-reinforcement-learning-with-pytorch
description: "Route and use the repository's PyTorch reinforcement-learning
  examples across tabular control, DQN, on-policy actor-critic, and off-policy
  continuous control."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# Deep Reinforcement Learning with PyTorch

This repo is a collection of single-file reinforcement-learning examples, not an installable Python package. Use this root skill as the router for the algorithm family that matches the user's request.

## Read first
- `references/dependency-and-compatibility.md` for Gym, Torch, env-ID, and optional-extra notes.
- `references/troubleshooting.md` for repo-wide failure patterns.
- `references/plotting.md` for the `.npy` curve format used by the plotting helper.
- `scripts/rl_env_compat_report.py` for a quick non-training env / backend probe.
- `scripts/plot_training_curves.py` for the bundled result-plotting helper.

## Route map

| User intent | Go here | Why |
| --- | --- | --- |
| Q-learning, Sarsa, toy GridWorld, terminal-state bookkeeping | `sub-skills/tabular-control/SKILL.md` | Small tabular examples with deterministic update rules. |
| DQN, replay buffers, target networks, MountainCar reward shaping, TensorBoard logs | `sub-skills/value-based-discrete-control/SKILL.md` | Char01 DQN family on discrete Gym control. |
| REINFORCE, policy gradients, actor-critic, A2C, PPO, saved on-policy pickles | `sub-skills/on-policy-actor-critic/SKILL.md` | Char02 / Char03 / Char04 / Char07 on-policy workflows. |
| DDPG, SAC, TD3, continuous actions, checkpoint playback, BipedalWalker compatibility | `sub-skills/off-policy-continuous-control/SKILL.md` | Char05 / Char09 / Char10 continuous-control workflows. |
| Plot `.npy` learning curves or compare runs | `scripts/plot_training_curves.py` | Shared support workflow, not a training family. |
| Check Gym, CUDA, Box2D, and legacy env IDs before choosing a route | `scripts/rl_env_compat_report.py` | Fast inspection helper for classic-control and continuous-control support. |

## How to use this skill

1. Identify the algorithm family first.
2. Read the matching sub-skill before touching the original training scripts.
3. Use the root compatibility helper when the question is about env IDs, optional extras, or device availability.
4. Use the root plotting helper when the question is about `.npy` curves rather than algorithm behavior.
5. Do not launch the repository's full default training loops unless the user explicitly asks for training and provides a budget.

## Compatibility snapshot

- The repository uses legacy Gym-style APIs and legacy env names in its source scripts.
- Modern substitutes verified in the inspection environment are Pendulum-v1 and BipedalWalker-v3.
- CUDA is optional, not required. If Torch sees a GPU, the continuous-control scripts may use it automatically.
- TensorFlow appears in the historical requirements file but no discovered source file imports it.
- Char08 ACER is docs-only in this checkout; there is no runnable ACER sub-skill.

## When in doubt

- If the task mentions CartPole, MountainCar, or reward shaping, start with DQN or on-policy classic-control troubleshooting rather than the continuous-control route.
- If the task mentions Pendulum or BipedalWalker, use the continuous-control route and check the compatibility helper for the modern env ID.
- If the task is only about plotting run curves or sanity-checking the environment, stay at the root support layer.
- Keep runtime links inside this generated skill tree; do not depend on the original checkout remaining present.

Files in this skill

  • SKILL.md3.6 KB
  • references/dependency-and-compatibility.md2.4 KB
  • references/plotting.md1.4 KB
  • references/repo-provenance.md1.2 KB
  • references/repo-routing-metadata.json503 B
  • references/troubleshooting.md2.9 KB
  • scripts/plot_training_curves.py3.6 KB
  • scripts/rl_env_compat_report.py8.1 KB
  • sub-skills/off-policy-continuous-control/SKILL.md4 KB
  • sub-skills/off-policy-continuous-control/references/checkpoint-playback.md4 KB
  • sub-skills/off-policy-continuous-control/references/troubleshooting.md4.9 KB
  • sub-skills/off-policy-continuous-control/references/workflow-guide.md6.3 KB
  • sub-skills/off-policy-continuous-control/scripts/continuous_control_compat_report.py10.3 KB
  • sub-skills/on-policy-actor-critic/SKILL.md2.5 KB
  • sub-skills/on-policy-actor-critic/references/troubleshooting.md5.5 KB
  • sub-skills/on-policy-actor-critic/references/workflows.md7.2 KB
  • sub-skills/on-policy-actor-critic/scripts/multiprocessing_env.py5.4 KB
  • sub-skills/on-policy-actor-critic/scripts/playback_saved_policy.py7.1 KB
  • sub-skills/tabular-control/SKILL.md2.1 KB
  • sub-skills/tabular-control/references/algorithm-notes.md3.2 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.