Skip to content

High-performance RL training library with PPO, PufferEnv custom environments, vectorized simulation, and multi-agent support.

CCM score
63 of 100
skills.sh installs
232
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PuffeRL PPO+LSTM training, custom PufferEnv environment development, vectorized parallel simulation, and policy design with CNNs and LSTMs
  • Includes reference guides for training, environments, vectorization, policies, and framework integration, plus scripts/env_template.py and scripts/train_template.py
  • Wraps Gymnasium, PettingZoo, Atari, Procgen, NetHack, Minigrid, and other frameworks through a unified pufferlib.make interface
  • Designed for RL practitioners who need to train agents at high step throughput or scale experiments across GPUs and nodes

Install

$ npx -y skills add davila7/claude-code-templates --skill pufferlib -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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)

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What does the pufferlib skill help with?

The pufferlib skill helps with reinforcement learning work, including PPO training, creating PufferEnv environments, vectorized parallel simulation, and multi-agent systems. It also covers integrating existing environments such as Gymnasium, PettingZoo, Atari and Procgen, and developing policies with CNNs or LSTMs.

How do I install the pufferlib skill?

Run npx -y skills add davila7/claude-code-templates --skill pufferlib -y in your project. After that, the pufferlib skill is available to your agent for reinforcement learning tasks.

Where does pufferlib stand in Data Science & Analytics on Claude Marketplaces?

Pufferlib is listed in Data Science & Analytics alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. Its focus on high-performance reinforcement learning training and environment simulation sets it apart from those skills.

Who is the pufferlib skill for?

The pufferlib skill is for developers who train reinforcement learning agents, build custom environments, or need faster parallel simulation. It suits anyone scaling PPO training or working with multi-agent setups.

More from davila7/claude-code-templates

All 398

Similar to Pufferlib

More Data Science & Analytics