Repo Genome
Score a repository's readiness across test coverage, release, and deployment risk.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/repo-genome-ruvnet/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended harness plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.
What this skill does
repo-genome
Codex skill: 7-section readiness scorecard for a local repo — the ADR-031 Bundle JSON Pattern surfaced through Codex (iter 110 → 114).
What it does
Answers a different question than analyze-repo:
- analyze-repo — "which archetype / template / agents fit this repo?"
- repo-genome — "is this repo READY for that harness, and what's the risk?"
Produces a 7-section report:
- Repo profile — type, languages, build/test commands, ci presence
- Agent topology — recommended roles (maintainer / tester / security / release)
- MCP risk model — surface + numeric risk + policy posture
- Test confidence — how strong are the test signals
- Release readiness — buildable / testable / ci-wired
- Recommended harness plan — template, archetype, hosts, agents, skills
- Scorecard — risk_score, publish_readiness, test_confidence
LOCAL-only, deterministic, never executes repo code. Same invariant as
analyze-repo (inherited via the shared inventory/profile pipeline).
| Verdict | Exit | Meaning |
|---|---|---|
ready | 0 | publish_readiness >= 0.75 && risk_score < 0.35 |
needs-work | 1 | somewhere in the middle |
blocked | 2 | risk_score >= 0.7 |
Usage from Codex
/repo-genome path=./my-repo
/repo-genome path=./my-repo bundle=true
/repo-genome path=./my-repo out=./harness-genome.json
Equivalent CLI
harness genome ./my-repo # text report
harness genome ./my-repo --json # 6-field scorecard JSON
harness genome ./my-repo --bundle # ADR-031 schema-1 envelope
harness genome ./my-repo --out harness-genome.json # write scorecard to file
Sample 6-field output (--json)
{
"repo_type": "rust_node_polyglot_mcp_ci",
"agent_topology": ["maintainer", "tester", "security", "release"],
"risk_score": 0.31,
"mcp_surface": "local_default_deny",
"test_confidence": 0.86,
"publish_readiness": 0.78
}
When to use it
- Before scaffolding a harness — run genome first, decide whether the repo is ready or needs cleanup
- In CI on incoming PRs — post the genome report as a check; alert when risk_score crosses a threshold
- For support tickets —
--bundleemits the full readiness snapshot sanitised for safe sharing
Related skills
repo-analyze(iter — proposed) — the archetype-and-plan recommendationcompare-harnesses(iter 109) — diff two scaffolded harnessesdiag-harness(iter 70) — kernel-version skew checkscore-harness(iter 114) — post-scaffold harness scorecard
See also
Related skills
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
MCP Server Builder
anthropics
Build protocol servers that connect language models to external APIs and services.
Skill Builder & Optimizer
anthropics
Create, edit, and optimize Claude skills with performance testing and benchmarking.
Multi-Component Web Artifacts
anthropics
Build complex React artifacts with Tailwind CSS and shadcn/ui components.