harness-genome
它能做什么
这项技能读取代码仓库,并生成一份七个部分的报告,说明它作为智能体运行框架的就绪程度。适合在决定是否以某个项目为基础开发前进行判断的开发者。
适用场景
- ✓当你在决定某个仓库是否可以用作智能体运行框架时。
- ✓当你在设置自定义运行框架之前,想要一个风险评分时。
- ✓当你在发布项目之前,想要进行就绪度检查时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-genome/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我这个仓库的就绪度报告,包括风险评分,以及它是否可以发布。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能对该文件夹运行 genome 命令,并把每个部分作为数据返回。它保留就绪性结论,并且当风险评分高于你设定的上限时,可以使检查失败。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
- 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
常见问题
它会改动任何文件吗?
不会。这是只读报告。
风险评分表示什么?
它是一个 0 到 1 之间的数字,数值越高风险越大。你可以为它设置警报上限。
如果结论是需要改进或受阻怎么办?
这些都是有效结果,会作为结论报告,而不是作为错误。
详情
作者的原始描述
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).
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1648
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。