agentleFS
shangyiyshangyiy/life-kit/skills/swe/agent-evals/SKILL.md

agent-evals

Skill10 starsChanged 7 days agoMITView on GitHub

The agent-eval use case of the testing domain. Use to design, run or review an eval, score or claim for an AI agent, including one that follows a skill or instruction file, to interpret pass@k or judge scores, or on /agent-evals.

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-security.

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.
  • mattpartidaSkill

    agent-security

    Review and harden OpenClaw/Hermes agent security, including tool permissions, elevated access, exec approvals, allowlists, sandboxing, browser and web exposure, prompt-injection risk, model risk, persistence, and personal-vs-shared trust boundaries. Use when the task is primarily about agent or runtime security rather than host firewall or OS hardening.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Every principle of testing applies unchanged to evals of AI agents.

    line 14

“Common” is measured: kept by at least 6 in 10 of the 5 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

/agent-evals

Every principle of testing applies unchanged to evals of AI agents; this skill holds only what is agent-specific. Use it to design or run an eval or to review one; in a review, name each breach once, with its fix.

Principles

  1. Agents are nondeterministic, so every score comes from repeated trials (testing principles 5 and 8) and holds only for its exact model, harness and skill (verify-before-ship principle 3); run several models so a gain is no one model's quirk. Use pass@k (at least one of k trials succeeds) when one success is enough, pass^k (all k do) when users need every one. Average each task's trials before the standard error, clustered for related tasks; pair versions on the same tasks and size the suite by power analysis.
  2. An agent fails only through its own work, never a task or grader defect. Prompts may be as underspecified as real use, but ambiguity stays out of the grader: it accepts every reasonable reading, every threshold it enforces is stated exactly as checked, and two domain experts would independently reach its verdict. Grade the substance and quality of the final work, not its path unless the path or interaction is under test (transcripts, turn limits, tool choice), and never its fit to a skill's or the eval's own format, sections or wording (test-oracle: no hyperassertions; reference solutions: testing principle 2). Multi-part tasks may need partial credit (test-oracle: grade only where the spec grades).
  3. Choose and combine graders per task: code where possible, a model where needed, humans sparingly to validate. Calibrate model graders against human experts with a clear rubric; one isolated call per dimension can help.
  4. Read transcripts before trusting any score (testing principle 6): each failure must look fair. A regression drop beyond noise signals a break. Near 100%, large gains show as small increases, at 100% as none: start capability tasks hard, at a low pass rate, and graduate saturated ones to regression.
  5. Agents act on their surroundings and seek answers or loopholes, so testing principles 2 (out of reach), 5 (clean slate) and 12 (held-out sets) apply in full: no trial reaches tests, grader code, rubrics, reference solutions, earlier trials' history or leaked answers. Keep checking: rerun leaked cases with the leak blocked or mark them incorrect.
  6. Match the run environment to production; fix and report its settings. On one coding benchmark, resources moved scores just under 2 points in the moderate range, about 6 at the extremes; time limits, concurrency and API latency can too. Give each task a guaranteed allocation and a higher kill limit, so runs at the allocation and at the limit agree within noise. Count infrastructure errors apart (retests: testing principle 5); doubt a gap under about 3 points until both runs' setups are documented and matched.
  7. Start early and small, with tasks from real use (testing principle 10) and capability tasks for planned features; take expected findings from real history (failures found or fixed, reviews that happened) or seeded defects (mutation-testing). Twenty to fifty suffice while changes have large effects (power analysis: principle 1). Cover tasks where a behavior should and should not occur (testing principle 7); track latency, tokens, cost, tool calls and errors.

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.