/ruflo-metaharness:harness-gepa --op genome|validate|render|analyze [--path <genome.json>] [--transcript <t.json>] [--alert-on-invalid]from ruflo-metaharness
Loads, validates, renders, or analyzes GEPA (genetic-evolution prompt-adaptation) genomes from @metaharness/darwin/gepa. Use for inspecting evolved policies, auditing genome promotions, CI-gating genome edits, or debugging bad runs via failure-mode classification.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Surfaces the GEPA (genetic-evolution prompt-adaptation) library exports
from @metaharness/darwin/gepa. Unlike the other skills in this plugin
there is no CLI binary behind this — the script dynamic-imports the library
(local resolution first, versioned cache install as fallback) and calls the
subprocess-safe subset.
--op render shows the actual system
prompt a genome compiles to — read THAT, not the raw JSON, before
wiring a genome into a harness.--op genome loads + validates the shipped
cand-6 genome (first holdout-confirmed cheap-tier promotion; provenance
ships in the package) or any genome file you point at.--op validate --alert-on-invalid exits 1
on structural errors.--op analyze --transcript run.json classifies
failure modes (GEPA's failure-class taxonomy) from a transcript array.gepaOptimize — the optimization loop takes an in-process
evaluate(candidate) callback ("bring your own evaluator") that cannot
cross a subprocess boundary. Two supported paths instead:
import { gepaOptimize, loadCand6Genome } from '@metaharness/darwin/gepa'harness-evolve (darwin CLI evolve),
which pairs GEPA with its own sandbox evaluators.Implementation: scripts/gepa.mjs.
import('@metaharness/darwin/gepa'); on MODULE_NOT_FOUND fall back to a
one-time npm install --prefix ~/.ruflo/darwin-cache-<pin> and import
the cached dist/gepa/index.js (versioned dir → pin bumps invalidate).--op:
genome → loadGenome(fs, path) or loadCand6Genome() + validateGenomevalidate → validateGenome(rawJson) (raw parse so broken files reach
the validator instead of throwing in the loader)render → buildSystemFromGenome(genome, ext?, glob?)analyze → analyzeTranscript(entries)--alert-on-invalid, 2 on bad input).node scripts/gepa.mjs --op genome # cand-6 + validation
node scripts/gepa.mjs --op render | jq -r .system # what does cand-6 SAY?
node scripts/gepa.mjs --op validate --path my-genome.json --alert-on-invalid
node scripts/gepa.mjs --op analyze --transcript run.json
0 — op completed (or degraded — darwin not installable)1 — --alert-on-invalid and validation found errors2 — config error (unknown op, missing/broken input file)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gepa, genome-inspection, genetic-evolution, prompt-adaptation, harness
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)./harness-genome7-section repo readiness report from `metaharness genome {path}`. Returns repo_type / agent_topology / risk_score / mcp_surface / test_confidence / publish_readiness. Pure-read; degrades gracefully (ADR-150)./harness-learnRun a GEPA learning cycle via `metaharness learn`, optimizing a harness genome against a SWE-bench-style slice. Use when training a harness genome. $0 dry-run by default; `--run` opts into spend. Needs a metaharness checkout (--repo or $METAHARNESS_REPO)./harness-mcp-scanStatic security scan of a harness's declared MCP surface via `harness mcp-scan {path}`. Reads `.mcp/servers.json` + `.harness/claims.json`. Pure-read, no dispatch. Exits 1 on findings at or above `--fail-on` severity.Other plugins' skills for the same job