agentleFS
paruffparuff/uFawkesAI/.agents/skills/continuous-evals/SKILL.md

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.

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
  1. Distinctive:

    Prefer a grader that cannot pass by accident: a file check, or a regex that only the correct answer matches.

    line 71

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

PiecePath
Tasks (one JSON file each).agents/evals/tasks/*.json
Baseline rate per rubric dimension.agents/evals/baseline.json
Runnerscripts/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

  1. Changing configuration? Run scripts/run-evals.sh before pushing. CI runs it anyway on any change to AGENTS.md, .agents/, .claude/, .opencode/, hooks, or .pre-commit-config.yaml.
  2. 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.

  3. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.