Skip to content
Back to skills

Value Based Discrete Control

ASecurity

"Use DRL-Pytorch tabular Q-learning and non-Atari discrete-action

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

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill value-based-discrete-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Value Based Discrete Control?

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

Security grade badge for Value Based Discrete Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-value-based-discrete-control-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-value-based-discrete-control-arex-skill)

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: value-based-discrete-control
description: "Use DRL-Pytorch tabular Q-learning and non-Atari discrete-action
  value-based algorithms: Q-learning, DQN/DDQN/Dueling DQN, prioritized replay
  DQN/DDQN, C51, and NoisyNet DQN."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NO_LICENSE
---

# Value-Based Discrete Control

Use this sub-skill when a task asks for DRL-Pytorch's non-Atari, discrete-action value-based workflows:

- tabular Q-learning on CliffWalking;
- DQN, Double DQN, Dueling DQN, and Dueling Double DQN on CartPole or LunarLander;
- prioritized replay DQN/DDQN, preferring the modern LightPrior implementation unless the user specifically asks for sum-tree PER;
- categorical/distributional DQN (C51);
- NoisyNet DQN exploration.

Route elsewhere for Atari NoFrameskip DQN, EnvPool/Actor-Sharer-Learner, PPO, DDPG, TD3, SAC, continuous-action control, MuJoCo, or BipedalWalker workflows.

## Operating references

1. Start with [algorithm workflows](references/algorithm-workflows.md) for algorithm choice, EnvIdex mapping, safe commands, checkpoint naming, play mode, TensorBoard, and optional Box2D caveats.
2. Use [API and CLI reference](references/api-and-cli-reference.md) for distilled classes, functions, flags, local import names, and per-directory caveats.
3. Use [troubleshooting](references/troubleshooting.md) when CUDA defaults, Box2D, working directories, checkpoint names, TensorBoard, Gym/Gymnasium version drift, shapes, or stochastic training cause failures.
4. Run [scripts/smoke_value_based.py](scripts/smoke_value_based.py) for a no-training diagnostic against a user-supplied DRL-Pytorch checkout.

## Fast decision table

| User request | Use this workflow | Key choice |
|---|---|---|
| "Q-learning" or "CliffWalking" | Tabular Q-learning | No CLI flags; use the QLearningAgent API or bundled smoke. |
| "DQN/DDQN/Dueling" on CartPole or LunarLander | DQN family | `--Duel` and `--Double` select vanilla/Dueling/Double variants. |
| "prioritized replay" or "PER" | Prioritized DQN/DDQN | Prefer LightPrior Gymnasium 0.2x; use sum-tree only when requested. |
| "C51" or "distributional DQN" | Categorical DQN | `--DQL` toggles Double Q-learning inside C51. |
| "NoisyNet exploration" | NoisyNet DQN | No epsilon flag; exploration comes from NoisyLinear layers. |
| "Atari Pong/Enduro/NoFrameskip" | Not this sub-skill | Route to the Atari/ASL workflow. |

Files in this skill

  • SKILL.md2.4 KB
  • references/algorithm-workflows.md7.8 KB
  • references/api-and-cli-reference.md10 KB
  • references/troubleshooting.md6.3 KB
  • scripts/smoke_value_based.py11.4 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.