agentleFS
marin-communitymarin-community/marin/.agents/skills/add-eval/SKILL.md

add-eval

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

Add or change a non-agentic benchmark in Marin's curated evaluation catalog, then validate it through tests, a local corpus build, a reference comparison, and a small-model smoke run. Use for likelihood, generation, and LLM-judged benchmarks. Agent episodes use the curated agent benchmark guide.

1 other project uses a version of this.

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.

Most recently taken up by

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

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 5 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow Add an evaluation benchmark for code locations, patterns and commands.

    line 8
  2. Very specific:

    Search for the benchmark in experiments/evaluation/benchmarks/ and with uv run python -c "from experiments.evaluation.catalog import …

    line 14
  3. Very specific:

    Search open PRs and issues too (gh pr list --search <name>).

    line 16
  4. Distinctive:

    When delegating, state which platforms the delegate may use so a missing credential does not stop the work.

    line 30
  5. Very specific:

    Stop and report when the source is gated or licensed in a way that forbids evaluation use.

    line 34
  6. Distinctive:

    If each attempt needs a live agent loop, use the curated TaskSpec and RolloutEngine path described in the evaluation task reference.

    line 37
  7. Distinctive:

    Keep sampling at the served model's defaults unless the reference fixes it.

    line 44
  8. Very specific:

    Put prompt rendering, conversion and scorers in lib/taskcompendium.

    line 46
  9. Very specific:

    Do not add the benchmark to a suite in configs/evaluations.yaml unless the user asks.

    line 53
  10. Distinctive:

    Run every step; each produces evidence for the PR.

    line 58
  11. Very specific:

    Smoke: Run uv run python -m experiments.evaluation.cli launch with --model qwen3-0.6b --evals <key> --limit 50 --version dev --dry-run.

    line 66
  12. Very specific:

    Use --evaluation-config when the selection needs a separate run settings file.

    line 68
  13. Very specific:

    Follow use-iris for job monitoring with a bounded wait.

    line 71
  14. Very specific:

    Full-population run and reference comparison: Run without --limit on the same model as the reference.

    line 74

≈ “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

Add a curated evaluation

Follow Add an evaluation benchmark for code locations, patterns and commands. This skill adds the decisions, evidence and stopping rules an agent needs.

Before writing code

  1. Search for the benchmark in experiments/evaluation/benchmarks/ and with uv run python -c "from experiments.evaluation.catalog import evaluation_benchmarks; print(sorted(evaluation_benchmarks()))". Search open PRs and issues too (gh pr list --search <name>); several benchmarks have in-flight integrations.
  2. Identify the reference implementation and record it with a commit or version: lm-eval-harness task YAML, the paper's released runner, or a model card's evaluation code. The prompt, answer extraction, shots, sampling and split come from it. If no reference exists, state that and choose each setting explicitly.
  3. Identify the reference score you will validate against: a per-item run of the reference implementation, or a published score for a model Marin can serve. Prefer a per-item comparison.
  4. Pick the pattern from the guide's table and read its example module end to end.
  5. Confirm the hardware you may launch on. GPU smoke runs use CoreWeave and need CW_KEY_ID and CW_KEY_SECRET in your environment; the launcher refuses them otherwise. Without the keys, the model's default GCP TPU needs none. When delegating, state which platforms the delegate may use so a missing credential does not stop the work. Never search for or copy credentials that the requester did not provide.

Stop and report when the source is gated or licensed in a way that forbids evaluation use. A fixed multi-turn conversation can be the context for a generation task, as in experiments/evaluation/benchmarks/multichallenge.py. If each attempt needs a live agent loop, use the curated TaskSpec and RolloutEngine path described in the evaluation task reference.

Implement

  • Pin the dataset commit and exact files. Count the evaluated rows from the pinned files; never copy a population from a paper.
  • Keep sampling at the served model's defaults unless the reference fixes it; fixed values apply to every model evaluated.
  • Put prompt rendering, conversion and scorers in lib/taskcompendium; put pins and protocols in experiments/evaluation/benchmarks/.
  • Set the protocol benchmark to the intended --evals key.
  • Bump the recipe and protocol versions whenever prompt or conversion code changes; corpus identity does not hash that code. Changing an existing multiple_choice_evaluation template means bumping EXPLICIT_TEMPLATE_VERSION, which republishes every benchmark that helper builds; say so in the PR.
  • Do not add the benchmark to a suite in configs/evaluations.yaml unless the user asks.

Validate

Run every step; each produces evidence for the PR.

  1. Tests. Prompt rendering against a prompt copied from the reference's output, and scorer cases for correct, incorrect, unparseable and ambiguous answers. Run the affected tests and ./infra/pre-commit.py --changed-files --fix.
  2. Local corpus build. Build the full population with the curation driver and compare every compiled request character by character with the reference's rendering of the same rows.
  3. Smoke. Run uv run python -m experiments.evaluation.cli launch with --model qwen3-0.6b --evals <key> --limit 50 --version dev --dry-run. Use --evaluation-config when the selection needs a separate run settings file. Remove --dry-run to submit. For CoreWeave, add --platform gpu --accelerator H100x1 --federated_cluster cw-us-east-02a. Follow use-iris for job monitoring with a bounded wait. Confirm with cli scores that every selected item is scored and no infrastructure errors remain.
  4. Full-population run and reference comparison. Run without --limit on the same model as the reference. For a per-item reference, report the agreement rate and explain each disagreement. For a published score, report both values with the standard error and name every known protocol difference.
  5. Grader spot check. For generation benchmarks, read at least 20 graded responses from the archive, including every unparseable answer. For an LLM judge, use audit-grader.

A result outside two standard errors of the reference, or item agreement below about 98% for likelihood benchmarks, is a bug until explained. Fix prompt or extraction differences before publishing; do not tune toward the reference number.

Hand off

Publish through manage-pr. The PR body states the source pin and license, the reference implementation, the protocol choices, and a validation table: model, population, score, standard error, coverage, reference value and agreement. Link the run records with scores output. Clean up local corpus builds and any reference-harness environments created for the task.

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.