continuous-evals
Skill2 starsChanged 24 days agoMITView on GitHub
Regression-gate changes to the agent configuration (AGENTS.md, .agents/ rules, skills, agents, workflows, hooks) by replaying recorded tasks and blocking if the pass rate drops below baseline. Use when changing any agent configuration, or when adding an eval task after a real agent mistake. Implements DORA AI Capability 7.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- ai-stanceSkill
- context-engineeringSkill
- dev-experienceSkill
- discoverySkill
- documentationSkill
- langSkill
- ufawkes-knowledgeSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 71
Prefer a grader that cannot pass by accident: a file check, or a regex that only the correct answer matches.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Skill: continuous-evals
Load trigger: "load continuous-evals skill" > DORA: AI Capability 7: Quality internal platforms Token cost: Low to load; a run costs one cheap-model call per task
Purpose
Agent configuration is code: a reworded rule or a retired skill can silently change what agents do. This skill makes configuration changes regression-safe the same way tests make code changes safe.
How it works
| Piece | Path |
| Tasks (one JSON file each) | .agents/evals/tasks/*.json |
| Baseline rate per rubric dimension | .agents/evals/baseline.json |
| Runner | scripts/run-evals.sh |
| Gate's own self-test (offline, stub agent) | scripts/test-run-evals.sh |
| CI gate | .github/workflows/agent-config-ci.yml |
Each task runs in a throwaway copy of the working tree (CI: OpenCode; locally
claude -p by default) with a per-task timeout, and is scored on three rubric
dimensions from its transcript:
- task success —
expect:output_regex,file_absent,file_present; - tool use —
rubric.tool_use.forbidden/required: anchored, case-insensitive regexes over tool names, MCP tools included; - trajectory —
rubric.trajectory.max_steps: model steps taken.
The run fails if any dimension's rate drops below baseline.json, if there
are no tasks, or if a task has no expectation or no rubric. CI runs it on
config changes, on pushes to main, and weekly.
A non-zero agent exit also fails a task, unless it sets
"ignore_agent_exit": true in expect: use that only for "must not happen"
tasks (e.g. protected-env) where a blocked tool call may legitimately exit
non-zero. A crashed agent also leaves a file absent, so never use it for tasks
that expect a positive result.
Procedure
- Changing configuration? Run
scripts/run-evals.shbefore pushing. CI runs it anyway on any change toAGENTS.md,.agents/,.claude/,.opencode/, hooks, or.pre-commit-config.yaml. An agent got something wrong in real work? Add a task that reproduces it:
{ "id": "short-kebab-id", "why": "which rule/skill/agent this protects", "prompt": "the real request, answerable in a few turns", "permission_mode": "acceptEdits", "expect": { "output_regex": "…" }, "rubric": { "tool_use": { "forbidden": ["write|edit|serena_(create|replace|insert)_.*"] }, "trajectory": { "max_steps": 6 } } }Prefer a grader that cannot pass by accident: a file check, or a regex that only the correct answer matches.
- Raising the baseline: allowed any time the suite passes at the higher rate. Lowering it needs a reason in the PR description — that is the point.
Limits
- A regex grader checks the answer, not the reasoning. Keep tasks narrow.
- Model output varies; tasks must be robust to phrasing, or they flake and someone lowers the baseline to get 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.

