harness-score
5-dimension harness readiness scorecard from `metaharness score <path>`. Returns harnessFit / compileConfidence / taskCoverage / toolSafety / memoryUsefulness + estCostPerRunUsd + scaffoldReady. Pure-read; subprocess invocation; degrades gracefully when MetaHarness is absent (ADR-150 architectural constraint).
How do I install this agent skill?
npx skills add https://github.com/ruvnet/ruflo --skill harness-scoreIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill executes an external package 'metaharness' using npx, which involves downloading and running code from a public registry. It also processes local file paths provided as arguments, which could present an indirect prompt injection surface.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Surfaces the upstream metaharness score CLI as a ruflo skill. Use when
Claude Code needs to assess whether a repo is ready for harness adoption
before recommending the user run npx ruflo init or harness-mint.
Algorithm
Implementation: scripts/score.mjs.
- Shell out to
npx metaharness score <path> --json(single subprocess, 60s hard timeout). - Parse the JSON shape:
{ harnessFit, compileConfidence, taskCoverage, toolSafety, memoryUsefulness, estCostPerRunUsd, recommendedMode, archetype, template, scaffoldReady, hardConstraints }. - If
--alert-on-fit-below N: exit 1 whenharnessFit < N. - Output JSON (default) or markdown table.
Phase-0 baseline (ruflo's own scorecard, measured 2026-06-16)
| Dimension | Value |
|---|---|
| harnessFit | 82/100 |
| compileConfidence | 100 |
| taskCoverage | 79 |
| toolSafety | 100 |
| memoryUsefulness | 40 |
| estCostPerRunUsd | $0.048 |
| recommendedMode | CLI + MCP |
| archetype | typescript-sdk-harness |
| template | vertical:coding |
| scaffoldReady | true |
Ruflo passes its own readiness check. memoryUsefulness: 40 is the
weakest dimension — track this as a leading indicator for future memory
work in the AgentDB layer.
CI integration
node plugins/ruflo-metaharness/scripts/score.mjs --alert-on-fit-below 70 --format json
Exit 1 fails the build. Pair with harness-genome for the full
7-section view.
Graceful degradation (ADR-150 architectural constraint rule #3)
When metaharness is not installed and npx can't fetch it (offline,
no network, registry unreachable), the script emits:
{
"degraded": true,
"reason": "metaharness-not-available",
"hint": "Install with `npm i -D metaharness@~0.4.1` (pinned range — this plugin never fetches @latest) or verify network access for the one-time cache install."
}
and exits 0. Ruflo continues to function — this is the architectural constraint in action.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ruvnet/ruflo/harness-score">View harness-score on skillZs</a>