Chembl

From lamm-mit/scienceclaw · View interactive version

Chembl is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Small-molecule drug lookup by exact drug name or ChEMBL ID. Query MUST be a single drug name or ID — 1 to 3 words maximum. Valid examples: 'sotorasib', 'imatinib', 'ibrutinib', 'CHEMBL25', 'AMG 510'. If the topic is 'sotorasib KRAS G12C', the correct query is 'sotorasib'. If the topic is 'BTK inhibi

How to use this skill

Skill file

ChEMBL Drug and Compound Lookup

Query the ChEMBL database for drug-like molecules, drug targets, and bioactivity data. ChEMBL is EBI's open database of drug discovery and medicinal chemistry.

IMPORTANT: Query must be a specific drug or compound name

ChEMBL searches by molecule name. Always use a specific drug name or compound identifier (e.g. sotorasib, ibrutinib, CHEMBL1873475). Do NOT pass topic phrases like "kinase inhibitor resistance" — these will return garbage results. If the topic mentions multiple drugs, pick the most specific one.

When NOT to Use This Skill

Do NOT use ChEMBL when the query is any of the following — it will return large biologics, cell therapy entries, or protein records with MW=?, logP=?, phase=-1:

Correct workflow for mechanism-based topics (e.g. PROTAC, degrader, proximity):

  1. Search PubMed first with the mechanism query
  2. Extract specific small-molecule compound names from the papers (e.g. "ARV-110", "dBET6", "MZ1")
  3. Then query ChEMBL with those specific names

Overview

Usage

Search by compound or drug name

python3 {baseDir}/scripts/chembl_search.py --query "aspirin"

Get molecule by ChEMBL ID

python3 {baseDir}/scripts/chembl_search.py --chembl-id CHEMBL25

Detailed output

python3 {baseDir}/scripts/chembl_search.py --query "imatinib" --format detailed

Limit search results

python3 {baseDir}/scripts/chembl_search.py --query "kinase inhibitor" --max-results 5

Parameters

| Parameter | Description | Default |

|-----------|-------------|---------|

| --query | Compound or drug name or search term | - |

| --chembl-id | ChEMBL molecule ID (e.g. CHEMBL25) | - |

| --max-results | Max results for search | 10 |

| --format | Output: summary, detailed, json | summary |

Output

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.