Stable Baselines3
Single-agent RL toolkit with PPO, SAC, DQN, TD3, DDPG, and A2C for Gymnasium environments.
- CCM score
- 69 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers training, custom Gymnasium environments, vectorized rollouts, callbacks, and checkpoint save and load workflows
- Includes
scripts/train_rl_agent.pyandscripts/custom_env_template.pyplus reference guides on algorithms, environments, and vectorization - Pins SB3 2.9.0 with Python 3.10+ and PyTorch 2.8+, and notes that old
(2,)observation checkpoints need retraining - Designed for reproducible single-agent RL experiments and continuous or discrete control tasks
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill stable-baselines3 -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Stable Baselines3
Overview
Stable Baselines3 (SB3) is a PyTorch-based library providing reliable implementations of reinforcement learning algorithms. This skill provides comprehensive guidance for training RL agents, creating custom environments, implementing callbacks, and optimizing training workflows using SB3's unified API.
Current upstream: SB3 2.9.0 (June 15, 2026). Docs: stable-baselines3.readthedocs.io.
Installation
Tested against stable-baselines3 2.9.0. Requires Python 3.10+ (3.9 dropped in 2.8.0) and PyTorch >= 2.8.
# Basic installation
uv pip install "stable-baselines3==2.9.0"
# With extra dependencies (TensorBoard, ale-py for Atari, etc.)
uv pip install "stable-baselines3[extra]==2.9.0"
The 2.9.0 release supports Gymnasium >=0.29.1,<2.0; this review exercised Gymnasium 1.3.0, PyTorch 2.14.1 and Python 3.13 on CPU. pandas/matplotlib are now optional extras. Installation requires network unless packages are cached; local RL training needs no credentials or service endpoints.
On zsh, quote brackets: uv pip install 'stable-baselines3[extra]==2.9.0'.
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the stable-baselines3 skill help an agent do?
The stable-baselines3 skill guides an agent through training and evaluating single-agent reinforcement learning with PPO, SAC, DQN, TD3, DDPG and A2C. It also covers custom Gymnasium environments, vectorized rollouts, callbacks and checkpoint normalization.
How do I install the stable-baselines3 skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill stable-baselines3 -y in a project. Once installed, the stable-baselines3 skill lets the agent follow its training patterns for reproducible RL experiments.
What does the stable-baselines3 skill need to run?
The stable-baselines3 skill targets Python 3.10 or newer, PyTorch 2.8 or newer and stable-baselines3 2.9.0. Gymnasium environments are used, with optional extras for TensorBoard and Atari through ale-py.
Which skill should I use instead for parallel or multi-agent training?
For high-performance parallel training, multi-agent systems or custom vectorized environments, the stable-baselines3 skill's own listing points to pufferlib instead. Stable-baselines3 stays focused on standard single-agent RL with Gymnasium environments.
Where does the stable-baselines3 skill sit in its category?
The stable-baselines3 skill sits in the Data Science & Analytics category. Its own scope is single-agent reinforcement learning on Gymnasium environments, with the PPO, SAC and DQN family of algorithms.
More from k-dense-ai/scientific-agent-skills
All 132- Geomaster2.2K
- Consciousness Council2.2K
- Simpy2.2K
- Pymoo2.2K
- Scikit Bio2.2K
- What If Oracle2.2K
- Hypogenic2.2K
- Bioservices2.2K
- Anndata2.2K
- Clinical Reports2.2K
- Rdkit2.2K
- Clinical Decision Support2.2K
- Gget2.2K
- Modal2.2K
- Astropy2.2K
- Scanpy2.2K
- Cellxgene Census2.2K
- Pydicom2.2K
- Datamol2.2K
- Deeptools2.2K
- Pufferlib2.2K
- Deepchem2.2K
- Vaex2.2K
- Benchling Integration2.2K
Similar to Stable Baselines3
More Data Science & AnalyticspufferlibSkilldavila7/claude-code-templates232 installsHigh-performance RL training library with PPO, PufferEnv custom environments, vectorized simulation, and multi-agent support.
torchforge-rl-trainingSkillorchestra-research/ai-research-skills1.1K installsClean RL abstractions separating infrastructure from algorithms, built on PyTorch, TorchTitan, Monarch, and vLLM.
verl-rl-trainingSkillorchestra-research/ai-research-skills1.1K installsComprehensive RL training workflows for LLM post-training with verl across GRPO, PPO, and multi-backend setups.
spinning-up-deep-rlPluginalirezarezvani/claude-skills30.7K starsKnowledge base compiled from OpenAI's Spinning Up in Deep RL (MIT, Joshua Achiam) by engineering/book-to-skill. A resident core carries the RL optimization prob
openclaw-rl-trainingSkillreason-machines/trending-skills1.3K installsFramework that trains personalized agents with asynchronous RL from live conversation feedback, using GRPO, OPD, or both.
autonomous-agent-gamingSkillqodex-ai/ai-agent-skills276 installsModular game-playing agent toolkit covering rule-based, search, and reinforcement learning architectures with phase-based strategy composition.