Agent skill

Profile

by verl-project in verl-project/verl-omni

Route a verl-omni performance investigation to the right tool and capture a usable trace.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Profile

skills CLI
$ npx skills add verl-project/verl-omni --skill profile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install verl-project/verl-omni profile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/verl-project/verl-omni.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/profile .claude/skills/profile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
profile
GitHub stars
1.2k
Token cost
~1.1k tokens
SKILL.md length
473 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

Route a verl-omni performance investigation to the right tool and capture a usable trace.

  • Works in 3 steps: Pick the tool by the question → Profile ONE lightweight step, never a… → Enable the profiler on the process that…
  • Profiling FlowGRPO / diffusion training
  • SKILL.md covers Step 0 — Pick the tool by the…, Step 1 — Profile ONE…, Step 2 — Enable the profiler… and Gotchas (each has bitten a…, plus 1 more section
  • Needs HF_TOKEN

What it does

Profile is an agent skill from verl-project/verl-omni. Route a verl-omni performance investigation to the right tool and capture a usable trace. Use when profiling FlowGRPO / diffusion training or rollout — choosing between nsys, torch.profiler, torchmemory snapshots, MFU comparison, or RL-Insight dashboards, and profiling one lightweight step instead of a full run.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Performance optimization. The repository describes itself as: Multimodal RL training framework for diffusion & omni models. The licence is Apache-2.0.

When your agent uses it

  • Profiling FlowGRPO / diffusion training
  • Rollout — choosing between nsys
  • Torchmemory snapshots
  • RL-Insight dashboards

Example prompts

  • “/profile”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Pick the tool by the question
  2. Profile ONE lightweight step, never a full run
  3. Enable the profiler on the process that owns the phase

What it can do on your machine

Read from SKILL.md and the folder at commit 54c557e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HF_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Profile loads about 1.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 473 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from verl-project/verl-omni at commit 54c557e, republished under its Apache-2.0 licence (© verl-project). 473 words, ~1,088 tokens.

Download SKILL.mdSave it as .claude/skills/profile/SKILL.md (or your agent's skills folder).
name
profile
description
Route a verl-omni performance investigation to the right tool and capture a usable trace. Use when profiling FlowGRPO / diffusion training or rollout — choosing between nsys, torch.profiler, torch_memory snapshots, MFU comparison, or RL-Insight dashboards, and profiling one lightweight step instead of a full run.

Profile a run

docs/perf/profiler.md owns the config surface (global_profiler + per-role actor_rollout_ref.{actor,ref,rollout}.profiler), the six copy-paste recipes, and the lightweight-footprint recipe. Open it — do not work from a remembered procedure. This skill routes you to the right tool and adds the cross-cutting decisions the guide leaves implicit.

Step 0 — Pick the tool by the question

The question you are answeringToolWhere it is documented
Where does the step's wall-clock go? (phase overlap, Python control flow, rank straggler)nsysdocs/perf/profiler.md recipes 4, 4a
Which ops/kernels dominate, and CPU vs CUDA?torch (torch.profiler)docs/perf/profiler.md recipes 1, 2
What is holding GPU memory / who OOMs?torch_memorydocs/perf/profiler.md recipe 3
Is config B more compute-efficient than A?MFU (no profiler)docs/perf/diffusion_mfu.md — read perf/mfu/actor, relative only
Live dashboards across replicas / TransferQueue during a long run?RL-Insightdocs/start/rl_insight.md

A profiler answers "where is the time/memory in this step". MFU answers "how efficient is this config vs another on the same setup" — it is a metric, not a trace, and it over-estimates LoRA (it counts the full DiT forward+backward).

Step 1 — Profile ONE lightweight step, never a full run

A full FlowGRPO step trace is hundreds of MB and slow to open. Every examples/ recipe forwards "$@" to the same diffusion_trainer config and Hydra resolves duplicates last-wins, so append footprint overrides instead of editing the script — shrink rollout.n, pipeline.num_inference_steps, resolution, and batch (see the guide's lightweight recipe; it cut a step 616 s → 70 s).

Always pin these, or profiling is silently skipped:

bash
trainer.total_training_steps=1 trainer.save_freq=-1 trainer.test_freq=-1 \
trainer.resume_mode=disable global_profiler.steps=[1]

The last step force-triggers save/validation when save_freq/test_freq > 0, and a leftover checkpoint auto-resumes past the profiled step. For continuous nsys captures, step 2 is the steady-state sample (step 1 carries profiler startup, the last step closes the window).

Show full SKILL.md (191 more words)Show less

Step 2 — Enable the profiler on the process that owns the phase

Each phase runs in a different process; enabling the wrong *.profiler yields an empty trace:

  • actor train / backward → actor_rollout_ref.actor.profiler
  • generation → actor_rollout_ref.rollout.profiler (a separate vLLM-Omni server; tool_config.torch.discrete=True is required — it rejects continuous mode)
  • reward model → reward.reward_model.rollout.profiler
  • ref log-prob → actor_rollout_ref.ref.profiler

These keys already exist in the composed config, so override with plain key=value — a +key=value append fails with "An item is already at ...".

Gotchas (each has bitten a real run)

  • V1 trainer: nsys step-scoped controller capture (capture-range=cudaProfilerApi) is not supported by verl_omni.trainer.main_diffusion_v1; only main_diffusion drives the step-based start/stop lifecycle.
  • nsys output path: *.nsys-rep files land under /tmp/ray/session_latest/logs/nsight/ (fixed by Ray), not save_path; only torch / torch_memory traces honor global_profiler.save_path.
  • Report hygiene: reports may embed env vars such as HF_TOKEN unless discard-environment is set — scrub before sharing.
  • Do not hand-roll torch.profiler / timers inside adapter or pipeline code. Workers are wrapped with verl.utils.profiler.DistProfiler and driven around each profiled step; an ad-hoc timer is fine for a throwaway local check but must never reach a PR.

Further reading

  • docs/perf/profiler.md — authoritative config surface and recipes.
  • docs/perf/diffusion_mfu.md — MFU reporting and adding an estimator.
  • docs/start/rl_insight.md — online observability dashboards.

© verl-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/profile of verl-project/verl-omni.

Open the folder on GitHubat commit 54c557e

Compare with similar skills

Profile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Profile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Profile this skillverl-project/verl-omni1.2k—~1.1kAutomated safety check: PassApache-2.0
Performance Optimizationalbumentations-team/AlbumentationsX567—~1.7kAutomated safety check: PassAGPL-3.0
Optimizing Promptsjeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Perfupraullenchai/Rapid-MLX3.9k—~1.6kAutomated safety check: NotesCustom licence
The Art of Debuggingstas00/the-art-of-debugging1.7k—~6.1kAutomated safety check: NotesCC-BY-SA-4.0
LLM Torch Profiler Trace AnalysisBBuf/AI-Infra-Auto-Driven-SKILLS925—~2.8kAutomated safety check: PassNone

Similar skills

  • Performance Optimization

    albumentations-team/AlbumentationsX

    Systematic performance audit for AlbumentationsX runtime code.

    567 GitHub stars~1.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Optimizing Prompts

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance.

    2.8k GitHub stars~1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Perfup

    raullenchai/Rapid-MLX

    Autonomous performance optimization: research, PoC, benchmark, implement, review, PR

    3.9k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • The Art of Debugging

    stas00/the-art-of-debugging

    Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.

    1.7k GitHub stars~6.1k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes
  • LLM Torch Profiler Trace Analysis

    BBuf/AI-Infra-Auto-Driven-SKILLS

    Analyzes Torch Profiler traces from SGLang, vLLM and TensorRT-LLM servers into kernel attribution, overlap and fusion tables.

    925 GitHub stars~2.8k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed
  • A skill your agent uses when benchmarking denoise latency or profiling a diffusion bottleneck in SGLang.

    37k GitHub starsUsed in 2 repos~2.4k tokens
    AI & LLM EngineeringAuto-check passed

More from verl-project/verl-omni

  • Add Pipeline

    verl-project/verl-omni

    Router for adding a diffusion or omni pipeline to verl-omni.

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Add Reward Score

    verl-project/verl-omni

    Guide for adding a new reward scorer to verl-omni and wiring it into a run.

    1.2k GitHub stars~648 tokensUpdated today
    Auto-check passed
  • Run Cpu Tests

    verl-project/verl-omni

    How to write and run verl-omni CPU tests (testoncpu.py) that exercise adapters, rewards, and configs without a GPU or model weights.

    1.2k GitHub stars~673 tokensUpdated today
    Auto-check passed
  • Commit And PR

    verl-project/verl-omni

    verl-omni commit message + PR conventions and the mandatory contribution policy.

    1.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Self Review

    verl-project/verl-omni

    Review your own verl-omni branch against the project rubric before opening or updating a PR.

    1.2k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Train Infer Consistency

    verl-project/verl-omni

    Route verl-omni training/inference consistency checks through MindStudio's MSProbe collection and root-cause analysis skills.

    1.2k GitHub stars~860 tokensUpdated today
    Auto-check passed

Questions about Profile

What does Profile do?

Route a verl-omni performance investigation to the right tool and capture a usable trace. Profile is an agent skill from verl-project/verl-omni. Route a verl-omni performance investigation to the right tool and capture a usable trace.

When should I use Profile?

Profile fits situations like: profiling FlowGRPO / diffusion training; rollout — choosing between nsys; torchmemory snapshots; RL-Insight dashboards.

How do I install Profile in Claude Code?

Run `npx skills add verl-project/verl-omni --skill profile -a claude-code`. Or copy the skill folder (.agents/skills/profile in verl-project/verl-omni) into .claude/skills/profile in your project. Claude Code loads it when a task matches its description.

How do I install Profile in Codex?

Run `npx skills add verl-project/verl-omni --skill profile -a codex`. Or copy the skill folder (.agents/skills/profile in verl-project/verl-omni) into .agents/skills/profile in your project. Codex loads it when a task matches its description.

Can I use Profile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add verl-project/verl-omni --skill profile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/profile, .gemini/skills/profile, .github/skills/profile and .opencode/skills/profile in your project.

What does Profile need to run?

Going by SKILL.md and its folder, Profile needs credentials named HF_TOKEN. Our summary lists: Python 3.

Does Profile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Profile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Profile use?

Profile is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Profile use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Profile?

Skills that share tags, products or a category with Profile: Performance Optimization (albumentations-team/AlbumentationsX, 567 stars), Optimizing Prompts (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Perfup (raullenchai/Rapid-MLX, 3.9k stars) and The Art of Debugging (stas00/the-art-of-debugging, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Profile?

verl-project (a GitHub organization) maintains it in verl-project/verl-omni, which has 1,204 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: verl-project/verl-omni on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.