pharma-db-tools
Query public drug-discovery and translational-research databases including PubChem, ChEMBL, BindingDB, openFDA, ClinicalTrials.gov, and OpenAlex.
Skill by DrugClaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/drugclaw-pharma-db-tools
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pharma-db-tools
What's inside
- Skill name
pharma-db-tools- Description
- Query public drug-discovery and translational-research databases including PubChem, ChEMBL, BindingDB, openFDA, ClinicalTrials.gov, and OpenAlex. Use when the user asks to look up compounds, measured binding affinities, regulatory labels or adverse events, clinical trials, or drug-discovery literature from public APIs and curated exports.
- License
- Apache-2.0
- Instructions
- 189 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- pharma_db_lookup.py · templates/
SKILL.md (first lines)
# Pharma DB Tools
Use this skill when the user asks for public drug-discovery database lookups rather than local cheminformatics analysis.
Typical triggers:
- compound lookup by name, CID, SMILES, or ChEMBL id
- public bioactivity or target-association lookup from ChEMBL
- measured drug-target affinity lookup from BindingDB by UniProt, compound, or local TSV export
- FDA labeling, adverse-event, NDC, approval, recall, or shortage data
- ClinicalTrials.gov study search, status review, or NCT lookup
- OpenAlex literature retrieval for drug, target, modality, or institution queries
## Environment Check
The bundled template uses Python plus HTTP APIs. Check first.
```bash
which python3 || true
python3 - <<'PY'
mods = ["requests"]
for name in mods:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
PY
```
If outbound network access is blocked, say so explicitly before claiming the lookup ran.
## Bundled Asset
Use the reusable template instead of rewriting API snippets every time:
- `templates/pharma_db_lookup.py`
Supported sources:
- `pubchem`
- `chembl`
- `bindingdb`
- `openfda`
- `clinicaltrials`
- `openalex`
## Quick Start
```bash
python3 templates/pharma_db_lookup.py pubchem \
--query imatinib \
--output pharma/pubchem_imatinib.csv \
--summary pharma/pubchem_imatinib.json
```
```bash
python3 templates/pharma_db_lookup.py chembl \
--mode molecule \
--chembl-id CHEMBL941 \
--output pharma/chembl_imatinib.csv \
--summary pharma/chembl_imatinib.json
```
```bash
python3 templates/pharma_db_lookup.py bindingdb \
--tsv BindingDB_All.tsv \
--uniprot-id P00519 \
--affinity-type Ki \
--max-nm 1000 \
--output pharma/bindingdb_abl1.csv \
--summary pharma/bindingdb_abl1.json
```
```bash
python3 templates/pharma_db_lookup.py openfda \
--endpoint label \
--query imatinib \
--output pharma/fda_imatinib_label.csv \
--summary pharma/fda_imatinib_label.json
```
```bash
python3 templates/pharma_db_lookup.py clinicaltrials \
--condition "non-small cell lung cancer" \
--intervention osimertinib \
--status RECRUITING \
--output pharma/osimertinib_trials.csv \
--summary pharma/osimertinib_trials.json
```
```bash
python3 templates/pharma_db_lookup.py openalex \
--query "KRAS G12C inhibitor resistance" \
--limit 20 \
--output pharma/openalex_kras_g12c.csv \
--summary pharma/openalex_kras_g12c.json
```
## Working Rules
1. Save both a machine-readable result file and a summary JSON.
2. Report the exact database, mode, identifier, filters, and endpoint used.
3. Prefer exact identifiers when available: PubChem CID, ChEMBL id, NCT id, DOI.
4. Return direct stable links when the upstream database exposes them.
5. Distinguish clearly between compound metadata, activity measurements, regulatory evidence, clinical-study records, and literature hits.
6. If the API returns no hits, say that explicitly instead of inferring a scientific conclusion.
7. Treat these sources as evidence surfaces for prioritization and review, not as experimental proof.
## Common Patterns
### PubChem compound lookup by CID
```bash
python3 templates/pharma_db_lookup.py pubchem \
--cid 5291 \
--output pharma/pubchem_5291.csv \
--summary pharma/pubchem_5291.json
```
### ChEMBL activity rows for a targetFrom DrugClaw/DrugClaw, Apache-2.0.
More from DrugClaw/DrugClaw
- 0.517score
omics-tools
DrugClaw
Omics and single-cell workflow guide for AnnData, Scanpy-style dataset profiling, PyDESeq2-oriented count checks, pysam alignment inspection, and pyOpenMS…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
literature-review-tools
DrugClaw
Research-literature workflow guide for evidence-matrix assembly, citation-table normalization, structured review synthesis, and research-gap mapping.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
pharma-ml-tools
DrugClaw
Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
bayesian-optimization-tools
DrugClaw
Bayesian optimization workflow guide for experiment suggestion, condition tuning, and closed-loop parameter search with Gaussian-process surrogates.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
bio-db-tools
DrugClaw
Query public biology databases and APIs including UniProt, RCSB PDB, AlphaFold DB, ClinVar, dbSNP, gnomAD, Ensembl, GEO, InterPro, KEGG, OpenTargets…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
grn-tools
DrugClaw
Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
variant-analysis-tools
DrugClaw
Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
clinical-research-tools
DrugClaw
Clinical research workflow guide for protocol design, endpoint selection, evidence grading, reporting-guideline selection, statistical planning, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-data-tools
DrugClaw
Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-qms-tools
DrugClaw
Medical quality-system and documentation workflow guide for ISO 13485, FDA QMSR, design controls, risk management, CAPA, document control, supplier…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
target-intelligence-tools
DrugClaw
Target research workflow guide for building compact drug-target dossiers across protein identity, disease evidence, known drugs, interaction partners…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
scientific-visualization-tools
DrugClaw
Scientific visualization workflow guide for publication-ready static figures with seaborn or matplotlib and interactive figures with Plotly.
SkillDFreshness: D★ 87Claude Code +9
Signals
- Stars
- 87
- Forks
- 8
- Open issues
- 1
- Last commit (this folder)
- Mar 11, 2026 (7 months ago)
- Last release
- Mar 13, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/DrugClaw/DrugClaw
- Website
- drugclaw.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from DrugClaw
- 0.517score
clinical-research-tools
DrugClaw
Clinical research workflow guide for protocol design, endpoint selection, evidence grading, reporting-guideline selection, statistical planning, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-qms-tools
DrugClaw
Medical quality-system and documentation workflow guide for ISO 13485, FDA QMSR, design controls, risk management, CAPA, document control, supplier…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
variant-analysis-tools
DrugClaw
Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
grn-tools
DrugClaw
Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-data-tools
DrugClaw
Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
pharma-ml-tools
DrugClaw
Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and…
SkillDFreshness: D★ 87Claude Code +9
Cite this page
pharma-db-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-pharma-db-tools (last updated 2026-10-24)