agent-evaluation
Skill4 starsChanged 4 months agoMITView on GitHub
Builds an eval set for an agent or LLM feature, writes graders, establishes a baseline, and reads the results honestly. Use this whenever the user wants to measure whether an agent works, asks if a prompt or model change was an improvement, mentions evals, LLM-as-judge, regression testing for AI, or is about to ship an agent on the strength of a few manual tries. Also use before any prompt or model change, since without a baseline no change can be judged.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- thiientv/godmodetheir own version, first seen Aug 13, 2026
- mlflow/skillstheir own version, first seen Aug 11, 2026
- MLOps-Courses/agentops-open-coursetheir own version, first seen Aug 1, 2026
- alebgl77/claude-inctheir own version, first seen Jul 28, 2026
- mattstruble/skillstheir own version, first seen Jul 22, 2026
Used with
Projects with it also use skill-creator.
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.
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- microsoft/Building-AI-Agents-From-Zero-To-Production★ 188same name
- thiientv/godmode★ 96same name
- mlflow/skills★ 79same name
- alebgl77/claude-inc★ 16same name
- autohandai/community-skills★ 11same name
- fmind/dot★ 10same name
- xfstudio/skills★ 9same name
- ai4brands-design/claude-skills★ 2same name
- mattstruble/skills★ 2same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-deploymentSkill
- agent-designSkill
- agent-hardeningSkill
- agent-implementationSkill
- agent-observabilitySkill
- agent-scopingSkill
- api-designSkill
- code-templatingSkill
- dependency-upgradeSkill
- error-handlingSkill
- feature-implementationSkill
- project-scaffoldingSkill
- refactoringSkill
- data-analysisSkill
- data-migrationSkill
- data-modelingSkill
- sql-queriesSkill
- ci-pipelinesSkill
- containerizationSkill
- deployment-strategiesSkill
- infrastructure-as-codeSkill
- debuggingSkill
- issue-investigationSkill
- issue-triageSkill
- log-analysisSkill
- network-troubleshootingSkill
- performance-profilingSkill
- api-documentationSkill
- commit-messagesSkill
- diagrammingSkill
- markdown-docsSkill
- plain-languageSkill
- pr-descriptionsSkill
- release-notesSkill
- browser-testingSkill
- integration-testingSkill
- load-testingSkill
- test-dataSkill
- test-driven-developmentSkill
- unit-testingSkill
- deep-researchSkill
- feed-digestSkill
- summarizationSkill
- accessibility-reviewSkill
- code-analysisSkill
- code-lintingSkill
- code-reviewSkill
- auth-designSkill
- dependency-auditSkill
- secrets-managementSkill
- security-analysisSkill
- threat-modelingSkill
- capacity-planningSkill
- disaster-recoverySkill
- incident-responseSkill
- monitoring-setupSkill
- root-cause-analysisSkill
- runbooksSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Start at 20–30 real cases.
- Distinctive: line 50
LLM judge: only for genuinely open outputs.
- Distinctive: line 59
Done when: every case has a grader, and the judge (if used) has measured agreement.
- Distinctive: line 63
Run the current system. Record the score, per case and in aggregate.
- Distinctive: line 65
Run each case several times.
- Distinctive: line 89
Done when: every failure is assigned a cause, and causes are ranked by frequency.
- Distinctive: line 99
Do not tune on the whole set.
- Distinctive: line 121
Never report a number without n, without variance, and without what it was measured against.
“Common” is measured: kept by at least 6 in 10 of the 12 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.
Files
Phase 4: Evaluate
Input: the spec's success criteria and the design's open questions. Output: evals/ with cases,
graders, and a baseline number.
The question is never "does it work?" — it is "how often, on what, compared to what?" Trying five prompts by hand and being pleased is the default, and it is how agents ship broken. Five successes tell you almost nothing about the hundredth request.
Build evals before tuning anything. Without a baseline, every change is a guess and every improvement is a story.
1. Build the case set from reality
Cases must come from things that actually happen, in roughly the proportion they happen.
Sources, best first:
- Real logged requests, the gold standard. Sample across the whole distribution, not just the interesting ones.
- Real failures — every bug found becomes a permanent case. This is how the set gets sharp.
- The spec's success criteria, each one written as a case.
- Written cases, last, for gaps the above do not cover.
Deliberately include:
- The boring majority: most requests are simple, and an agent that fails them fails
- Ambiguous requests where asking is the correct behaviour
- Out-of-scope requests where declining is the correct behaviour — agents that never refuse are agents that make things up
- Adversarial input: prompt injection in retrieved content, contradictory instructions
Start at 20–30 real cases. A small honest set beats a large invented one, and you will add to it every time something breaks.
Done when: the set reflects the real distribution and includes correct-refusal cases.
2. Grade with the cheapest method that works
Match the grader to the output; do not reach for a judge model by reflex.
- Exact or structural match: for structured output, tool selection, extracted fields. Free, deterministic, and correct. Use wherever possible.
- Programmatic checks: did it call the right tool, stay under the turn limit, produce valid JSON, avoid the forbidden action? Most of what matters is checkable this way.
- LLM judge: only for genuinely open outputs. Give it the criterion, the input, the output, and a rubric with concrete anchors. Ask for a verdict against the criterion, never a vague quality score.
- Human review: for the small sample that decides whether the judge itself is trustworthy.
Validate your judge. Grade 20 cases by hand, compare with the judge, and measure agreement. An unvalidated judge is an unmeasured instrument, and a whole eval program can rest on it while being quietly wrong.
Done when: every case has a grader, and the judge (if used) has measured agreement.
3. Measure the baseline before changing anything
Run the current system. Record the score, per case and in aggregate.
Run each case several times. Agents are stochastic; a single run measures luck as much as quality. Report the variance — a change of two points with a five-point spread is noise, and teams routinely ship noise as an improvement.
Record alongside: model version, prompt version, tool versions, date. A score without its configuration cannot be compared to anything.
Done when: you have a baseline with variance, and it is committed.
4. Read failures by cause, not by count
The aggregate number tells you whether to ship. The failure clusters tell you what to fix.
Group failures by cause:
- Wrong tool chosen → the tool descriptions or the surface size, not the prompt
- Right tool, wrong arguments → schema and validation
- Gave up early → turn limits or prompt guidance on persistence
- Confidently wrong → the most serious; usually missing grounding or missing refusal behaviour
- Correct but unusable: right answer, wrong format or too slow
A cluster of five failures with one cause is one fix. Five separate fixes for five failures is how prompts become unmaintainable.
Done when: every failure is assigned a cause, and causes are ranked by frequency.
5. Change one thing at a time
Change the prompt or the model or the tools. Re-run the full set. Compare against the baseline, including the cases that previously passed.
Watch for regressions specifically. A change that lifts the aggregate while breaking cases that used to work is often a bad trade, and the aggregate hides it.
Do not tune on the whole set. Hold out cases you never look at during iteration, or you will fit the prompt to the eval and learn nothing about production.
Done when: the change is measured against baseline, with regressions listed separately.
6. Report what the number means
## Eval — <agent>, <date>
**Score** 78% (n=30, 3 runs each, ±4)
**Baseline** 71% — change: <what changed>
**Regressions:** cases that passed before and fail now
**Failure clusters:** cause, count, proposed fix
**Not covered:** what the set does not test
**Ship / don't ship:** against the spec's criteria, with the reasonThe "not covered" section is mandatory. An eval score reads as a statement about the whole system, and its silence gets read as coverage. Say what you did not test.
Never report a number without n, without variance, and without what it was measured against.
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
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.

