Skip to content
Agentmart
Submit a tool

drl-pytorch

Route DRL-Pytorch reinforcement-learning workflows for standalone PyTorch Q-learning, DQN-family, PPO, DDPG, TD3, SAC, Atari DQN, and Actor-Sharer-Learner…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying drl-pytorch?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-drl-pytorch

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route DRL-Pytorch reinforcement-learning workflows for standalone PyTorch Q-learning, DQN-family, PPO, DDPG, TD3, SAC, Atari DQN, and Actor-Sharer-Learner scripts.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/drl-pytorch

What's inside

Skill name
drl-pytorch
Description
Route DRL-Pytorch reinforcement-learning workflows for standalone PyTorch Q-learning, DQN-family, PPO, DDPG, TD3, SAC, Atari DQN, and Actor-Sharer-Learner scripts.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
66 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (23)

  • SKILL.md
  • algorithm-index.md · references/
  • quickstart-and-environment.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • drl_pytorch_algorithm_matrix.py · scripts/
  • drl_pytorch_safe_smoke.py · scripts/
  • SKILL.md · sub-skills/atari-and-asl-workflows/
  • asl-framework.md · sub-skills/atari-and-asl-workflows/references/
  • atari-runtime-and-wrappers.md · sub-skills/atari-and-asl-workflows/references/
  • troubleshooting.md · sub-skills/atari-and-asl-workflows/references/
  • smoke_atari_asl.py · sub-skills/atari-and-asl-workflows/scripts/
  • SKILL.md · sub-skills/policy-and-actor-critic-control/
  • algorithm-workflows.md · sub-skills/policy-and-actor-critic-control/references/
  • api-and-cli-reference.md · sub-skills/policy-and-actor-critic-control/references/
  • troubleshooting.md · sub-skills/policy-and-actor-critic-control/references/
  • smoke_policy_control.py · sub-skills/policy-and-actor-critic-control/scripts/
  • SKILL.md · sub-skills/value-based-discrete-control/
  • algorithm-workflows.md · sub-skills/value-based-discrete-control/references/
  • api-and-cli-reference.md · sub-skills/value-based-discrete-control/references/
  • troubleshooting.md · sub-skills/value-based-discrete-control/references/
  • smoke_value_based.py · sub-skills/value-based-discrete-control/scripts/

SKILL.md (first lines)

# DRL-Pytorch Repo Skill

Use this skill when a task involves the XinJingHao DRL-Pytorch repository or its standalone PyTorch reinforcement-learning scripts: Q-learning, DQN/DDQN/Dueling DQN, prioritized replay, C51, NoisyNet, PPO, DDPG, TD3, SAC, Atari NoFrameskip DQN, or Actor-Sharer-Learner.

Do not use this skill for Stable-Baselines3, CleanRL, Tianshou, PettingZoo, RLHF packages, or generic RL theory unless the task explicitly needs DRL-Pytorch command/API details.

## First checks

1. Read [repository provenance](references/repo-provenance.md) if you need to decide whether this skill matches a current checkout or should be refreshed.
2. Read [quickstart and environment](references/quickstart-and-environment.md) before installing extras, running smoke checks, or starting training.
3. Use [algorithm index](references/algorithm-index.md) to route by algorithm name, action space, `EnvIdex`, and checkpoint pattern.
4. Use [cross-cutting troubleshooting](references/troubleshooting.md) for CUDA defaults, optional Gymnasium extras, colliding module imports, checkpoints, TensorBoard, or stochastic training failures.

## Choose the sub-skill

| Request signal | Read |
|---|---|
| `Q-learning`, `CliffWalking`, `DQN`, `DDQN`, `Dueling`, `PER`, prioritized replay, `C51`, `NoisyNet`, CartPole, LunarLander discrete | [value-based-discrete-control](sub-skills/value-based-discrete-control/SKILL.md) |
| `PPO`, `DDPG`, `TD3`, `SAC`, actor-critic, policy gradient, Pendulum, LunarLanderContinuous, Humanoid, HalfCheetah, BipedalWalker, continuous control | [policy-and-actor-critic-control](sub-skills/policy-and-actor-critic-control/SKILL.md) |
| Atari, Pong, Enduro, `NoFrameskip`, `AtariNames`, ALE ROMs, OpenCV wrappers, EnvPool, Actor-Sharer-Learner, ASL multiprocessing | [atari-and-asl-workflows](sub-skills/atari-and-asl-workflows/SKILL.md) |

If a task spans multiple algorithms, start with the root algorithm index, then read each owning sub-skill. Keep value-based non-Atari DQN separate from Atari DQN: both use DQN terminology but have different environments, wrappers, dependencies, and checkpoints.

## Repository operating model

DRL-Pytorch is not an installable Python distribution. It is a script collection where each algorithm directory has its own `main.py`, local implementation module, and often a colliding `utils.py`. Commands that run original launchers must be executed from the selected algorithm directory in the user's DRL-Pytorch checkout. Bundled scripts in this skill accept `--repo-root` so diagnostics do not depend on the checkout used to create this skill.

Baseline CPU-safe dependencies for modern workflows are Python 3.11, Gymnasium 0.29.x, NumPy 1.26.x, PyTorch 2.1.x, TensorBoard for `--write True`, and Matplotlib for C51 render helpers. Optional extras include Box2D, MuJoCo, Atari ALE/ROMs/OpenCV, EnvPool, and CUDA acceleration.

## Safe diagnostics

Use the bundled algorithm matrix without a checkout:

```bash
python scripts/drl_pytorch_algorithm_matrix.py --format table
```

Use no-training diagnostics when a DRL-Pytorch checkout is available:

```bash
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite all
```

For narrower checks:

```bash
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite value
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite policy
python scripts/drl_pytorch_safe_smoke.py --repo-root <DRL-Pytorch-checkout> --suite atari
```

The smoke helpers import modules and run tiny CPU object/network checks. They do not train, render, download Atari ROMs, create optional Box2D/MuJoCo/Atari environments, write checkpoints, launch TensorBoard, or start EnvPool workers.

## Training guardrails

- Set `--dvc cpu` or `--device cpu` for CPU-only checks; several launchers default to CUDA.
- Prefer `--Max_train_steps 0 --write False --render False` before any real training when the launcher supports it.
- Install Box2D only for LunarLander/BipedalWalker, MuJoCo only for Humanoid/HalfCheetah, Atari extras/ROMs/OpenCV only for Atari NoFrameskip, and EnvPool only for ASL.
- Treat full training, rendering, checkpoint playback, Atari environment creation, and ASL multiprocessing as user-approved side-effectful work.
- Check checkpoint filename conventions before `--Loadmodel True`; binaries are not bundled in this skill.

## If editing or refreshing

When repository code changes, refresh from source evidence rather than patching this skill by memory. Pay special attention to launcher flags, `EnvIdex` maps, class names, checkpoint naming, optional dependency gates, and repeated local module names.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get drl-pytorch running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying drl-pytorch?

CallGet help
Cite this page

drl-pytorch skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-drl-pytorch (last updated 2026-10-24)