create-evals
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Author eval coverage for an agent in this AgentOS — map what the agent promises, mine real sessions and eval history from Postgres for scenarios, propose capabilities worth testing, then write, run, and audit Case entries in evals/cases.py. Use when the user wants evals created, coverage added, or an agent's behavior pinned down as tests. To repair a failing suite, use eval-and-improve instead.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- agno-agi/agentos-helmword for word, first seen Aug 30, 2026
- agno-agi/agentos-railwayword for word, first seen Aug 30, 2026
- tovrleaf/openkatatheir own version, first seen Jun 22, 2026
Other versions3 projects use a version of this.
Word for word · 2
- agno-agi/agentos-railway★ 36100% same
- agno-agi/agentos-helm★ 1100% same
Edited · 0
None found.
Wrote their own version · 1
- tovrleaf/openkata★ 1same name
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 repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- create-agentSkill
- deploy-platformSkill
- eval-and-improveSkill
- extend-agentSkill
- improve-agentSkill
- review-and-improveSkill
- setup-platformSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Read the file (or the published config: eval_db.get_config(component_id="<id>")["config"]).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Create Evals
Coding-agent workflow: run as
/create-evalsor by describing the task.
Turn what an agent promises into Case entries in evals/cases.py. The template's cases cover the reference components only; a user-built agent is invisible to the suite until this skill writes one. Failing suite → eval-and-improve; agent needs hardening → improve-agent.
Preconditions: Postgres on 5432, venv active (source .venv/bin/activate; ./scripts/venv_setup.sh if missing), .env populated.
Be self-driving: the repo and the database answer most questions. Ask the user only what they alone know — which jobs matter and which failures would hurt. One pick per exchange, recommendation first.
1. Pick the agent
The user's choice, or the least-covered component — almost always one of theirs. Source components have a file under agents/ or teams/. Studio-built components have none: Agent.load("<id>", db=eval_db, registry=registry, published_only=True) (or Team.load) rehydrates the published config at import time; it returns None for an archived or unpublished component, and a Case with neither field set raises — guard the load or the whole suite fails at import. Workflows cannot be case targets.
2. Map what it promises
Read the file (or the published config: eval_db.get_config(component_id="<id>")["config"]). Every "always", "never", "use X for Y" is a case. Note the tools for reliability assertions.
Two checks decide the hooks:
- Can the run reach the ungated create/edit/publish Studio tools?
StudioToolsdirectly or through a team member —platform-builderalways, and anagnocase one delegation from a build. Those take**BUILDER_HOOKS. - Does it carry learning stores (
learning=) or theshared_notestoolkit? Those take**LEARNING_HOOKS. Builder hooks are a strict superset; when in doubt, take them.
3. Mine the platform
from db import get_postgres_db
db = get_postgres_db()
sessions, _ = db.get_sessions(component_id="<agent-id>", limit=20, deserialize=False)
asks = [run["input"]["input_content"] for s in sessions for run in (s.get("runs") or []) if run.get("input")]
evals, _ = db.get_eval_runs(limit=20, deserialize=False)Real asks make the best inputs. A recorded answer is a scenario, never a golden answer — the rubric states the timeless shape of a correct answer (a version or date enters as "a current X with a source", never as the value). No sessions is fine: derive from INSTRUCTIONS.
4. Propose what to test
2–3 capabilities, each with a one-line scenario and what a pass proves; lead with the one closest to the core job or hit most in sessions. Skip what the suite already covers. One exchange.
5. Write the case
Inside CASES after the marker # --- Your cases — authored by /create-evals --- (add it if missing). Names must be unique across the file.
Case(
name="<agent>_<capability>",
agent=<the_agent>, # a Team goes in team= — nothing catches a team in agent=; it runs, misfiled
input="<scenario>",
tags=("<smoke|release|live>",), # smoke rides the schedule — deterministic only; live never shares with smoke
timeout_seconds=90,
criteria="<specific, falsifiable>",
expected_tool_calls=("<tool>",),
**BUILDER_HOOKS, # or **LEARNING_HOOKS — see Step 2; from evals/hooks.py
)Pair the judge with expected_tool_calls whenever a tool is involved. Ask of every rubric: could a stock model with no tools and none of these instructions pass it? If yes, it tests nothing. Env-dependent tool names mirror the file's _WEB_TOOL conditional.
Fixtures must be names no real team would have on file (Wilhelmina Ashgrove-Petrov, Quillhawk-Meridian): the hooks delete rows a case created and cannot undo an edit inside an existing row. A tool that mutates external state (messages, files, third-party APIs) needs its own containment or no case.
6. Run and audit
python -m evals --name <case>Be the only writer — the hooks sweep by snapshot diff, so a teammate's note filed during the run gets deleted. Read both sides of the verdict: the response and tools fired, and judge_reason (--json-output). Run at least twice (three times for judgment words like "compact"); a flipping verdict means the rubric is undecided. If the agent, not the case, is wrong, say so — that's improve-agent.
Loop to Step 4 or finish.
7. Hand over
New cases by name and tag, git diff evals/cases.py, suggested commit eval(<agent>): …. smoke cases ride the run-evals schedule (ships disabled; enabling is the user's call, with the only-writer condition attached); failures go to /eval-and-improve.
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.

