DrugRepoBank Query Skill

SkillDatabases & data

Query the DrugRepoBank drug repurposing evidence database. Use whenever the user asks about repurposing candidates, drug, disease, target repurposing evidence, or wants to look up any entity (drug name, DrugBank ID, ChEMBL ID, PubChem CID, TTD target ID, UniProt ID, disease name) in DrugRepoBank.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the DrugRepoBank Query Skill skill

What this skill tells your AI

The instructions your AI receives, as published by qsong-github/drugclaw in skills/drug_repurposing/drugrepobank/SKILL.md and read by ahel’s review.

Search four linked tables (Drug, Target, DrugTargetInteraction, Literature) for repurposing evidence. Auto-detects entity type by prefix:

Input PatternDetected AsExample
DB00945DrugBank IDexact on DrugBank_ID / DrugID
T47101TTD Target IDexact on TargetID
FGFR1_HUMANUniProt IDexact on UniprotID
CHEMBL2103749ChEMBL IDexact on ChEMBL ID in Drug table
16129704 (digits)PubChem CIDexact on PubChem_Compound_ID / PubChemID
anything elsefree textsubstring on drug Name, TargetName, Disease, NewDisease

API

FunctionInputReturns
load_all()—dict with keys drug, dti, lit, target (lists of row-dicts)
search(tables, entity)tables dict + single entity stringdict with keys entity, entity_type, drug, target, dti, literature
search_batch(tables, entities)tables dict + list of entity stringsdict[str, search_result]
summarize(result)single search() resultcompact one-line LLM-readable text
to_json(result)single search() resultJSON string (trimmed heavy fields)

Usage

See if __name__ == "__main__" block in 42_DrugRepoBank.py for runnable examples covering: drug name, DrugBank ID, TTD target ID, UniProt ID, ChEMBL ID, disease free-text, batch search, and JSON output.

Data

Four CSV tables in DATA_DIR:

FileKey ColumnsDescription
Drug.csvDrugBank_ID, Name, Drug Groups, PubChem_Compound_ID, ChEMBL ID, SMILESDrug identifiers & structures
DrugTargetInteraction.csvUniprotID, PubchemID, TargetID, DrugID, Highest_status, MOADrug–target links with mechanism of action
Literature.csvDrugName, DrugID, Target, Disease, NewDisease, Evidence, Insilico, Invitro, Invivo, Clinicaltrial, PMIDRepurposing evidence & literature references
Targets.csvTargetID, UniprotID, TargetName, TargetGeneName, TargetType, FunctionTarget annotations & pathway memberships

Signals

GitHub stars
116
Forks
3
Last commit
Aug 2026
Advanced
Item type
skill
Key
drugrepobank-query
Source
github.com/qsong-github/drugclaw