Checking ChEMBL for Structured SAR Data

Checking ChEMBL for Structured SAR Data is a skill for Claude Code from kthorn/research-superpower. It costs 26 tokens per session (3,602 once invoked), scanned A, original, MIT.

A method for checking ChEMBL, a curated database of medicinal-chemistry research and drug-activity measurements. It uses the database to find structured results from relevant papers.

In plain words
What is it for?
Use it to check whether drug-discovery papers contain data such as IC50, MIC, Ki, or EC50 values, using a paper's DOI.
Why use it?
It can provide standardized activity data without manually extracting measurements from research-paper tables or PDFs.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths.

Part of the research-superpower plugin — 10 skills, 1 hook shipped together

Good fit Use it to check whether drug-discovery papers contain data such as IC50, MIC, Ki, or EC50 values, using a paper's DOI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kthorn/research-superpower/checking-chembl
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kthorn/research-superpower --skill checking-chembl
Clone the repo
git clone --depth 1 https://github.com/kthorn/research-superpower

Made for: Claude Code.

Or install research-superpower, the plugin that ships this one along with the rest of its 10 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Checking ChEMBL for Structured SAR Data

README.md
[![agentmods](https://agentmods.dev/badge/skills/kthorn/research-superpower/checking-chembl.svg)](https://agentmods.dev/skills/kthorn/research-superpower/checking-chembl)
Your own site
<a href="https://agentmods.dev/skills/kthorn/research-superpower/checking-chembl"><img src="https://agentmods.dev/badge/skills/kthorn/research-superpower/checking-chembl.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.03602
Opus 5 $0.00013 $0.01801
Sonnet 5 $0.00005 $0.00720
Haiku 4.5 $0.00003 $0.00360

Measured 8d ago against content hash b9ed59576f31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Checking ChEMBL for Structured SAR Data scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://www.ebi.ac.uk/chembl/api/data/document.json?doi=DOI"
skills/research/checking-chembl/SKILL.md · 404 lines

How it starts

The opening of the file, as written. The whole thing — 404 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Checking ChEMBL for Structured SAR Data

Overview

ChEMBL is a manually curated database of ~99,000 medicinal chemistry papers with extracted, standardized bioactivity data. If a paper is in ChEMBL, you can access structured data without parsing PDFs.

Core principle: Check ChEMBL first for medicinal chemistry papers. Curated data is more reliable than table parsing.

When to Use

Use this skill when:

  • Paper describes medicinal chemistry / drug discovery
  • Abstract mentions compound series, SAR, or activity data
  • Paper has IC50, MIC, Ki, EC50, or other bioactivity measurements
  • Before attempting to extract data from tables/figures
  • Paper scored ≥ 7 in relevance evaluation

When NOT to use:

  • Non-medicinal chemistry papers (cell biology, genomics, etc.)
  • Papers without activity measurements
  • Reviews without primary data
  • Very recent papers (< 6 months, likely not curated yet)

ChEMBL API Basics

Base URL: https://www.ebi.ac.uk/chembl/api/data/

No authentication required

CRITICAL: ChEMBL can ONLY be queried by DOI, NOT by PMID

  • The API returns PMID in results, but does not accept it as a query parameter
  • Always use DOI for lookups: ?doi=10.1234/example
  • PMID queries will return 0 results even if paper exists in ChEMBL

Two-step process:

  1. Check if paper (by DOI) is in ChEMBL
  2. If yes, retrieve bioactivity data

Step 1: Check if Paper in ChEMBL

Query by DOI (ONLY method that works):

curl -s "https://www.ebi.ac.uk/chembl/api/data/document.json?doi=DOI"

⚠️ IMPORTANT: Must use DOI, not PMID

# ✅ CORRECT - Use DOI
doi="10.1021/jm401507s"
curl -s "https://www.ebi.ac.uk/chembl/api/data/document.json?doi=$doi"

# ❌ WRONG - PMID won't work (will return 0 results)
pmid="24446688"
curl -s "https://www.ebi.ac.uk/chembl/api/data/document.json?pubmed_id=$pmid"  # Does NOT work!

If you only have PMID: Fetch DOI from PubMed first, then query ChEMBL with the DOI.

Response structure:

{
  "documents": [
    {
      "document_chembl_id": "CHEMBL3120156",
      "doi": "10.1021/jm401507s",
      "title": "Discovery and development of simeprevir (TMC435), a HCV NS3/4A protease inhibitor.",
      "abstract": "Hepatitis C virus is a blood-borne infection...",
      "pubmed_id": 24446688,
      "journal": "J Med Chem",
      "year": 2014,
      "doc_type": "PUBLICATION"
    }
  ],
  "page_meta": {
    "total_count": 1
  }
}

Read the full file on GitHub · 404 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 404 lines · 26 tokens per session scan A b9ed59576f31

Subscribe to this mod's changes

Checking ChEMBL for Structured SAR Data is a skill published in the GitHub repository kthorn/research-superpower (123 stars, last pushed 10mo ago), licensed MIT. It adds 26 tokens to every session and 3,602 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens