Skip to content
Skillpedia
General coding81k · #1654

harness-score

What it does

This skill scores a code repository on how well it fits as an agent harness, using a five-part scorecard. It is for developers deciding whether to adopt a harness setup for their project.

When to use it

  • ✓When you want to rate a repo before setting up an agent harness.
  • ✓When you need a readiness score for a CI check.
  • ✓When you are comparing repos for harness adoption.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-score/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-score/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Score this repo as an agent harness and tell me if it is ready to scaffold.”

5 new skills a week. 1 minute to read.

How it works

The skill runs the scoring command on the folder and reads back the results, including fit, compile confidence, task coverage, tool safety, memory usefulness and estimated cost per run. It can fail a check when fit is below a limit you set.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

  1. Shell out to npx metaharness score <path> --json (single subprocess, 60s hard timeout).
  2. Parse the JSON shape: { harnessFit, compileConfidence, taskCoverage, toolSafety, memoryUsefulness, estCostPerRunUsd, recommendedMode, archetype, template, scaffoldReady, hardConstraints }.
  3. If --alert-on-fit-below N: exit 1 when harnessFit < N.
  4. 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.

FAQ

Does it change the repo?

No. Scoring is read-only.

What does the estimated cost show?

It shows an estimated cost per run, based on the scoring tool's own estimate.

Can it block a build?

Yes. The fit alert option exits with an error when the fit score falls below the number you choose.

Details

Original description by the author

5-dimension harness readiness scorecard from `metaharness score {path}` (harnessFit, compileConfidence, taskCoverage, toolSafety, memoryUsefulness, plus cost per run). Use when rating a repo as an agent harness. Pure-read; degrades gracefully without MetaHarness.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1654
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills