
Pufferlib
If you're doing reinforcement learning and care about speed, this is worth checking out. PufferLib gets you millions of steps per second through optimized vectorization and an efficient PPO implementation. It handles both single and multi-agent setups, integrates with Gymnasium and PettingZoo environments, and includes 20+ environments in the Ocean suite. The PufferEnv API lets you build custom environments that actually scale. The documentation is thorough with separate guides for training, environments, vectorization, policies, and integration. It's built for people who've hit performance walls with standard RL libraries and need something faster without rewriting everything in C.
- skills.sh installs
- 232
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill pufferlib --agent claude-codeInstalls into .claude/skills of the current project.
Files
PufferLib - High-Performance Reinforcement Learning
Overview
PufferLib is a high-performance reinforcement learning library designed for fast parallel environment simulation and training. It achieves training at millions of steps per second through optimized vectorization, native multi-agent support, and efficient PPO implementation (PuffeRL). The library provides the Ocean suite of 20+ environments and seamless integration with Gymnasium, PettingZoo, and specialized RL frameworks.
When to Use This Skill
Use this skill when:
- Training RL agents with PPO on any environment (single or multi-agent)
- Creating custom environments using the PufferEnv API
- Optimizing performance for parallel environment simulation (vectorization)
- Integrating existing environments from Gymnasium, PettingZoo, Atari, Procgen, etc.
- Developing policies with CNN, LSTM, or custom architectures
- Scaling RL to millions of steps per second for faster experimentation
- Multi-agent RL with native multi-agent environment support
Core Capabilities
1. High-Performance Training (PuffeRL)
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- AI & Agent Building, Debugging, Automation & Workflows
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Web Quality Audit232
- Cc Skill Strategic Compact231
- Cc Skill Project Guidelines Example230
- Internal Comms230
- Professional Communication227
- Datacommons Client225
- Brenda Database222
- Heygen Best Practices222
- Hmdb Database222
- Umap Learn222
- Arboreto221
- Clerk Auth220
- Cellxgene Census219
- Kaizen219
- Lamindb219
- Nosql Expert219
- Opentargets Database219
- Pyopenms219
- Capa Officer218
- Deeptools218
- Ena Database218
- Naming Analyzer218
- Popup Cro218
- Cosmic Database217