chebi-query

Retrieve chemical entities and biological roles from the ChEBI ontology.

130|4|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/QSong-github/DrugClaw --skill chebi-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chebi-query
Source: https://github.com/QSong-github/DrugClaw/tree/main/skills/drug_ontology/chebi
Command: npx skills add https://github.com/QSong-github/DrugClaw --skill chebi-query

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieve accurate chemical-entity information from the ChEBI ontology, mapping user input to canonical entries and their biological context.

Core Features & Use Cases

  • Auto-detect input type (ChEBI ID or free text) and perform full entity lookup or full-text search.
  • Batch support: submit multiple queries and receive structured results for each.
  • Return rich fields: chebi_accession, name, definition, chemical_data, default_structure, names, ontology_relations, and cross-references for downstream reasoning.
  • Example Use Case: A researcher looks up "imatinib" to get its ChEBI entry, synonyms, and biological roles to map targets and related pathways.

Quick Start

Look up aspirin by name to retrieve its ChEBI entry and related ontology data.

Frequently Asked Questions about chebi-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve chemical entities and their biological roles from the ChEBI ontology?

To retrieve ChEBI chemical entities and their biological roles, you can query using either a ChEBI ID or free-text input to fetch structured results including names, definitions, chemical data, and ontology relations.

Can I perform a batch search for multiple chemical entities in ChEBI?

Yes, you can submit multiple queries at once to perform a batch search in ChEBI. The system processes each query and returns structured results for every requested chemical entity.

How do I look up a specific chemical compound like aspirin using a free-text query?

You can look up a chemical compound like aspirin using a free-text query. The tool auto-detects the input type and performs a full-text search to return the matching ChEBI entry and its related ontology data.

What specific biological and chemical data fields are returned from a ChEBI lookup?

A ChEBI lookup returns structured fields including chebi_accession, name, definition, chemical_data, default_structure, synonyms, ontology_relations, and cross-references for downstream reasoning.

Does the ChEBI query tool require any external dependencies or libraries?

No external dependencies are required to use the ChEBI query tool. It relies on the ChEBI 2.0 REST API natively, with an optional CLI library available for specific usage scenarios.

Why map chemical entities to their biological roles and ontology relations?

Mapping chemical entities to their biological roles and ontology relations allows you to identify canonical ChEBI entries and use their cross-references for downstream reasoning tasks, target mapping, and pathway exploration.