Skills for Real Engineers. Straight from my .agents directory.
grpo-rl-training
Agent skill fromOrchestra-Research/AI-Research-SKILLs
Expert guidance for GRPO/RL fine-tuning with TRL for reasoning and task-specific model training
How to install grpo-rl-training
npx skills add Orchestra-Research/AI-Research-SKILLs# or add only this skill to Claude Code: copy the folder
06-post-training/grpo-rl-training/
# into
~/.claude/skills/grpo-rl-training/ (all projects)
.claude/skills/grpo-rl-training/ (one project)
1# GRPO/RL Training with TRL23Expert-level guidance for implementing Group Relative Policy Optimization (GRPO) using the Transformer Reinforcement Learning (TRL) library. This skill provides battle-tested patterns, critical insights, and production-ready workflows for fine-tuning language models with custom reward functions.45## When to Use This Skill67Use GRPO training when you need to:8- **Enforce specific output formats** (e.g., XML tags, JSON, structured reasoning)9- **Teach verifiable tasks** with objective correctness metrics (math, coding, fact-checking)10- **Improve reasoning capabilities** by rewarding chain-of-thought patterns11- **Align models to domain-specific behaviors** without labeled preference data12- **Optimize for multiple objectives** simultaneously (format + correctness + style)1314**Do NOT use GRPO for:**15- Simple supervised fine-tuning tasks (use SFT instead)16- Tasks without clear reward signals17- When you already have high-quality preference pairs (use DPO/PPO instead)1819---2021## Core Concepts2223### 1. GRPO Algorithm Fundamentals2425**Key Mechanism:**26- Generates **multiple completions** for each prompt (group size: 4-16)27- Compares completions within each group using reward functions28- Updates policy to favor higher-rewarded responses relative to the group2930**Critical Difference from PPO:**31- No separate reward model needed32- More sample-efficient (learns from within-group comparisons)33- Simpler to implement and debug3435**Mathematical Intuition:**36```37…
Excerpt shown under the repository's MIT license.
More skills in AI-Research-SKILLs
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
