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.
npx skills add berntpopp/genefoundry-router --skill phenotype-to-candidate-genesgit clone --depth 1 https://github.com/berntpopp/genefoundry-routerWrote 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.
[](https://agentmods.dev/skills/berntpopp/genefoundry-router/phenotype-to-candidate-genes)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Phenotypes → HP ids. Use HP ids exactly as given. Resolve each free-text feature
with
hpo_search_termsand take the top hit; do not page. Features stated as absent go intoexcluded_hpo_ids, never intohpo_ids=[…]. - 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 ONEhgnc_resolve_symbols_batchcall (max 200). Never resolve genes one at a time. Transcript ids (ENST…, NM_…) are not gene ids: if the batch reports them unresolved, tryhgnc_resolve_gene_by_xrefwithsource="mane_select"once per id (only MANE Select transcripts map); if that fails, list the id as unresolved. Never guess the gene. - One ranking call.
hpo_score_genes_for_phenotypesONCE with allhpo_ids=[…], theexcluded_hpo_ids, andcandidate_genes(when given). Never score terms one at a time. Do not page withoffset. Without candidates, the default top 20 is the shortlist. Report every entry inignored_hpo_idsandunranked_candidate_genes. - Close call only. If
close_callis false, the answer is rank 1. If it is true, compare only the genes inclose_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:- ONE
gencc_get_genes_curationscall 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. - Hallmark fit: the gene whose best disease matches the most specific input term at the
higher frequency (
f=intop_matches) and matches more input terms (matched_count). Iftop_matchesdoes not separate them, callhpo_get_phenotypes_for_geneonce per tied gene and count which list covers more of the patient's terms. - 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.
- ONE
- 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.
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.
- 6d ago First seen · 97 lines · 88 tokens per session scan A 0bac2ea809e2
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.
phenotype-to-candidate-genes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phenotype-to-candidate-genesberntpopp/genefoundry-router | Skill | 7 | 2d ago | MIT | A | 88 | Claude Code, Codex |
| onekgpdK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 143 | Claude Code |
| biopythonK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 65 | Claude Code |
| neuropixels-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 99 | Claude Code, Codex |
| pkpd-modelingK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 273 | Claude Code |
| pydicomK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 52 | Claude Code, Codex |
| clinical-decision-supportK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 51 | Claude Code, Codex |