stable-baselines3
Use this skill for reinforcement learning tasks including training RL agents (PPO, SAC, DQN, TD3, DDPG, A2C, etc.), creating custom Gym environments, implementing callbacks for monitoring and control, using vectorized environments for parallel training, and integrating with deep RL workflows. This skill should be used when users request RL algorithm implementation, agent training, environment design, or RL experimentation.
Target: Design & content creation. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Stable Baselines3
- Overview
- Core Capabilities
- 1. Training RL Agents
- 2. Custom Environments
- 3. Vectorized Environments
- 4. Callbacks for Monitoring and Control
- 5. Model Persistence and Inspection
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. Basic Training Pattern: Important Notes: totaltimesteps is a lower bound; actual training may exceed this due to batch collection Use model.load() as a static method, not on an existing instance The replay buffer is NOT saved with the model to save space Algorithm Selection: Use references/algorithms.md for detailed algorithm characteristics and selection guidance. Quick reference: PPO/A2C: General-purpose, supports all action space types, good for multiprocessing SAC/TD3: Continuous control, off-policy, sample-efficient DQN: Discrete actions, off-policy HER: Goal-conditioned tasks See scripts/trainrlagent.py for a complete training template with best practices. Requirements: Custom environments must inherit from gymnasium.Env and implement: init(): Define actionspace and observationspace reset(seed, options): Return initial observation and info dict step(action): Return observation,
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- davila7/claude-code-templates
- Source file
- cli-tool/components/skills/scientific/stable-baselines3/SKILL.md
- Fixed revision
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:40.396Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.