alphafold_database_fet…
Retrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides…
Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data, approved drugs, and chemical structures. Use when the user asks about compounds, targets, IC50/Ki values, drug mechanisms, or structure searches.
$ npx -y skills add google-deepmind/science-skills --skill chembl_database --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/chembl_databaseContext preview
The summary Claude sees to decide when to auto-load this skill.
Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data, approved drugs, and chemical structures. Use when the user asks about compounds, targets, IC50/Ki values, drug mechanisms, or structure searches.
name: chembl-database description: > Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data, approved drugs, and chemical structures. Use when the user asks about compounds, targets, IC50/Ki values, drug mechanisms, or structure searches.
1. **`uv`**: Read the `uv` skill and follow its Setup instructions to ensure `uv` is installed and on PATH. 2. **User Notification**: If .licenses/chembl_database_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://chembl.gitbook.io/chembl-interface-documentation/about, then (2) create the file recording the notification text and timestamp.
utility script `scripts/chembl_api.py` for all ChEMBL API interactions, including checking status. NEVER use `curl` or custom Python requests to query the ChEMBL API directly. This ensures rate limit is enfoced and also retries on network errors.
subcommand. All JSON results are written to the specified file. After running the command, read the output file with jq or your own code to extract the data. List results are typically wrapped in a JSON array keyed by the endpoint name (e.g., `molecules`, `activities`).
output.
All ChEMBL API queries use one script with subcommands:
uv run scripts/chembl_api.py <subcommand> --output <file> [options]
--------------------------------------------------------------------------------
uv run scripts/chembl_api.py status --output /tmp/status.json
--------------------------------------------------------------------------------
**Fetch by ChEMBL ID:** `bash uv run scripts/chembl_api.py molecule --id CHEMBL25 --output /tmp/mol.json`
**Search by name:** `bash uv run scripts/chembl_api.py molecule --search "aspirin" --limit 3 --output /tmp/mol_search.json`
**Batch fetch:** `bash uv run scripts/chembl_api.py molecule --ids "CHEMBL25;CHEMBL1642" --limit 10 --output /tmp/mol_batch.json`
**Filter by properties:** `bash uv run scripts/chembl_api.py molecule --filter molecule_properties__mw_freebase__lte=500 --limit 5 --output /tmp/mol_filter.json`
**Filter by range:** `bash uv run scripts/chembl_api.py molecule --filter molecule_properties__mw_freebase__range=150,200 --limit 5 --output /tmp/mol_range.json`
**Download SDF structure file:** `bash uv run scripts/chembl_api.py molecule --id CHEMBL25 --dl_format sdf --output /tmp/aspirin.sdf`
> **Tip**: SDF/MOL files can be passed directly to tools like PyMOL or RDKit for > 3D visualization and analysis.
--------------------------------------------------------------------------------
**Search for targets:** `bash uv run scripts/chembl_api.py target --search "EGFR" --limit 5 --output /tmp/targets.json`
**Fetch by ID:** `bash uv run scripts/chembl_api.py target --id CHEMBL203 --output /tmp/egfr.json`
--------------------------------------------------------------------------------
**Fetch activity by ID:** `bash uv run scripts/chembl_api.py activity --id 31863 --output /tmp/act.json`
**Search activities:** `bash uv run scripts/chembl_api.py activity --search "EGFR" --limit 5 --output /tmp/act_search.json`
**Filter activities for a target:** `bash uv run scripts/chembl_api.py activity --filter target_chembl_id=CHEMBL203 standard_type=IC50 --limit 10 --output /tmp/egfr_ic50.json`
**Normalize bioactivity units to nM:** `bash uv run scripts/chembl_api.py activity --filter target_chembl_id=CHEMBL203 standard_type=IC50 --limit 5 --normalize --output /tmp/egfr_normalized.json`
> **Important**: Bioactivity values come in various units (nM, µM, pM). Use > `--normalize` to convert all values to nM for consistent comparison. Each > record will include `normalized_value_nM` and `normalization_note`.
--------------------------------------------------------------------------------
**Fetch drug details:** `bash uv run scripts/chembl_api.py drug --id CHEMBL25 --output /tmp/drug.json`
**Drug indications:** `bash uv run scripts/chembl_api.py drug_indication --filter molecule_chembl_id=CHEMBL25 --limit 10 --output /tmp/indications.json`
**Filter indications by phase:** `bash uv run scripts/chembl_api.py drug_indication --filter molecule_chembl_id=CHEMBL25 max_phase_for_ind=4.0 --limit 10 --output /tmp/approved_indications.json`
**Drug warnings:** `bash uv run scripts/chembl_api.py drug_warning --limit 5 --output /tmp/warnings.json`
**Mechanisms of action:** `bash uv run scripts/chembl_api.py mechanism --filter molecule_chembl_id=CHEMBL25 --limit 5 --output /tmp/mech.json`
--------------------------------------------------------------------------------
> **Note**: Both similarity and substructure searches are performed > **server-side** on ChEMBL's pre-indexed database. They do not require a local > RDKit installation.
**Similarity search (SMILES + threshold):** `bash uv run scripts/chembl_api.py similarity --smiles "CC(=O)Oc1ccccc1C(=O)O" --similarity 85 --limit 5 --output /tmp/similar.json`
**Substructure search (SMILES):** `bash uv run scripts/chembl_api.py substructure --smiles "c1ccccc1" --limit 5 --output /tmp/substruct.json`
--------------------------------------------------------------------------------
Download a 2D structure image (SVG by default, scalable for publication):
uv run scripts/chembl_api.py image --id CHEMBL25 --output /tmp/chembl25.svg
*Options:*
A collection of agent skills for scientific research tasks, spanning genomics, structural biology, cheminformatics, literature search, and more.
Retrieve and analyze AlphaFold predicted structures for a protein. Use when the user provides…
Constructs deep-links and URLs for the AlphaGenome Atlas website. Supports generating…
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility…
Score, annotate, and analyze the functional impact of genetic variants using AlphaGenome…
Query ClinicalTrials.gov via APIv2. Use when you want to search for trials by condition,…
Use when needing clinical significance, pathogenicity classifications (e.g., Pathogenic,…