phenotype-to-candidate-genes

phenotype-to-candidate-genes is a skill for Claude Code, Codex from berntpopp/genefoundry-router. It costs 88 tokens per session (1,565 once invoked), scanned A, original, MIT.

A genetics workflow that matches a person's clinical features to the genes most likely to explain them. It can also rank a supplied list of genes from exome or genome testing.

In plain words
What is it for?
Use it to turn HPO terms—standard codes for human clinical features—into a ranked list of possible causal genes, with or without an existing candidate list.
Why use it?
It removes the need to manually translate clinical features into standard terms and compare many genes one by one. It also explains which evidence led to the ranking.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn HPO terms—standard codes for human clinical features—into a ranked list of possible causal genes, with or without an existing candidate list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add berntpopp/genefoundry-router --skill phenotype-to-candidate-genes
Clone the repo
git clone --depth 1 https://github.com/berntpopp/genefoundry-router

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phenotype-to-candidate-genes

README.md
[![agentmods](https://agentmods.dev/badge/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes/github.svg)](https://agentmods.dev/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes)
Your own site
<a href="https://agentmods.dev/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes"><img src="https://agentmods.dev/badge/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phenotype-to-candidate-genes

Your own site · 80×15
<a href="https://agentmods.dev/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes"><img src="https://agentmods.dev/badge/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.01565
Opus 5.5 $0.00035 $0.00626
Sonnet 5.5 $0.00018 $0.00313
Haiku 4.5 $0.00009 $0.00156

Measured 6d ago against content hash 0bac2ea809e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

phenotype-to-candidate-genes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/phenotype-to-candidate-genes/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Phenotype to candidate genes

Goal: name the most likely causal gene for a phenotype profile in about 4–6 tool calls, and say which evidence decided it. Reach tools through search_tools → call_tool; the hpo_* and hgnc_* entry points below are also callable directly.

Steps

  1. Phenotypes → HP ids. Use HP ids exactly as given. Resolve each free-text feature with hpo_search_terms and take the top hit; do not page. Features stated as absent go into excluded_hpo_ids, never into hpo_ids=[…].
  2. Candidate genes → symbols, once, in batch. If candidates are anything other than gene symbols or NCBI gene ids (Ensembl ENSG…, HGNC: ids, RefSeq, UniProt), translate the whole list in ONE hgnc_resolve_symbols_batch call (max 200). Never resolve genes one at a time. Transcript ids (ENST…, NM_…) are not gene ids: if the batch reports them unresolved, try hgnc_resolve_gene_by_xref with source="mane_select" once per id (only MANE Select transcripts map); if that fails, list the id as unresolved. Never guess the gene.
  3. One ranking call. hpo_score_genes_for_phenotypes ONCE with all hpo_ids=[…], the excluded_hpo_ids, and candidate_genes (when given). Never score terms one at a time. Do not page with offset. Without candidates, the default top 20 is the shortlist. Report every entry in ignored_hpo_ids and unranked_candidate_genes.
  4. Close call only. If close_call is false, the answer is rank 1. If it is true, compare only the genes in close_call_genes (usually 2–3). Never pick rank 1 just because it is first. Break the tie in this order and stop at the first that separates:
    1. ONE gencc_get_genes_curations call with those genes: a gene with no Definitive / Strong / Moderate curation for a disease matching the phenotype loses (Disputed/Refuted always lose). Do not page the curations. If every gene has such a curation, curation does not separate them: go to 2.
    2. Hallmark fit: the gene whose best disease matches the most specific input term at the higher frequency (f= in top_matches) and matches more input terms (matched_count). If top_matches does not separate them, call hpo_get_phenotypes_for_gene once per tied gene and count which list covers more of the patient's terms.
    3. Inheritance and sex fit, if the patient's sex or family history is given (e.g. an X-linked gene that affects mainly females, in a male patient). If still tied, say so: name the tied genes in order and what would separate them (variant data, segregation, sex, onset age). If the request needs a single gene, give the first tied gene after these tie-breaks and say it was a close call. The answer is always one of the genes you compared, never a gene outside close_call_genes.
  5. Stop. Answer after step 3 (clear winner) or step 4 (close call). Do not re-rank with other term subsets, do not page, do not re-check the winner with more sources.

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 97 lines · 88 tokens per session scan A 0bac2ea809e2

Subscribe to this mod's changes

phenotype-to-candidate-genes is a skill published in the GitHub repository berntpopp/genefoundry-router (7 stars, last pushed 2d ago), licensed MIT. It adds 88 tokens to every session and 1,565 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

phenotype-to-candidate-genes compared with skills from other repositories

phenotype-to-candidate-genes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
phenotype-to-candidate-genesberntpopp/genefoundry-routerSkill72d agoMITA88Claude Code, Codex
onekgpdK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA143Claude Code
biopythonK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA65Claude Code
neuropixels-analysisK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA99Claude Code, Codex
pkpd-modelingK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA273Claude Code
pydicomK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA52Claude Code, Codex
clinical-decision-supportK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA51Claude Code, Codex