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.
backend/cli/skills/ml-training/stable-baselines3/SKILL.md
Source commit a08e0ad0ad3d6448123039ee4659163eb2e35d99
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 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)
- 4,353
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
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 · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesSKILL.mdcore · 9,790 bytesreferences/algorithms.mddoc · 10,038 bytesreferences/callbacks.mddoc · 15,631 bytesreferences/custom_environments.mddoc · 13,729 bytesreferences/vectorized_envs.mddoc · 14,789 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