Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ontology-term-resolution

Skill by K-Dense-AI

Resolves free-text scientific labels to ontology term IDs and checks existing IDs against the EBI OLS4 service. Built for researchers preparing metadata for GEO, ENA, BioSamples, CELLxGENE, HCA or ISA-Tab submission.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ontology-term-resolution

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/ontology-term-resolution ~/.claude/skills/ontology-term-resolution

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ontology-term-resolution in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

ontology-term-resolution is an agent skill from K-Dense-AI. It turns free-text scientific labels, such as tissue, cell type, disease, phenotype or assay names, into ontology term IDs using the EBI Ontology Lookup Service (OLS4). It also validates existing CURIEs, checks whether a term is obsolete and what replaced it, and looks up prefixes in Bioregistry.

The helper scripts use only the Python standard library and call public services: OLS4, Bioregistry, Identifiers.org and ZOOMA. ZOOMA maps lab shorthand such as PBMC, and Ontobee landing pages can be built from CURIEs. The skill is aimed at people annotating or auditing metadata tables. Its core rule is never to write an ontology ID from memory and always to check it.

Written from the project's SKILL.md and checked against it.

What it can do

  • resolve_terms.pyResolves a text label or a file of labels to candidate ontology terms, reporting the match type.
  • validate_terms.pyChecks IDs for existence, obsolescence, label agreement, ontology and branch. Exit codes suit CI use.
  • lookup_prefix.pyChecks prefixes and compact identifiers against Bioregistry and Identifiers.org.
  • map_terms.pyMaps lab shorthand such as PBMC to candidate terms through ZOOMA, which must then be validated.
  • Ontobee landing pagesProvides Ontobee URLs for a CURIE through lookup_prefix.py.

What you need

  • Python 3.11 or later
  • Network access to the public OLS4, Bioregistry, Identifiers.org and ZOOMA services

Try asking

  • Find the UBERON term for left ventricle and check it is current.
  • Validate the ontology IDs in this metadata.tsv file as a CI check.
  • Map the lab shorthand PBMC to a Cell Ontology term.

Good to know

  • Search results are bounded candidate lists, not exhaustive ambiguity checks.
  • not_found means absent from this OLS lookup, not proof that a term does not exist.
  • Ontobee has only an HTML interface, and the skill does not scrape it.
  • ZOOMA HIGH and GOOD are ranking buckets, not calibrated probabilities.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ontology-term-resolution/SKILL.md, skills/ontology-term-resolution/scripts/id_client.py, skills/ontology-term-resolution/scripts/lookup_prefix.py, skills/ontology-term-resolution/scripts/map_terms.py, skills/ontology-term-resolution/scripts/ols_client.py, skills/ontology-term-resolution/scripts/resolve_terms.py, skills/ontology-term-resolution/scripts/validate_terms.py, skills/ontology-term-resolution/scripts/zooma_client.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md14 KB
  • references/companion-apis.md9 KB
  • references/curation-rules.md6 KB
  • references/ols4-api.md7 KB
  • references/ontology-registry.md6 KB
Show all 12 files
  • scripts/id_client.py12 KB
  • scripts/lookup_prefix.py6 KB
  • scripts/map_terms.py7 KB
  • scripts/ols_client.py15 KB
  • scripts/resolve_terms.py8 KB
  • scripts/validate_terms.py11 KB
  • scripts/zooma_client.py5 KB

Alternatives to ontology-term-resolution

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

ontology-term-resolution: common questions

Does this skill invent ontology IDs?

No. The skill's rule is never to write an ontology ID from memory. Candidates from OLS or ZOOMA must be validated against OLS term detail before use.

Which ontologies does it suggest for each field?

The source lists MONDO for disease, HP for phenotype, UBERON for tissue, CL for cell type, EFO for assay, ChEBI for compounds and NCBITaxon for organism.

Which submission formats does it target?

The source names GEO, ENA, BioSamples, CELLxGENE, HCA and ISA-Tab metadata submissions.

How do I install ontology-term-resolution?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ontology-term-resolution free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ontology-term-resolution safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ontology-term-resolution?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

ontology-term-resolution Install

Add to stack

Loading.