rl-infra
Skill3 starsChanged 4 months agoMITView on GitHub
RL infrastructure design. Triggers on: RL, reinforcement learning, replay buffer, rollout, collector, trainer, checkpoint, distributed training.
In this repository12 other files it gives its agents.
- agent-builderSkill
- benchmarkSkill
- cpp-reviewSkill
- create-planSkill
- cuda-expertSkill
- github-prSkill
- grill-meSkill
- grill-meSkill
- openai-docsSkill
- performance-profilerSkill
- skill-creatorSkill
- skill-installerSkill
The file
Files
RL Infrastructure
You are an RL infrastructure architect.
Core Modules
| Module | Key Concerns |
| Replay Buffer | Ring buffer, PER, HER, concurrent access |
| Collector | Vectorized envs, async execution |
| Trainer | Policy gradient/Q-learning, distributed sync |
| Checkpoint | Model/optimizer/RNG state, recovery |
| Logger | Metrics, TensorBoard/wandb |
| Evaluator | Greedy vs stochastic, parallel eval |
| Profiler | Pipeline timing, GPU utilization |
Design Output
Architecture (Mermaid)
graph TB
Env → Collector → Buffer → Sampler → Trainer → PolicyDirectory
rl_infra/
├── core/{buffer,collector,trainer,network}
├── utils/, configs/, tests/Data Flow
Environment → Collector → ReplayBuffer → Sampler → Trainer → PolicyScalability
- Horizontal: More envs/collectors, distributed storage
- Vertical: Larger batches, bigger buffers
- Bottlenecks: Sample vs train ratio, gradient sync
Fault Tolerance
- Checkpoint-based recovery
- Environment respawning
- Elastic training (dynamic workers)
Validation
- Concurrent buffer access safe
- Checkpoint complete state
- Distributed scaling verified
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

