Skip to main content
skill CX Codex

slime-user — Claude Code skill: what it does, how to install

slime-user is a Claude Code skill for post-training LLMs with reinforcement learning in SLIME, covering GRPO, PPO, Megatron and FSDP backends, and tool use.

no license ★ 158 updated 2026-07-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add yzlnew/infra-skills --skill slime-user -a claude-code
Open on GitHub

What slime-user does

This skill guides LLM reinforcement learning workflows in the SLIME framework from THUDM. It covers algorithm selection across GRPO, GSPO, PPO, and Reinforce++, helping coordinate inference rollouts in SGLang with reward calculation and optimizer updates.

It details configuration flags for single-node and multi-node hardware setups on H100, H200, or B200 systems. Choosing Megatron means running weight conversion via tools/convert_hf_to_torch_dist.py before launching, whereas --train-backend fsdp uses HuggingFace checkpoints directly.

You also get reference patterns for multi-turn tool calling routines with token masking in loss_mask, custom reward model definitions, and batch size balance equations.

What it helps with

  • balance rollout and global batch sizes across training iterations
  • configure GRPO or PPO runs with SGLang rollouts
  • implement multi-turn generation loops with masked tool outputs
  • set up model training scripts for FSDP or Megatron backends

Example prompts for the agent

  • Configure a GRPO training script for Qwen3-4B on eight H100 GPUs.
  • Show how to structure loss_mask for multi-turn tool calling in SLIME.
  • What arguments do I need to switch from Megatron to the FSDP backend?

How to install slime-user

1Skills CLI (Vercel)

npx skills add yzlnew/infra-skills --skill slime-user -a claude-code

2Manually: put the files in place

~/.claude/skills/slime-user/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/slime-user/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about slime-user

How do I install slime-user in Claude Code?

Run npx skills add yzlnew/infra-skills --skill slime-user -a claude-code in your terminal, or place the skill file at ~/.claude/skills/slime-user/SKILL.md.

What does slime-user do?

It provides reference parameters, workflows, and script templates for reinforcement learning post-training using SLIME.

What hardware and backends does SLIME support?

It supports H100, H200, and B200 GPUs using either Megatron or FSDP backends with SGLang for rollout generation.

Similar skills

All skills for AI and ML →

From the same set8

Project sponsors

Companies that keep this analytics open