chembl-search

chembl-search is a skill for Claude Code, Codex from Zaoqu-Liu/ScienceClaw. It costs 28 tokens per session (1,250 once invoked), scanned B, a copy of chembl-search, MIT.

A natural-language search tool for ChEMBL, a database of bioactive molecules, drug targets, and laboratory assay results. It uses Valyu's semantic search service to find relevant compounds and data.

In plain words
What is it for?
Find molecules, drug targets, and binding or assay data for research and drug-discovery work, using a Valyu API key and Node.js 18 or newer.
Why use it?
It lets you search scientific compound information in ordinary language instead of constructing specialized database parameters. Results include compound and target details, with links to molecular structures and visualizations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Find molecules, drug targets, and binding or assay data for research and drug-discovery work, using a Valyu API key and Node.js 18 or newer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaoqu-liu/scienceclaw/chembl-search
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 Zaoqu-Liu/ScienceClaw --skill chembl-search
Clone the repo
git clone --depth 1 https://github.com/Zaoqu-Liu/ScienceClaw

Made for: Claude Code, Codex.

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 chembl-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/chembl-search/github.svg)](https://agentmods.dev/skills/zaoqu-liu/scienceclaw/chembl-search)
Your own site
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/chembl-search"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/chembl-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chembl-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/chembl-search"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/chembl-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00028 $0.01250
Opus 5 $0.00014 $0.00625
Sonnet 5 $0.00006 $0.00250
Haiku 4.5 $0.00003 $0.00125

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

Security

Grade B, and why

chembl-search scanned grade B 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 10d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

CHEMBL_SCRIPT=$(find ~/.claude/plugins/cache -name "search" -path "*/chembl-search/*/scripts/*" -type f 2>/dev/null | head -1)
Origin

This is a copy

100% identical to chembl-search — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/chembl-search/SKILL.md · 212 lines

How it starts

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

Search the complete ChEMBL database of bioactive molecules, drug targets, and binding data using natural language queries powered by Valyu's semantic search API.

Why This Skill is Powerful

  • No API Parameter Parsing: Just pass natural language queries directly - no need to construct complex search parameters
  • Semantic Search: Understands the meaning of your query, not just keyword matching
  • Full-Text Access: Returns complete compound and target information
  • Image Links: Includes molecular structures and data visualizations
  • Comprehensive Coverage: Access to all ChEMBL bioactive molecule data for drug discovery

Requirements

  1. Node.js 18+ (uses built-in fetch)
  2. Valyu API key from https://platform.valyu.ai ($10 free credits)

CRITICAL: Script Path Resolution

The scripts/search commands in this documentation are relative to this skill's installation directory.

Before running any command, locate the script using:

CHEMBL_SCRIPT=$(find ~/.claude/plugins/cache -name "search" -path "*/chembl-search/*/scripts/*" -type f 2>/dev/null | head -1)

Then use the full path for all commands:

$CHEMBL_SCRIPT "kinase inhibitors" 15

API Key Setup Flow

When you run a search and receive "setup_required": true, follow this flow:

  1. Ask the user for their API key: "To search ChEMBL, I need your Valyu API key. Get one free ($10 credits) at https://platform.valyu.ai"

  2. Once the user provides the key, run:

    scripts/search setup <api-key>
    
  3. Retry the original search.

When to Use This Skill

  • Finding bioactive compounds for drug discovery
  • Target-based compound searching
  • Compound property optimization
  • Assay data and biological activity research
  • Structure-activity relationship studies
  • Lead compound identification

Output Format

{
  "success": true,
  "type": "chembl_search",
  "query": "kinase inhibitors",
  "result_count": 10,
  "results": [
    {
      "title": "Compound/Assay Title",
      "url": "https://chembl.org/...",
      "content": "Compound data, targets, assay results...",
      "source": "chembl",
      "relevance_score": 0.95,
      "images": ["https://example.com/structure.png"]
    }
  ],
  "cost": 0.025
}

Read the full file on GitHub · 212 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. 10d ago First seen · 212 lines · 28 tokens per session scan B a5ed62d18d39

Subscribe to this mod's changes

chembl-search is a skill published in the GitHub repository Zaoqu-Liu/ScienceClaw (60 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 1,250 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 100% identical to chembl-search, differing in 0 lines, and is treated as a copy.