Skip to content
Back to skills

Verl

ASecurity

"Use verl for LLM post-training workflows: setup, data and rewards,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
toolspythonrustgodockerbackendperformance

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill verl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-verl/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-verl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verl
description: "Use verl for LLM post-training workflows: setup, data and rewards,
  PPO/GRPO/SFT configs, rollout tools, checkpoints, profiling, and repository
  maintenance."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# verl

Use this repo skill when a user asks how to install, configure, run, debug, or maintain `verl`, the Volcano Engine Reinforcement Learning library for LLM post-training.

## Start Here

- Read `references/repo-provenance.md` before relying on this skill for a different checkout or after package metadata, config files, examples, or docs change.
- Read `references/troubleshooting.md` for cross-cutting failures that span setup, Hydra configs, data schema, rollout backends, checkpoint operations, and repo maintenance.
- Run `scripts/check_skill_integrity.py` when editing or importing this skill to check frontmatter, links, private-path leaks, and generated cache files.

## Route By User Task

- **Install or verify an environment**: use `sub-skills/setup-and-backends/` for base install choices, Docker-vs-custom setup, Python/CUDA requirements, optional extras, vLLM/SGLang/Megatron/TensorRT-LLM/NPU/ROCm caveats, and safe import/backend checks.
- **Prepare or validate data and rewards**: use `sub-skills/data-and-rewards/` for parquet row schemas, chat prompt fields, `reward_model.ground_truth`, custom reward modules, and the bundled parquet validator.
- **Build training commands and Hydra overrides**: use `sub-skills/training-and-configs/` for PPO, GRPO, SFT, on-policy distillation, backend strategy switches, batch/micro-batch sizing, generated config references, and the dry-run PPO command builder.
- **Configure rollout, agent loops, and tools**: use `sub-skills/rollout-and-tools/` for rollout engines, async generation server flows, multi-turn agent loops, `@function_tool`, native `BaseTool`, tokenization sanity checks, traces, and tool schema validation.
- **Operate checkpoints and model artifacts**: use `sub-skills/checkpoints-and-model-ops/` for checkpoint layout inspection, `verl.model_merger`, FSDP/Megatron/HuggingFace export decisions, LoRA merge implications, profiling, and performance diagnostics.
- **Maintain the repository**: use `sub-skills/repo-development/` for contribution policy, duplicate-work checks, AGENTS.md editing rules, generated trainer config maintenance, focused test selection, and non-executing test suggestions.

## Common Decision Points

- If the user says “training fails,” first classify the failure: installation/import (`setup-and-backends`), parquet/reward schema (`data-and-rewards`), Hydra override/resource sizing (`training-and-configs`), rollout backend/tooling (`rollout-and-tools`), or checkpoint/export (`checkpoints-and-model-ops`).
- If the user asks for a command, prefer the nearest bundled command builder or validator; never require the original source checkout examples to remain available.
- If the user asks for GPU execution, distinguish a base Python import check from real accelerator runtime validation. vLLM, SGLang, Megatron, flash-attn, TensorRT-LLM, ROCm, and NPU stacks need backend-specific environments.
- If the user is editing the repo, apply `repo-development` before changing files so duplicate-work, AGENTS.md scope, generated config, and focused-test rules are not missed.

## Bundled Helpers

- `sub-skills/setup-and-backends/scripts/check_verl_environment.py` checks active Python package metadata, imports, optional CUDA state, and dependency consistency.
- `sub-skills/data-and-rewards/scripts/validate_verl_parquet.py` validates verl parquet rows without importing `verl`.
- `sub-skills/training-and-configs/scripts/build_ppo_command.py` prints a dry-run `python -m verl.trainer.main_ppo` command from common arguments.
- `sub-skills/rollout-and-tools/scripts/validate_function_tool.py` preflights trusted function-tool Python files for type hints and Google-style `Args:` docs.
- `sub-skills/checkpoints-and-model-ops/scripts/inspect_checkpoint_path.py` classifies checkpoint/run/role directories without loading tensors.
- `sub-skills/repo-development/scripts/select_verl_tests.py` maps changed paths to suggested tests and pre-commit hooks without running them.

## Safety Rules

- Do not run training, dataset downloads, Docker builds, GPU/NPU jobs, checkpoint merges, or source-mutating maintenance scripts unless the user explicitly asks and the environment is appropriate.
- Treat original repo docs, examples, scripts, and tests as evidence only. Runtime guidance in this skill is self-contained and should use bundled references/scripts.
- Do not leak local checkout paths, private Python prefixes, cache paths, credentials, or machine-specific install commands into public skill content.
- For native verification, prefer CPU-safe tests and help/parser checks first; record GPU/NPU/e2e examples as skipped unless the user authorizes heavy hardware runs.

Files in this skill

  • SKILL.md4.8 KB
  • references/repo-provenance.md2.4 KB
  • references/repo-routing-metadata.json564 B
  • references/troubleshooting.md3.3 KB
  • scripts/check_skill_integrity.py4.7 KB
  • sub-skills/checkpoints-and-model-ops/SKILL.md2.5 KB
  • sub-skills/checkpoints-and-model-ops/references/checkpoints-and-merging.md8 KB
  • sub-skills/checkpoints-and-model-ops/references/performance-and-profiling.md7.1 KB
  • sub-skills/checkpoints-and-model-ops/references/troubleshooting.md7.3 KB
  • sub-skills/checkpoints-and-model-ops/scripts/inspect_checkpoint_path.py9.4 KB
  • sub-skills/data-and-rewards/SKILL.md2.5 KB
  • sub-skills/data-and-rewards/references/data-formats.md4.4 KB
  • sub-skills/data-and-rewards/references/reward-functions.md4.2 KB
  • sub-skills/data-and-rewards/references/troubleshooting.md3.3 KB
  • sub-skills/data-and-rewards/scripts/validate_verl_parquet.py8.7 KB
  • sub-skills/repo-development/SKILL.md2.2 KB
  • sub-skills/repo-development/references/contributor-policy.md2.8 KB
  • sub-skills/repo-development/references/testing-and-maintenance.md3.4 KB
  • sub-skills/repo-development/references/troubleshooting.md2.9 KB
  • sub-skills/repo-development/scripts/select_verl_tests.py6.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…