Skip to content
Skillpedia
Testing81k · #1645

harness-bench

What it does

This skill creates or verifies a benchmark suite, which is a fixed set of tasks used to score AI harness variants. It is for developers running evolution experiments who need stable, comparable scores.

When to use it

  • ✓When you set up a new evolution pipeline and need a fixed set of tasks to score against.
  • ✓When a test set should be checked on each change before results are compared.
  • ✓When you fork a harness to a new area and want scores comparable with the original.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-bench/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-bench/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a benchmark suite for my repo and check that it is valid.”

5 new skills a week. 1 minute to read.

How it works

The skill calls the darwin benchmark tool to create a suite from existing tests, or to verify a suite file. Verification exits with an error when a task is malformed.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Surfaces metaharness-darwin bench <create|verify> — the supporting verb for harness-evolve --bench. Use when you want evolution scored against a fixed corpus (independent of npm test) so champion fitness is comparable across commits or across forks of the same harness.

When to use

  • Setting up a new evolution pipeline for a repo whose npm test is flaky, slow, or undersized — scaffold a deterministic bench suite once, then evolve against it repeatedly.
  • CI: bench verify the checked-in suite on every PR that touches it (cheap; ~5s).
  • Forking a harness to a new domain: copy and edit the suite to retarget the evaluation without losing comparability to the parent.

Algorithm

Implementation: scripts/bench.mjs.

--op create

  1. Resolve --repo path; reject if missing.
  2. Shell to metaharness-darwin bench create <repo> [--out <suite.json>].
  3. Default output path: <repo>/.metaharness/bench/suite.json (chosen by upstream).
  4. Suite shape (per upstream): array of { input, expectedOutput, weight } tasks derived from existing test cases.

--op verify

  1. Resolve --suite path; reject if missing.
  2. Shell to metaharness-darwin bench verify <suite.json>.
  3. Exit 1 if any task malformed (upstream's signal).

Output shape

{
  "success": true,
  "data": {
    "op": "verify",
    "taskCount": 42,
    "wellFormed": true,
    "durationMs": 870
  }
}

Exit codes

Code Meaning
0 OK (or degraded — Darwin absent)
1 --op verify and suite malformed
2 Config error or upstream invocation failure

Graceful degradation

When @metaharness/darwin is absent, emits the standard {degraded: true, reason: 'metaharness-darwin-not-available'} payload and exits 0.

FAQ

What is a suite made of?

The source says it is a list of tasks, each with an input, an expected output and a weight, derived from existing test cases.

What if the darwin package is missing?

The skill reports that it is unavailable instead of crashing.

Does it run the evolution itself?

No. It only creates or checks the benchmark. The harness-evolve skill does the scoring runs.

Details

Original description by the author

Create (`bench create {repo}`) or verify (`bench verify {suite.json}`) a @metaharness/darwin bench suite, the fixed corpus `harness-evolve --bench` scores variants against. Use when preparing an evolution benchmark. Degrades gracefully without darwin.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1645
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills