Individual skill
stable-baselines3
Production-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototyping, and well-documented algorithm implementations. Best for single-agent RL with Gymnasium environments. For high-performance parallel training, multi-agent systems, or custom vectorized environments, use pufferlib instead.
skills/stable-baselines3/SKILL.md
Source commit 894598cd3a90891a077c254566276bd379038bad
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 251
- Repository last updated
- Oct 30, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- education Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesSKILL.mdcore · 10,326 bytesreferences/algorithms.mddoc · 10,038 bytesreferences/callbacks.mddoc · 15,631 bytesreferences/custom_environments.mddoc · 13,729 bytesreferences/vectorized_envs.mddoc · 14,789 bytesscripts/__pycache__/custom_env_template.cpython-313.pycasset · 9,930 bytesscripts/__pycache__/evaluate_agent.cpython-313.pycasset · 6,661 bytesscripts/__pycache__/train_rl_agent.cpython-313.pycasset · 4,086 bytesscripts/custom_env_template.pyruns · 9,350 bytesscripts/evaluate_agent.pyruns · 7,335 bytesscripts/train_rl_agent.pyruns · 5,123 bytes
Read excerpt
# 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.
## Core Capabilities
### 1. Training RL Agents
**Basic Training Pattern:**
```python
import gymnasium as gym