agentleFS
UKGovernmentBEISUKGovernmentBEIS/inspect_evals/.claude/skills/prepare-submission-workflow/SKILL.md

prepare-submission-workflow

Skill747 starsChanged 36 days agoMITView on GitHub

Prepare an evaluation for PR submission as an entry to the register. Use when user asks to prepare an eval for submission or finalize a PR. Trigger when the user asks you to run the "Prepare Evaluation For Submission" workflow.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Use register/example_eval.yaml as the template — it documents every field.

    line 30
  2. Very specific:

    Use register/example_eval.yaml to determine what additional questions are needed.

    line 41
  3. Very specific:

    Use the PR template. The reviewer will ping anyone listed under source.maintainers for acknowledgement before merging.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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

Prepare Eval For Submission

Since May 2026, new evaluations are submitted as entries to the register — the evaluation code lives in your own upstream repository, and you add a pointer to it here. Code is no longer added directly to src/inspect_evals/. If the user appears to be submitting evaluation code into the repo, direct them to register/README.md for the full process.

Workflow Steps

To prepare an evaluation for submission as a pull request:

1. Verify upstream repo requirements

The upstream repo must:

  • Have a pyproject.toml with a [project] table so it can be installed via uv sync
  • Declare inspect_ai as a dependency
  • Define each task with the @task decorator from inspect_ai

Ask the user whether their upstream repo meets these requirements. Offer to check for them — if they provide the GitHub repository URL, fetch the repo's pyproject.toml and task files (e.g. via WebFetch on the raw GitHub URLs) to verify the requirements are met. If any requirement is not met, tell the user what needs to be fixed upstream before they can register.

Important: The submitter must be the owner or a maintainer of the upstream repository. The submission workflow enforces this — if they are not, they will need to fork the repo so they can be listed as a maintainer.

2. Gather information and create register/<eval_name>/eval.yaml

Skip this step if register/<eval_name>/eval.yaml already exists.

Use register/example_eval.yaml as the template — it documents every field. Don't ask the user field-by-field; instead, derive what you can from the upstream repo first, then ask one batched question for what's missing.

Hints on what to derive from the upstream repo (don't ask):

  • source.repository_url — from step 1.
  • source.repository_commit — fetch the latest commit SHA on the default branch (must be a 40-char SHA, not a tag or branch).
  • tasks[].name and tasks[].task_path — locate every @task-decorated function in the repo and record the function name and file path.
  • title — from the upstream README heading or pyproject.toml [project].name.
  • description — draft from the upstream README; keep to one short paragraph since the generated README links back upstream.
  • source.maintainers — defaults to the repo owner; only override if the repo is org-owned and the real maintainers are individuals.

Use register/example_eval.yaml to determine what additional questions are needed. Note: contributors and tags are deprecated fields — do not include them in new submissions.

Show the user the drafted YAML for confirmation before writing the file. Do not set id — it is auto-injected from the directory name.

3. Run validation

make check

This validates the eval.yaml and auto-generates a README.md next to it. The README is fully generated from eval.yaml — do not edit it by hand.

Because the generated page defers to upstream for details, make sure the upstream repo's README covers the dataset, scorer, task parameters, and how the eval was validated.

4. Create a changelog fragment

uv run scriv create

5. Open a PR

Use the PR template. The reviewer will ping anyone listed under source.maintainers for acknowledgement before merging.

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.