ontology-term-resolution

ontology-term-resolution is a skill for Claude Code from synthetic-sciences/openscience. It costs 253 tokens per session (3,084 once invoked), scanned A, original, Apache-2.0.

A tool for finding and checking identifiers from scientific ontologies, which are controlled vocabularies that give concepts stable IDs. It checks terms through services such as the EBI Ontology Lookup Service and resolves scientific shorthand.

In plain words
What is it for?
Use it to turn labels such as anatomy or laboratory shorthand into ontology IDs, verify existing CURIEs, check identifier prefixes, and create links to term pages.
Why use it?
A plausible-looking identifier can refer to the wrong concept, silently corrupting metadata or analysis. Checking the live term helps catch wrong, outdated, or ambiguous IDs before they are stored.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to turn labels such as anatomy or laboratory shorthand into ontology IDs, verify existing CURIEs, check identifier prefixes, and create links to term pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/ontology-term-resolution
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,025 stars · on GitHub · openscience.sh

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 synthetic-sciences/openscience --skill ontology-term-resolution
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

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/synthetic-sciences/openscience/ontology-term-resolution/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/ontology-term-resolution)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/ontology-term-resolution"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/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/synthetic-sciences/openscience/ontology-term-resolution"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/ontology-term-resolution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 253 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,084 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.00253 $0.03084
Opus 5.5 $0.00101 $0.01234
Sonnet 5.5 $0.00051 $0.00617
Haiku 4.5 $0.00025 $0.00308

Measured 1mo ago against content hash 4cdf84a9f8d2, 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

backend/cli/skills/databases/ontology-term-resolution/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 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.

Every ID this skill emits comes from a live OLS lookup. Every ID it is handed gets verified. 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 decides
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
query   rank  curie           label  ontology  match_type   strategy  defining_ontology
liver   1     UBERON:0002107  liver  uberon    exact_label  exact     true

Read the full file on GitHub · 216 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 · +5 lines 4cdf84a9f8d2
  2. 1mo ago First seen · 211 lines · 253 tokens per session scan A eabbe78bc612

Subscribe to this mod's changes

ontology-term-resolution is a skill published in the GitHub repository synthetic-sciences/openscience (4,025 stars, last pushed today), licensed Apache-2.0. It adds 253 tokens to every session and 3,084 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-14.