ontology-term-resolution

ontology-term-resolution is a skill for Claude Code from K-Dense-AI/scientific-agent-skills. It costs 254 tokens per session (3,602 once invoked), scanned A, original, MIT.

A tool for matching free-text scientific labels, such as a tissue or disease name, to official ontology identifiers. It also checks whether an existing identifier is valid and has the claimed meaning.

In plain words
What is it for?
Use it to resolve labels to ontology IDs or validate IDs in individual values and files through the EBI Ontology Lookup Service.
Why use it?
Scientific identifiers can look correct while silently referring to the wrong term. Verification reduces metadata errors in datasets, submissions, and published research.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to resolve labels to ontology IDs or validate IDs in individual values and files through the EBI Ontology Lookup Service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 58,946 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill ontology-term-resolution
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

Made for: Claude Code.

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 ontology-term-resolution

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution/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 ontology-term-resolution

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/ontology-term-resolution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 254 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,602 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. Third-party audits
  • Socket pass 21 Oct 2026
  • Snyk warn 21 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 22
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00254 $0.03602
Opus 5.5 $0.00102 $0.01441
Sonnet 5.5 $0.00051 $0.00720
Haiku 4.5 $0.00025 $0.00360

Measured 1mo ago against content hash db310515a230, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ontology-term-resolution 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 1mo ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/id_client.py, scripts/lookup_prefix.py, scripts/map_terms.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ontology-term-resolution/SKILL.md · 235 lines

How it starts

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

Ontology Term Resolution

When to use

Any time an ontology identifier is about to be written down or trusted: annotating a metadata column, filling a submission template, auditing a table someone else produced, or checking whether an ID in an old file is still current.

The rule

Never write an ontology ID from memory, and never accept one without checking it.

Ontology IDs are memorable in form and arbitrary in detail. A plausible-looking UBERON:0002108 is a real term (small intestine) that is not the liver, and nothing downstream will catch the substitution — the ID is well-formed, the ontology is right, and the metadata is silently wrong. Reviewers cannot spot it either, which is why these errors persist into published datasets.

OLS search and ZOOMA emit candidates. Validate each selected ID with OLS term detail, then check its definition against the sample and the target schema before accepting it. Bioregistry, Identifiers.org, ZOOMA, and Ontobee answer prefix, landing-page, and shorthand questions — they do not replace that OLS check.

Which service

Question Script Authority
What is the term for "left ventricle"? scripts/resolve_terms.py OLS
OLS missed lab shorthand (PBMC, WT) scripts/map_terms.py, then validate_terms.py ZOOMA proposes; OLS validates the term
Is EFO:0001067 real, current, correctly labelled? scripts/validate_terms.py OLS
Is HPO a real prefix? Does HP:notanid match the pattern? scripts/lookup_prefix.py Bioregistry
Which landing page should this CURIE open? scripts/lookup_prefix.py Identifiers.org + Ontobee URLs

All four scripts take single values or files, emit TSV or JSON, and need no packages beyond the standard library. Full traps for the non-OLS services are in references/companion-apis.md.

Resolve text to terms

cd skills/ontology-term-resolution/scripts

# one string, constrained to the ontology that should define it
python3 resolve_terms.py "liver" --ontology uberon

Read the full file on GitHub · 235 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. 1mo ago Changed · +20 lines · +1 tokens per session db310515a230
  2. 2mo ago Changed · +6 lines b93fb4c9ceea
  3. 2mo ago Changed · +44 lines · +52 tokens per session 8fbd0c71c442
  4. 2mo ago First seen · 165 lines · 201 tokens per session scan A 25e59f0c8fe4

Subscribe to this mod's changes

ontology-term-resolution is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (58,946 stars, last pushed 7d ago), licensed MIT. It adds 254 tokens to every session and 3,602 once invoked, about $0.0010 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-09-03.

Related

ontology-term-resolution compared with skills from other repositories

ontology-term-resolution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ontology-term-resolutionK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA254Claude Code
discovery-toolboxdekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA122Claude Code
discovery-directordekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA114Claude Code
notebooksfmschulz/omics-skillsSkill11yesterdayMITA29Claude Code
bio-annotationfmschulz/omics-skillsSkill11yesterdayMITA38Claude Code, Codex
bio-viromicsfmschulz/omics-skillsSkill11yesterdayMITA79Claude Code, Codex
polars-dovmedfmschulz/omics-skillsSkill11yesterdayMITA57Claude Code, Codex