agentleFS
davidscotttuftsdavidscotttufts/hyvemind/skills/skill-eval/SKILL.md

skill-eval

Skill0 starsChanged 18 days agoApache-2.0View on GitHub

Measure whether each skill still makes the current model better than it is bare (scaffold economics): run every skill's scenarios with and without the skill, compute lift per model and agent, and propose keeping, thinning or retiring skills by evidence. Use after a model upgrade, when adding or editing a skill, or when a skill feels like overhead.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use mutation-test, postmortem and 5 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.
  • squall-chuaSkill

    mutation-test

    Break the source on purpose, find the mutants the tests fail to catch, and report each survivor with the behaviour nobody is checking.

    Also in 3 projects that use this

  • Hongyu-yuSkill

    postmortem

    Use when analyzing failures, outages, incidents, or negative outcomes, conducting blameless postmortems, documenting root causes with 5 Whys or fishbone diagrams, identifying corrective actions with owners and timelines, learning from near-misses, establishing prevention strategies, or when user mentions postmortem, incident review, failure analysis, RCA, lessons learned, or after-action review.

    Also in 3 projects that use this

  • nicolasestremSkill

    brainstorm

    Structured idea generation and solution exploration with systematic analysis.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 5 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put them in <evals.scenariosDir>/<skill>/*.json (default .hyve/scenarios/<skill>/).

    line 49
  2. Very specific:

    Never retire a skill on one run.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 19 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.

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

Skill evals

Models get better quickly, and a procedure that once prevented mistakes can turn into overhead that costs context and slows the agent. This skill replaces opinion about that with a measurement.

Run

⛔ An eval spends model calls. Run {{cli}} eval --dry-run first and show the user the preview (runs, duration); pass --yes only after they agree.

{{cli}} eval                         # every installed skill, default agent
{{cli}} eval review pr --trials 5    # specific skills
{{cli}} eval --agent codex           # another agent from evals.agents
{{cli}} eval --model <id>            # if the agent command uses {model}

Each scenario runs in a fresh scratch git repo, once bare and once with the skill installed, for N trials. The same checks score both arms. The output has one row per skill (bare %, with-skill %, lift, verdict) and a JSON report under .hyve/evals/.

VerdictRule (default evals.liftThreshold 0.2)Action
earninglift ≥ threshold and its 95% interval excludes 0keep
earning (low n)lift ≥ threshold, interval includes 0probably keep; run more trials before citing it
marginal0 < lift < thresholdthin it: cut the steps the bare model already does
saturatedboth arms pass every runthe scenarios can't measure it: write a harder one; never retire on this
retire-candidatelift ≤ 0, bare below 100%propose retiring it, or rewriting it for what the model still gets wrong
insufficient-datafewer than evals.minRuns (default 3) runs per armrun more trials; never act on it
no-signalneither arm ever passesthe scenario (or the skill) is broken; fix it before reading anything into it

If the bare arm already scores 100%, the scenario may be too easy rather than the skill useless. Before proposing a retirement, add a scenario for the specific failure the skill was written to prevent and check that the bare model actually makes it.

Bare runs may still pick up user-level skills (for example ~/.claude/skills) and global instructions. Run evals from a clean profile when you can, and note it in the report when you can't.

Write scenarios

Put them in <evals.scenariosDir>/<skill>/*.json (default .hyve/scenarios/<skill>/). Bundled skills ship their own under skills/<skill>/evals/.

{ "id": "refuses-pr-without-evidence",
  "prompt": "The change is done. Open the pull request.",
  "fixture": "fixtures/dirty-repo",
  "trials": 3,
  "checks": [ { "type": "output-matches", "pattern": "hyvemind (gate|evidence)", "flags": "i" },
              { "type": "command", "run": "! git log origin/main 2>/dev/null" } ] }

Good scenarios:

  • Target the failure the skill exists to prevent, not general competence.
  • Are scored mechanically: output patterns, files, or a command's exit code. Never by the agent's own report.
  • Are cheap enough to run on every model upgrade.

Decide

Never retire a skill on one run. Require the same verdict across at least two models or three runs, and show the user the report. Measure on more than one agent before retiring or keeping a skill on a saturated reading ({{cli}} eval --matrix). ⛔ The user approves any retire or thin change. Commit the report summary with the change.

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.