redai-infra

22 mods across 1 repository, 580 stars between them.

algorithm-expert

01

redai-infra/Relax

Agent

RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.

580 4d ago A 37 tokens original Apache-2.0

fsdp-expert

02

redai-infra/Relax

Agent

FSDP backend expert. Fire when working on FSDP-based training, parameter sharding, FSDP weight update, CPU offloading, or troubleshooting FSDP-related issues.

580 4d ago A 38 tokens original Apache-2.0

launcher-expert

03

redai-infra/Relax

Agent

Ray orchestration & service deployment expert. Fire when working on Ray Serve deployment, placement groups, service lifecycle, rollout engine management, health monitoring, or troubleshooting job launch and GPU allocation issues.

580 4d ago A 38 tokens original Apache-2.0

megatron-expert

04

redai-infra/Relax

Agent

An expert assistant for integrating and configuring Megatron, a system for training very large machine-learning models across multiple processors or machines.

580 4d ago A 29 tokens original Apache-2.0

ray-expert

05

redai-infra/Relax

Agent

Ray framework expert. Fire when working on Ray cluster management, ray.init/ray.remote/ray.get patterns, placement groups, scheduling strategies, Ray Serve deployments, ray job submit, runtime environments, or troubleshooting Ray-specific errors (serialization, object store, GCS, scheduling failures).

580 4d ago A 56 tokens original Apache-2.0

commit

06

redai-infra/Relax

Command

See .opencode/skills/git-commit/SKILL.md for commit format rules.

580 4d ago A 7 tokens original Apache-2.0

Relax AGENTS.md

07

redai-infra/Relax

Instructions file CodexOpenCode

Instructions for redai-infra/Relax, covering relax, project structure, code standards, naming conventions and hard rules.

580 4d ago A 1,627 tokens original Apache-2.0

Relax CLAUDE.md

08

redai-infra/Relax

Instructions file

Instructions for redai-infra/Relax, covering claude.md, project overview, common commands, architecture and code standards.

580 4d ago A 906 tokens original Apache-2.0

code-review

09

redai-infra/Relax

Skill Claude CodeCodex

Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, Python anti-patterns, and ML/distributed training issues. Tailored for the Relax reinforcement learning framework.

580 4d ago A 46 tokens original Apache-2.0

creating-skills

10

redai-infra/Relax

Skill Claude CodeCodex

Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context…

580 4d ago A 70 tokens original Apache-2.0

debug-hang

11

redai-infra/Relax

Skill Claude CodeCodex

A troubleshooting workflow for Ray, a system that runs machine-learning jobs across multiple computers or GPUs, when a distributed training job stops making progress.

580 4d ago A 67 tokens original Apache-2.0

relax-dev-debug

12

redai-infra/Relax

Skill Claude CodeCodex

Develop and debug the Relax reinforcement learning project. Use this skill whenever modifying code in the relax/ directory, or running remote training jobs on a Ray cluster for validation. Also use it when the user mentions training, debugging training runs, submitting Ray jobs, or fixing training errors.

580 4d ago E 60 tokens original Apache-2.0

doc-writer

13

redai-infra/Relax

Skill Claude CodeCodex

Write and maintain bilingual (English + Chinese) documentation for the Relax project. Use when user asks to create, update, or translate documentation pages. Ensures format correctness (VitePress, sidebar config, bilingual parity) and content correctness (matches actual codebase, no fabricated features).

580 4d ago A 61 tokens original Apache-2.0

git-commit

14

redai-infra/Relax

Skill Claude CodeCodex

Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with…

580 4d ago A 73 tokens original Apache-2.0

model-integration

15

redai-infra/Relax

Skill Claude CodeCodex

Guide for integrating a new model into the Relax training pipeline. Use when adding a new model architecture, writing Megatron-to-HF weight converters, implementing custom TP all-gather/chunk logic, debugging weight sync issues, or adapting models for colocate or fully-async mode. Covers Megatron backend (bridge and…

580 4d ago A 76 tokens original Apache-2.0

redai-infra/Relax

Skill Claude CodeCodex

Integrate a new NVIDIA NeMo Gym environment into Relax as a three-step recipe. Use when adding or debugging a recipe under examples/nemogymagentic/recipes; covers data preparation, a local private Gym service, direct Ray training launch, verifier validation, callback networking, lifecycle cleanup, and failure triage.

580 4d ago A 73 tokens original Apache-2.0

perf-doctor

17

redai-infra/Relax

Skill Claude CodeCodex

Diagnose Relax training launch scripts for misconfigured flags that hurt performance (time/MFU) or waste GPU memory (cards needed). Use when user asks to review/audit/check a training script, mentions "perf doctor", suspects a config is slow or OOM-prone, or wants a sanity check before launching. Produces a…

580 4d ago A 89 tokens original Apache-2.0

redaccel-to-relax

18

redai-infra/Relax

Skill Claude CodeCodex

Migrate RL training algorithms from RedAccel to Relax framework. Use when user wants to port reward functions, agent environments, training scripts, or any algorithm code from the RedAccel (redaccelrl) codebase to Relax. Handles reward, environment, rollout, and launch script conversion.

580 4d ago A 65 tokens original Apache-2.0

sglang-upgrade

19

redai-infra/Relax

Skill Claude CodeCodex

Upgrade the sglang version used by Relax's training Docker image. Use when bumping/upgrading sglang (changing the base image tag), rebasing docker/patch/latest/sglang.patch onto a new sglang release, or porting Relax's sglang customizations forward to a new version. Covers the version-determination mechanism, using…

580 4d ago A 115 tokens original Apache-2.0

ssh-ray-cluster

20

redai-infra/Relax

Skill Claude CodeCodex

3-step debug loop for remote Ray cluster — submit task via SSH, check logs locally, analyze errors and fix code, repeat until resolved.

580 4d ago C 33 tokens original Apache-2.0

sync-github

21

redai-infra/Relax

Skill Claude CodeCodex

Use when syncing Relax code between internal GitLab and external GitHub, especially gitlab/dev, gitlab/main, github/main, internal CR/MR handoff, linear main history, sensitive-content checks, GitHub Actions CI validation, or guarded GitHub pushes.

580 4d ago A 57 tokens original Apache-2.0

verl-to-relax

22

redai-infra/Relax

Skill Claude CodeCodex

Migrate RL training recipes from verl to Relax framework. Use when user wants to port reward functions, tool environments, training scripts, or any recipe code from the verl (volcengine/verl) codebase to Relax. Handles reward, rollout, tool/env, dataset, and launch script conversion. Supports both colocate (default)…

580 4d ago A 78 tokens original Apache-2.0