agentleFS
marin-communitymarin-community/marin/.agents/skills/run-rl/SKILL.md

run-rl

Skill4.2k starsChanged 3 months agoApache-2.0View on GitHub

Choose, run and read a Snowball RL preset through experiments/post_training/snowball_rl.py, compare it with indexed controls and record the experiment. Use for inference, trainer, numerics, task-selection or RL-algorithm measurements, stored-answer inspection and gate reports. New RL launch files and other experiments belong to launch-rl.

  • Reads credentials

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about marin-community/marin

The biggest 5 of 55 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 55

Talked about on GitHub and Bluesky (55 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 5

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 6 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use experiments/post_training/snowball_rl.py.

    line 8
  2. Very specific:

    Use use-iris for job inspection and use-fsutil for object-store reads.

    line 10
  3. Distinctive:

    When it names two, run the second after the first passes.

    line 20
  4. Very specific:

    Check inputs, allocation, guards, budget estimate and output paths.

    line 33
  5. Distinctive:

    Use the same plan and inputs to read status for a saved run.

    line 35
  6. Very specific:

    Before submission, tell the person the preset, estimated budget and replicate count.

    line 36
  7. Very specific:

    Use a background process and record its process and job IDs so a yielded tool call does not cause a second submission.

    line 43
  8. Very specific:

    Use --marina-url ORIGIN when publication targets a local Marina stack.

    line 49
  9. Distinctive:

    Follow the recipe's input and flag contracts, comparison rules and [default-promotion

    line 53
  10. Distinctive:

    Read existing answers before launching another run.

    line 75
  11. Distinctive:

    Read the recipe's report contract: the verdict, effect, reason and report path, followed by the Markdown tables.

    line 83
  12. Distinctive:

    Stop or restart an Iris cluster, or cancel/resubmit unrelated jobs without authorization.

    line 99

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Run the RL runner

Use experiments/post_training/snowball_rl.py. The recipe owns the preset table, flag contracts, measurement windows, saved files and comparison math. Use use-iris for job inspection and use-fsutil for object-store reads.

Map requests for a short loop, quick loop or long loop to the corresponding presets.

  • Short loop (also called quick loop) uses gated presets to compare one change against control runs. Use speed-*, data-* or learning-medium.
  • Long loop uses ungated training to build a model and retain its best eligible checkpoint. Use train-long for EvalLite or train-long-checkpoint-eval to add the agentic cohorts.

Plan and submit

  1. Choose the preset from the recipe's choice table. When it names two, run the second after the first passes.
  2. Track or stage new source under experiments/, lib/ and vendor/. The source tree hash enters the run name. Custom tasks follow the selection handoff. They need an immutable recipe, the same development panel, the full EvalLite in exclusions, and no AI-judged tasks.
  3. A gated launch selects the five newest completed main controls at its base preset version. The nightly control runs supply that cohort. Print the plan:

    uv run python -m experiments.post_training.snowball_rl --preset speed-short --version dev --plan

    Check inputs, allocation, guards, budget estimate and output paths. --version dev satisfies the launcher. The preset version fingerprints the composed configuration. Use the same plan and inputs to read status for a saved run.

  4. Before submission, tell the person the preset, estimated budget and replicate count. Submit either train-long preset or multiple 40-H100 replicates only when the person asked. Set WANDB_API_KEY. WANDB_ENTITY chooses the team, defaulting to marin-community. For train-long-checkpoint-eval, check the recipe's Daytona requirements.
  5. Pass --issue ISSUE_NUMBER if the experimenter supplied an issue number. If the context leaves tracking undecided, ask whether to open a new issue, use an existing one, or run without an issue. Replace --plan with --run to submit and add --wait for the final report. Use a background process and record its process and job IDs so a yielded tool call does not cause a second submission. Record the finishing status's rl_progress_url with its result. The launcher publishes the running and terminal attempt with the caller's Marina login. Follow the recipe's publication procedure for publication retries. Use --marina-url ORIGIN when publication targets a local Marina stack. Repeat the original --run --wait invocation with the same source and inputs to resume either train-long preset from its latest retained checkpoint.

Follow the recipe's input and flag contracts, comparison rules and default-promotion procedure. For an exact-numerics claim, require zero mismatch:

uv run python -m experiments.post_training.snowball_rl --preset speed-medium \
  --require 'policy/mismatch/staleness0/log_ratio_abs_max<=0' --version dev --run

Record the experiment

Open an issue through file-issue after checking the plan and the experimenter approves the issue text. In Description, explain what changes and what the preset measures. In Hypothesis or Goal, state the expected result and the measure that would confirm it. Put the relevant PR or source in Links. For an existing issue, pass its number with --issue. Use the same issue for later presets that measure the same change. Use publish --preset PRESET --run-output PATH --attempt ID --issue NUMBER to associate a stored attempt with its issue.

Inspect saved answers

Read existing answers before launching another run. Use the exact control attempt paths in the gate report. Candidate status prints its output path. Read the configured export root from the native resolved launch to locate answers. EvalLite evaluations are greedy; data-short evaluates sampled candidate training tasks. Each native JSONL row carries its TaskSpec ID, prompt, output, tokens and verification.

Read and record the result

Read the recipe's report contract: the verdict, effect, reason and report path, followed by the Markdown tables. Inspect the reason for INVALID.

Confirm the native receipt records success and the Iris job finished before reporting success. For a linked issue, post one comment per result after the person's posting approval. Use these fields in order:

  • Result — verdict or status, key metrics, guards and report path.
  • Preset — name, version, source and changed inputs.
  • Run / attempt — IDs, Iris and Grafana links.
  • W&B — exact run link.
  • Marina — attempt link.
  • Cost — elapsed time and measured GPU-hours, or label the estimate.

Never

  • Stop or restart an Iris cluster, or cancel/resubmit unrelated jobs without authorization.
  • Launch manual controls or edit GATE_REVISION unless asked in the current thread.
  • Edit a preset, guard or tolerance to make a candidate pass.
  • Set generator.enforce_eager=true without a request; CUDA graphs affect speed measurement.
  • Claim a speed gain from speed-short alone, or a learning gain from a speed preset.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.