agent-evaluation
Skill2 starsChanged 4 months agoMITView on GitHub
Build offline checks and model-backed evidence for an LLM agent — trajectory scoring, groundedness/citation coverage, a token-cost regression tripwire, and side-by-side prompt A/B. Use when a prompt or model change might silently regress behavior, cost, or grounding, or when "it looked fine" is your only test.
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
- arjunprabhulal/agent-skillstheir own version, first seen Aug 3, 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 incident-response, test-driven-development and 1 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.
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
OpenAISkilltest-driven-development
Use when implementing any feature or bugfix, before writing implementation code
Also in 4 projects that use this
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
- arjunprabhulal/agent-skills★ 4same name
- ai4brands-design/claude-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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-guardrailsSkill
- agent-incident-responseSkill
- agent-least-privilegeSkill
- agentops-courseSkill
- agentops-telemetrySkill
- agent-resilienceSkill
- agent-token-budgetSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
2
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 19
Grow the set from real failures: When a trace shows a wrong or unsafe trajectory, distil it into one case that pins that single behavior …
- Distinctive: line 22
A/B prompt versions: Run the eval set under two pinned prompt versions in isolated processes and print a per-scorer delta.
“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
Agent Evaluation
Score an agent's behavior over fixed cases, not one exact string. Let model-free structure checks gate merges. Treat every model-backed scorer as evidence with an explicit floor, and never make an LLM judge the sole release criterion.
When to use
- A prompt/model change can pass a smoke test yet call the wrong tools, cost more, or hallucinate.
- You want deterministic evalset validation in pull requests and behavioral evidence before release.
- You need to choose between two prompt versions with numbers, not opinion.
Steps
- Score the trajectory, not the wording. Assert which tools were called, with which arguments, in order (allow extra reads) over fixed seed cases; hold writes to an exact count. This survives non-determinism that exact-match scoring cannot.
- Grow the set from real failures. When a trace shows a wrong or unsafe trajectory, distil it into one case that pins that single behavior and makes a recurrence visible.
- Add a groundedness check. Require every recognized claim to appear in that turn's retrieved evidence or the user's question. Document the recognizer's vocabulary; use a broader extractor or judge for claims it cannot parse.
- Tripwire the cost. Record per-case tokens and model-call counts against a committed baseline; fail when a change exceeds a tolerance. Trajectory scores tolerate waste, so this is the only thing that catches a correct-but-expensive regression.
- A/B prompt versions. Run the eval set under two pinned prompt versions in isolated processes and print a per-scorer delta; promote or roll back on the numbers.
- Split gates from evidence. Deterministic, model-free checks gate CI; model-backed evals (judge, cost, groundedness) run on a schedule where a failure means "investigate", not "blocked".
Reference implementation
From the AgentOps Open Course (agent modules live under agents/python/src/agent/, eval scripts under agents/python/evals/):
evals/mlflow_eval.py— deterministic trajectory/response scorers + optional judge.evals/groundedness_eval.py,evals/cost_eval.py,evals/prompt_ab.py.- Course chapter
4.4. Evaluations.
Verify
Introduce a deliberate regression (a wrong tool, a doubled token count, a fabricated id) and confirm the matching scorer turns red; revert and confirm green.
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.

