write-code-eval
Skill1.4k starsChanged 3 months agoApache-2.0View on GitHub
Write code evaluators for known failure modes with objective rules. Use when code can check the rule from a trace, with or without a reference answer. Use `write-judge-prompt` when the rule requires interpretation.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about ai-evals-course/evals-skills
- lwyBZss8924d/awesome-evals“Daily awesome-evals KB update 20260919T022112Z”GitHub · Sep 19, 2026 · 1 reactions
- sudosubin/agents.nix“codex-marketplaces.github.ai-evals-course.evals-skills: init at 0.3.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.ai-evals-course.evals-skills: evals--v0.3.1 → refs/tags/evals--v0.3.1”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.ai-evals-course.evals-skills: init at 0.3.1”GitHub · Sep 25, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository8 other files it gives its agents.
- build-review-interfaceSkill
- error-discoverySkill
- eval-auditSkill
- evals-startSkill
- evaluate-ragSkill
- generate-synthetic-dataSkill
- validate-evaluatorSkill
- write-judge-promptSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 11
Start with a failure mode found through error analysis.
- Distinctive: line 15
Test known passes and failures, including borderline cases.
≈ “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
Write a code evaluator
Start with a failure mode found through error analysis. Write one check for that failure mode, much like a unit test that asserts what should hold for each trace.
- State the rule and identify the trace fields or reference data the check needs. If the rule requires interpretation, use
write-judge-prompt. - Implement the check in the project's language and eval framework. Return a result and a reason in the format that framework expects.
- Test known passes and failures, including borderline cases. Run the check on available traces and inspect mistakes. If the rule uses a proxy for human judgment, compare its results with human labels.
Examples
| Failure mode | Possible check |
| Invalid output structure | Parse the output and check required fields |
| Missing or forbidden text | Match a string or pattern |
| Citation not in retrieved documents | Compare cited IDs with retrieved IDs |
| Bad tool call | Check arguments against the tool schema or run the call in a safe test environment |
| Wrong value | Compare the output with a reference value |
Choose the check from the failure rule. For a failure with both objective and interpretive parts, check the objective part with code and use a judge for the rest.
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.

