/ruflo-metaharness:harness-learn --host <h> --model <m> --slice <manifest> [--repo <checkout>] [--run] [--alert-on-fail]from ruflo-metaharness
Runs a GEPA learning cycle to evolve harness policy genomes against SWE-bench-style task slices. Dry-run reports cost; --run opts into spend.
Ships in ruflo-metaharness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Surfaces metaharness learn — the upstream GEPA learning harness that
evolves harness policy genomes against a scored task corpus instead of
hand-editing prompts. Candidates are scored on held-out slices and only
measured winners promote (the shipped cand-6 genome is the first such
promotion: holdout gold 2/12 → 3/12, zero regressions).
harness-gepa --op render
to inspect what the promoted policy actually says.The learning harness (GEPA + SWE-bench + Docker) is too heavy for the npm
package, so learn needs a local clone:
git clone https://github.com/ruvnet/metaharness.git
node scripts/learn.mjs --repo ./metaharness --host claude-code --model haiku --slice slices/lite.json
Without a checkout the script emits {status: "checkout-required"} and
exits 0 — a precondition report, not an error (distinct from
degraded: true, which means the npm package itself is absent). The
managed-service path (gateway-side learn jobs, no checkout) is upstream's
ADR-235 follow-up and not available yet.
Implementation: scripts/learn.mjs.
--repo exists when given; export it as $METAHARNESS_REPO.metaharness binary (metaharness@~0.4.1, local install
or one-time versioned cache — never @latest): metaharness learn --host <h> --model <m> --slice <s> [--run] via _harness.mjs (graceful degradation,
hard timeout).--run — real runs on larger
slices need an explicit --timeout-ms matched to slice size × model cost.rawReport.--run is the ONLY path that spends. Everything else — dry-run, checkout
probe, degraded path — is $0. The MCP tool (metaharness_learn) has a 120s
subprocess budget; run real learning cycles from a terminal via
ruflo metaharness learn ... --run --timeout-ms <big>.
0 — report produced (or dry-run, checkout-required, degraded)1 — --alert-on-fail and the learn run reported failure2 — config error (bad --repo path)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ruvnet/ruflo --plugin ruflo-metaharness13 skills in this plugin
/harness-benchCreate (`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./harness-drift-from-historyOne-command drift detection: run a fresh metaharness audit, diff it against the latest stored audit by ADR-152 similarity, and alert when the distance crosses `--threshold`. Use when checking whether a harness has drifted since its last audit./harness-evolveRun `@metaharness/darwin evolve {repo}`: mutate a harness's seven policy surfaces, sandbox-score each variant and promote only measured wins. Use when evolving a harness against its tests or a bench suite. Degrades gracefully without darwin (ADR-150/153).Other plugins' skills for the same job