configs
How the prime-rl config system works — TOML files, CLI overrides, composition, and special patterns. Use when creating configs,…
Launch and monitor prime-rl evals — the `uv run eval` entrypoint, its config and CLI shorthands, run directory, resume, logs and metrics. Use when asked to evaluate a model or checkpoint on an environment, smoke-test an environment, or check on an eval run.
Claude Code
$ npx -y skills add primeintellect-ai/prime-rl --skill eval --agent claude-code
Codex
$ npx skills add primeintellect-ai/prime-rl --skill eval -a codex -y
Cursor
$ npx skills add primeintellect-ai/prime-rl --skill eval -a cursor -y
Gemini CLI
$ npx skills add primeintellect-ai/prime-rl --skill eval -a gemini-cli -y
GitHub Copilot
$ npx skills add primeintellect-ai/prime-rl --skill eval -a github-copilot -y
OpenCode
$ npx skills add primeintellect-ai/prime-rl --skill eval -a opencode -y
Windsurf
$ npx skills add primeintellect-ai/prime-rl --skill eval -a windsurf -y
name: eval description: Launch and monitor prime-rl evals — the `uv run eval` entrypoint, its config and CLI shorthands, run directory, resume, logs and metrics. Use when asked to evaluate a model or checkpoint on an environment, smoke-test an environment, or check on an eval run.
`uv run eval` evaluates a model in one or more environments and exits after one epoch per source. It reuses the orchestrator's eval pipeline: one env worker pool per source, a concurrency band, every episode through the monitors, and a trace stream that `--resume` continues from. Online evals of training runs are the `training` skill.
The user launches runs; hand over the command unless told otherwise. Always cap smokes (`-n`, `-r`).
uv run eval gsm8k -n 32 -r 4 # Prime Inference uv run eval gsm8k -n 32 -r 4 -c 8 --env.agent.harness.id bash # pin concurrency; set a field of the env block uv run eval gsm8k -n 32 -r 4 -m Qwen/Qwen3-4B --client.base_url http://localhost:8000/v1 # a local `uv run inference` server uv run eval @ eval.toml --run.name my-eval # multi-source TOML uv run eval @ eval.toml --run.name my-eval --resume # continue an interrupted run uv run eval @ eval.toml --dry-run # resolve and write the config, exit uv run eval @ eval.toml --no-monitors.prime # keep the run off the platform (on by default)
Minimal multi-source TOML (the eval block is flattened to the top level; per-source `select`, `group_size`, `sampling` override the top level):
model = "Qwen/Qwen3-4B" group_size = 4 [select] limit = 32 [client] base_url = "http://localhost:8000/v1" [[source]] env.taskset.id = "gsm8k" env.agent.harness.id = "bash" [[source]] env.taskset.id = "aime25" env.agent.harness.id = "null" env.agent.runtime.type = "subprocess"
`select` picks which tasks of a source's taskset run. The steps apply in a fixed order: `include` and `exclude` (by `idx` position, `ids`, `keys` or `names`), then `shuffle` (under `seed`, default 0), `skip`, `limit`. Set it once for every source of a group (`[select]` in an eval TOML, `[orchestrator.eval.select]`, `[orchestrator.train.select]`), or per source (`select.limit = 50` in a `[[source]]`); a source's own fields win.
uv run eval gsm8k -n 50 # the first 50 tasks uv run eval gsm8k -n 50 -s # a random subset of 50 (same tasks every run) uv run eval gsm8k -n 50 -s --select.seed 1 # another random subset uv run eval gsm8k --select.include.idx 0:10,42 # tasks by position (ints and Python slices) uv run eval terminal-bench-2 --select.include.names '["terminal-bench/fix-git"]' # tasks by name; `ids` and `keys` work the same uv run eval terminal-bench-2 --select.exclude.keys '["<task.key>"]' # drop known-broken tasks (keys are on every trace) uv run eval terminal-bench-2 --select.exclude.files.keys broken_keys.txt # the same list from a file, one entry per line
`files.idx`, `files.ids`, `files.keys` and `files.names` each name a newline-delimited text file. Its lines extend the matching inline list. Relative paths resolve against the working directory.
Disjoint train/test splits from one taskset:
# contiguous: eval on the first 100 tasks, train on the rest [[orchestrator.eval.source]] env.taskset.id = "gsm8k" select.include.idx = [":100"] [[orchestrator.train.source]] env.taskset.id = "gsm8k" select.exclude.idx = [":100"] # random: the same shuffle on both sides; eval takes 100, train skips them # eval: select.shuffle = true, select.limit = 100 # train: select.shuffle = true, select.skip = 100
The shuffle comes before `skip` and `limit`, so a larger `limit` extends the same selection: resuming a `-n 50 -s` run with `-n 100` keeps the 50 landed tasks and adds 50 more.
Run dir: `output_dir / run.name` (auto `<envs>--<model>--<short-id>`; `ls -t outputs | head -1` finds the latest). The console stays quiet while the eval runs; everything is in the files and the dashboard (`dashboard` skill).
{run_dir}/
├── configs/latest/ # command.txt, the launch TOML, resolved/eval.json
├── logs/latest/
│ ├── eval.log # the eval process
│ └── envs/eval/{name}.log # one log per env worker pool
└── monitors/file/ # metrics.jsonl, the trace stream, traces/live/ (one file per live trace), plan.jsontail -F {run_dir}/logs/latest/eval.log
grep -E "WARNING|ERROR" {run_dir}/logs/latest/eval.log {run_dir}/logs/latest/envs/eval/*.log
grep SUCCESS {run_dir}/logs/latest/eval.log # one "Evaluated <env> ... Reward 0.xxxx" line per souHow the prime-rl config system works — TOML files, CLI overrides, composition, and special patterns. Use when creating configs,…
Find, start, use, and stop the local run dashboard for metrics, configs, traces, logs, and reports. Use when asked for its URL,…
How to install prime-rl and its optional dependencies. Use when setting up the project, installing extras like DeepEP for…
How prime-rl vendors, builds, and ships CUDA kernels (the `deps/prime-kernels` submodule and the `prime-kernels` wheel). Use when…
Launch and monitor prime-rl runs on Model Factory with prime train, and retrieve their traces. Use for requests such as "run this…
How to prepare and publish GitHub releases for prime-rl. Use when drafting release notes, tagging versions, or publishing…
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…