# chebi-skill

Query ChEBI 2.0 for chemical searches, compound records, ontology links, and structure metadata. Use it when an agent needs a concise ChEBI summary.

- skill · `type=skill` · Codex, ChatGPT · 13 installs · ★ 7596
- Author: OpenAI · official OpenAI repository
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/openai/plugins/tree/HEAD/plugins/life-science-research/skills/chebi-skill/SKILL.md
- Updated: 2026-10-08
- HTML: https://affpapa.org/en/nevibecode/skills/chebi-skill

## What it does

The skill searches ChEBI by text, fetches a compound record by its identifier, and follows parent or child links in the ontology. It uses `es_search/` for text lookup and `compound/<CHEBI:id>/` for a targeted record. Structure metadata is also within scope. By default, the script’s JSON response is turned into a short Markdown summary.

Every ChEBI request goes through `scripts/rest_request.py`. The script reads a JSON object from stdin; `base_url` and `path` are required, and the service address is `https://www.ebi.ac.uk`. Ask for raw JSON when you need machine-readable output. The input format also supports saving a raw response with `save_raw` and `raw_output_path`.

The skill supports Codex and ChatGPT; the installation command below targets Codex. Requests run through the included script, so the skill relies on `scripts/rest_request.py` to contact ChEBI.

## Install

### Codex (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add openai/plugins --skill chebi-skill -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/chebi-skill/SKILL.md` — For all projects use ~/.agents/skills/

### Claude Code

1. **Skills CLI (Vercel)**
```bash
npx skills add openai/plugins --skill chebi-skill -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/chebi-skill/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/chebi-skill/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/chebi-skill/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install openai/plugins chebi-skill
```

2. **Manually: put the files in place**
- File: `.github/skills/chebi-skill/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/openai/plugins --path plugins/life-science-research/skills/chebi-skill
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/chebi-skill/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/openai/plugins/tree/HEAD/plugins/life-science-research/skills/chebi-skill/SKILL.md

## When to use it
- find a chemical by a text query
- fetch a compound record by ChEBI identifier
- inspect child terms in the ontology
- trace parent terms for a compound
- retrieve chemical structure metadata

## Example prompts
- Look up caffeine in ChEBI and summarize the result.
- Fetch the ChEBI record for `CHEBI:27732` and give me its key details.
- Show the ontology children of `CHEBI:27732`.

## Similar
- [anysearch](https://affpapa.org/en/nevibecode/skills/anysearch.md) — skill · 38500 installs
- [academic-paper](https://affpapa.org/en/nevibecode/skills/academic-paper.md) — skill · 10800 installs
- [nature-figure](https://affpapa.org/en/nevibecode/skills/nature-figure.md) — skill · 18800 installs
- [academic-paper-reviewer](https://affpapa.org/en/nevibecode/skills/academic-paper-reviewer.md) — skill · 9800 installs
- [nature-polishing](https://affpapa.org/en/nevibecode/skills/nature-polishing.md) — skill · 17500 installs
- [nature-citation](https://affpapa.org/en/nevibecode/skills/nature-citation.md) — skill · 15600 installs

From the same set: [openai/plugins](https://affpapa.org/en/nevibecode/by/openai/plugins.md) — 422 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
