Skip to content
Development
Skill

/harness-genome

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

From plugin
claude-flow
67k200 skills157 agents194 commands1 MCP
Install
$ npx -y skills add ruvnet/ruflo --skill harness-genome --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/harness-genome

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

harness-genome.SKILL.md
name: harness-genome
description: 7-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).
argument-hint: "[--path .] [--alert-on-risk-above 0.5] [--format table|json]"
allowed-tools: Bash

Companion to `harness-score`. Where score is a 5-dimension numeric scorecard, genome is a 7-section categorical/numeric report covering repo type, agent topology recommendations, risk score (0-1), MCP surface area, test confidence (0-1), and publish readiness (0-1).

Algorithm

Implementation: [`scripts/genome.mjs`](../../scripts/genome.mjs).

1. Shell out to `npx metaharness genome <path> --json` (60s hard timeout). 2. Parse the shape: `{ repo_type, agent_topology[], risk_score, mcp_surface, test_confidence, publish_readiness }`. 3. Preserve upstream's readiness verdict as `verdict` and `verdictExitCode`. Upstream exits 1 for `needs-work` and 2 for `blocked`; these are valid reports, so the wrapper returns them successfully. 4. If `--alert-on-risk-above N`: exit 1 when `risk_score > N`. 5. Output JSON (default) or markdown.

Phase-0 baseline (ruflo, measured 2026-06-16)

{
  "repo_type": "node_mcp_ci",
  "agent_topology": ["maintainer", "tester", "security", "release"],
  "risk_score": 0.27,
  "mcp_surface": "remote",
  "test_confidence": 0.8,
  "publish_readiness": 0.9
}

Ruflo's `risk_score: 0.27` is low (good). `publish_readiness: 0.9` is high. The `mcp_surface: "remote"` reflects that ruflo's MCP servers are hosted, not bundled.

When to use

  • Pre-mint review: "before scaffolding a custom harness from this repo,

should we?" — genome answers it categorically.

  • Drift detection: capture genome snapshots over time, diff via

cost-diff-style tooling to spot when `agent_topology` recommendations drift away from a deliberate architecture choice.

  • CI gate: `--alert-on-risk-above 0.5` fails the build when the repo's

risk profile crosses a threshold.

Pairs with

  • `harness-score` — numeric readiness
  • `harness-mcp-scan` — static MCP security findings
  • `harness-threat-model` — enterprise-review-grade threat model
Read more
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin

Other skills on claude-flow.