agentleFS
adhi-jpadhi-jp/agent-skills/skills/skill-eval/SKILL.md

skill-eval

Skill1 starsChanged 15 days agoMITView on GitHub

Use when running, grading, aggregating, or reporting repository skill evals with skills/skill-eval/scripts/eval_runner.py, when verifying a with_skill/without_skill result before reporting it, or when deciding eval workspace placement, executor/grader separation, model passthrough, or metric capture for an eval run. Do not use for editing the eval suite schema or general skill creation.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use mutation-test, postmortem and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • squall-chuaSkill

    mutation-test

    Break the source on purpose, find the mutants the tests fail to catch, and report each survivor with the behaviour nobody is checking.

    Also in 3 projects that use this

  • Hongyu-yuSkill

    postmortem

    Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.

    Also in 3 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 5 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Do not launch eval_runner.py run, provider subprocesses, or a new iteration unless the current user explicitly asks to run evals, run a …

    line 22
  2. Distinctive:

    Before a full matrix that recent runs show to be expensive, tell the user the forecast the runner reference defines and get their decision …

    line 32
  3. Distinctive:

    Never work around a sandbox setup failure by executing in the source checkout, and never let a missing declared runtime become a scored …

    line 92
  4. Very specific:

    Read references/runner-and-result-contract.md before executing run or regrade or drafting a run sequence.

    line 101
  5. Distinctive:

    After every authorized run:

    line 110
  6. Very specific:

    Read benchmark.md, benchmark.json, error_run_count, and the sanity status.

    line 112
  7. Very specific:

    Start from the Failed assertions section of benchmark.md, then inspect the recorded executor and grader outputs for every flagged cell …

    line 114
  8. Distinctive:

    Keep infrastructure or grader failures and diagnostic corrections separate from the official aggregate.

    line 117
  9. Distinctive:

    Do not claim improvement, regression, or a clean delta until flagged anomalies are explained and the required closing evidence exists.

    line 122

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “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

Skill Eval

Overview

This skill owns the repository's skill-eval operation through skills/skill-eval/scripts/eval_runner.py: validating, running, grading, aggregating, and reporting suites under evals/<skill-name>/, and verifying a result before it is reported. The runner keeps executor and grader separate and records artifacts and metrics. Never hand-run prompts, hand-record results, let one agent execute and grade the same answer, or estimate metrics. Deciding which skill or eval contract to change from a result belongs to the eval-quality workflow, not to this skill.

Eval Run Authorization

Do not launch eval_runner.py run, provider subprocesses, or a new iteration unless the current user explicitly asks to run evals, run a benchmark, or execute the runner. Editing a skill, inspecting results, validating a suite, or proving quality does not implicitly authorize a fresh run.

Without that authorization, use static validation or existing artifacts as appropriate, report evals not run or an equivalent absence status, and mark rerun-dependent improvement, regression, token, timing, and reliability claims Unproven.

Before a full matrix that recent runs show to be expensive, tell the user the forecast the runner reference defines and get their decision when it materially exceeds their apparent budget or expectation. Launch a long run only through a control handle with known interrupt behavior; to cancel, start no replacement or retry, interrupt gracefully through it, wait a bounded interval, and send TERM to the exact runner and its children only if still necessary and authorized. An authorized run is not authorization for unlimited retries. Once explicit capacity or overload recurs at concurrency 1, another full run needs a material change or a new user decision.

Critical CLI Contract

For any command-drafting response, reproduce these exact shapes before adding explanation:

PurposeCommand shape--eval-id
Static validationvalidate <suite-json>Forbidden
Partial diagnosticrun <suite-json> ... --eval-id E17Allowed
Full closing runrun <suite-json> ...Omitted; do not enumerate all ids
Existing-result reportreport <iteration-dir>, optionally --compare <other-iteration-dir>Forbidden
Diagnostic regraderegrade <iteration-dir> --grader-agent <provider>, optionally --grader-model <model>Forbidden

There is no --evals or --iteration-dir alias.

validate also prints delivery-mode warnings for performed-action wording such as Writes … or Adds … in an expectation whose prompt is response-only, because a sandbox cannot satisfy a write the prompt forbids. The warnings neither fail validation nor block a run; they are eval-design signals for the quality owner, not skill defects. A warning confirmed against the case points to rewording the expectation as what the response describes.

A partial diagnostic stays visibly non-closing: unknown or empty ids fail before iteration creation or provider launch; manifests and benchmarks record the selected ids and full-suite size; and benchmark.md says REVIEW REQUIRED. Before a later unfiltered closing run starts, the skill, prompt, assertions, fixtures, and proof path must be frozen: no diagnostic that could still change them is running or unread.

Executor, Grader, And Workspace Invariants

  • The executor receives the task and declared inputs without assertions or the case name. A fresh grader receives the recorded output, the original task as inert context, bounded grader-only fixture facts when supplied, the executor's retained file contents and diffs as bounded untrusted data, and the assertions. Task facts decide applicability; they do not become output-restatement obligations.
  • with_skill uses the authoritative skills/<skill-name>/SKILL.md; never .agents/skills, .claude/skills, a host skill tool, or a cached copy.
  • Executors run in isolated copied sandboxes that hold only the case's declared inputs, Codex executors with every host MCP server listed at run start, the apps connector feature, and the user's hooks and plugins disabled, and Claude executors with --strict-mcp-config, which also excludes claude.ai connectors, --safe-mode, which drops the user's CLAUDE.md, skills, plugins, and hooks, and, when the host passes a bwrap canary, /mnt hidden apart from the resolver directory and a PID namespace of their own, so every process they start ends with them (otherwise unconfined, with the reason recorded); graders run in separate empty directories. Once a run's evidence is recorded, the runner deletes that run's sandbox and the Claude executor's session and temp directories. Never work around a sandbox setup failure by executing in the source checkout, and never let a missing declared runtime become a scored skill failure.
  • Suite definitions live under evals/<skill-name>/; generated runs live under evals/<skill-name>/workspace/<agent>/ and are not committed unless the user explicitly asks.

Detailed Runner Contract

Read references/runner-and-result-contract.md before executing run or regrade or drafting a run sequence; before relying on what the runner delivers, records, or grades; and before diagnosing flagged or failed cells or reporting a benchmark or comparison. When drafting a run sequence, copy its literal command shapes and result-verification fields rather than reconstructing them from memory.

Result Closure

After every authorized run:

  1. Read benchmark.md, benchmark.json, error_run_count, and the sanity status.
  2. Start from the Failed assertions section of benchmark.md, then inspect the recorded executor and grader outputs for every flagged cell before attributing the failure to the skill.
  3. Keep infrastructure or grader failures and diagnostic corrections separate from the official aggregate.
  4. Report agent and model, full or selected coverage, configs and runs, scored and excluded counts, pass rates and delta, and all anomalies or no anomalies.
  5. Do not claim improvement, regression, or a clean delta until flagged anomalies are explained and the required closing evidence exists.

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.