About harness-genome
harness-genome is a repository assessment skill that produces a categorical and numeric report, including repository type, agent-topology recommendations, risk, MCP surface, test confidence, and publish readiness. It is intended for repository review and CI checks, with JSON or Markdown output and an optional risk threshold.
Key features
- 01Reports repository type and agent topology
- 02Measures risk, test confidence, and publish readiness
- 03Describes MCP surface area
- 04Preserves upstream verdict and exit code
- 05Supports risk-threshold alerts and Markdown output
Use cases
- 01Assess a repository before scaffolding a harness
- 02Track changes in agent-topology recommendations
- 03Fail CI when risk exceeds a set threshold
MCP support
The report includes an MCP surface-area field; the skill does not state that it exposes MCP tools or manages MCP servers.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ ruvnet/ ruflo --skill harness-genomeAfter installing, type/harness-genomein Claude Code to confirm it loaded.
Details
From the project READMECompanion 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.
- Shell out to
npx metaharness genome <path> --json(60s hard timeout). - Parse the shape:
{ repo_type, agent_topology[], risk_score, mcp_surface, test_confidence, publish_readiness }. - Preserve upstream's readiness verdict as
verdictandverdictExitCode. Upstream exits 1 forneeds-workand 2 forblocked; these are valid reports, so the wrapper returns them successfully. - If
--alert-on-risk-above N: exit 1 whenrisk_score > N. - 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_topologyrecommendations drift away from a deliberate architecture choice. - CI gate:
--alert-on-risk-above 0.5fails the build when the repo's risk profile crosses a threshold.
Pairs with
harness-score— numeric readinessharness-mcp-scan— static MCP security findingsharness-threat-model— enterprise-review-grade threat model