An idea-autopsy system for Claude Code. /genome <idea> reverse-engineers any novel idea — a product, business move, viral artifact, or clever hack — through a rigor-guarded 12-layer dissection, then harvests the generative principle behind it into a compounding library you can build with.
The showcase site: https://genome-site-mu.vercel.app (that's index.html in this repo)
curl -fsSL https://raw.githubusercontent.com/tripleyak/genome-site/master/install.sh | bashThen restart Claude Code (skills load at session start) and try:
/genome "the Stanley Quencher comeback"
Requirements: Claude Code, python3, git.
| Piece | Where | Role |
|---|---|---|
/genome skill (SKILL.md + METHOD.md + gallery generator) |
~/.claude/skills/genome/ |
12 layers, 8 anti-just-so guardrails, research-agent prompts, templates |
| Radar hook (dual-family) | ~/.claude/hooks/scout_radar.py + registered in settings.json |
Watches prompts for "how did they think of this / why did this work" moments |
| Grading rubric | ~/.claude/rubrics/genome-autopsy.md |
Autopsies + principles are graded by a fresh-context verifier — never self-certified |
| Verifier agent | ~/.claude/agents/verifier.md |
Independent rubric grader (installed only if you don't already have one) |
| Library | ~/kb/genome/ (autopsies, principles, _situations.md routing, frontier queue) |
Alexandrian-form principles that compound by the rule of three |
| Gallery app | ~/kb/genome/outputs/library.html (regenerated by build_library.py) |
Self-regenerating, searchable specimen archive — never hand-edited |
The installer is idempotent and backs up any existing ~/.claude/skills/genome/ before replacing it. It never overwrites library content or your existing verifier agent.
- Dissect — 12 layers from Naked Move to Generative Principle: the problem, the anomaly, the reframe, the prior patterns it recombines, the mechanism as a causal chain, the incentive map, what was knowable at founding time, and the ≤6-word compression ("Get paid to wait").
- Guardrails — 8 mandatory anti-just-so checks: ≥3 plausible generative paths (never asserted biography), necessary-vs-optional insights, ≥5 kill conditions, the halo test, the denominator (survivorship correction), the tarpit check, the execution term, and the equal-odds null.
- Harvest — each principle is filed in Alexandrian form: claim-shaped title, forces, "Therefore:", known uses, price, kill conditions, type (
brilliance|avoidance). Repeat encounters strengthen existing principles — never duplicate (concept-orientation). - Route —
_situations.mdmaps tension phrases ("commoditized product, can't compete on features") to applicable principles. Consult it when planning or stuck. - Verify — a fresh-context verifier grades every autopsy against the rubric before it counts.
Modes: /genome quick <idea> (inline, nothing filed) · /genome <idea> (standard, 2 research agents) · /genome deep <idea> (adds an adversarial critique agent).
Scout — genome dissects ideas behind; scout maps territory ahead (unknown-unknowns domain briefs). They share the radar hook.
rm -rf ~/.claude/skills/genome ~/.claude/rubrics/genome-autopsy.md
# remove ~/.claude/hooks/scout_radar.py + its settings.json entry only if you don't also use scout
# your library in ~/kb/genome/ is yours — delete only if you want toMIT