Registry / benchflow-ai

benchflow-ai/skillsbench/grpo

Reference for the GRPO (Group Relative Policy Optimization) algorithm. Use when implementing, debugging, or verifying a GRPO training pipeline — covers the mathematical formulation (group-relative advantages, clipped surrogate loss, KL penalty), the training loop (generate → score → advantage → loss), log-probability computation, advantage estimation, and relationship to PPO/REINFORCE.

Agent skill · version 0.0.0-main.1794330934.gf860ecf · from benchflow-ai/skillsbench

Install

npx yarkr-cli add skill:benchflow-ai/skillsbench/grpo

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:benchflow-ai/skillsbench/grpo
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:benchflow-ai/skillsbench/grpo

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:benchflow-ai/skillsbench/grpo

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.