qsong-github/drugclaw/repurposing-hub

Claude Code and agent skill by qsong-github/drugclaw

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Query the Broad Institute Drug Repurposing Hub (~6,800 compounds). Look up drugs by name, gene target, MOA, disease area, Broad ID, or InChIKey. Returns clinical phase, mechanism of action, targets, disease area, indication, and chemical identifiers.

Install

npx vskill@latest install qsong-github/drugclaw/repurposing-hub

SKILL.md

Drug Repurposing Hub Query Skill

Search the Broad Institute Drug Repurposing Hub by any entity. Auto-detects input type by pattern:

Input PatternDetected AsMatch Logic
BRD-A12345678Broad compound IDprefix on broad_id
ABCDEFGHIJKLMN-OPQRSTUVWX-YInChIKeyexact on InChIKey
EGFR, BRAF, TOP1Gene / targetexact token in target (pipe-separated)
anything elsefree textsubstring on pert_iname, moa, indication, disease_area

API

FunctionInputReturns
load_drugs(path)drug TSV pathlist[dict]
load_samples(path)sample TSV pathlist[dict]
load_merged()—list[dict] (drugs + chemical IDs from samples)
search(entity)single entity stringlist[dict]
search_batch(entities)list of entity stringsdict[str, list[dict]]
summarize(hits, entity)hits + labelcompact LLM-readable text
to_json(hits)list[dict]list[dict] (JSON-serialisable)

Usage

See if __name__ == "__main__" block in 29_Drug_Repurposing_Hub.py for runnable examples covering: drug name, gene target, MOA keyword, disease area, batch search, and JSON output.

python
from importlib.machinery import SourceFileLoader
hub = SourceFileLoader("hub", "29_Drug_Repurposing_Hub.py").load_module()
# Single drug lookup
hits = hub.search("imatinib")
print(hub.summarize(hits, "imatinib"))
# Target-based search
hits = hub.search("EGFR")
# Batch
results = hub.search_batch(["metformin", "aspirin", "BRAF"])

Data

  • Source: Broad Institute Drug Repurposing Hub (https://repo-hub.broadinstitute.org/repurposing)
  • Drug file: repo-drug-annotation-20200324.txt — tab-delimited, !-prefixed comment lines
  • Columns: pert_iname, clinical_phase, moa, target, disease_area, indication
  • Sample file: repo-sample-annotation-20240610.txt — tab-delimited, !-prefixed comment lines
  • Columns include: broad_id, pert_iname, InChIKey, pubchem_cid, smiles, vendor, purity, etc.
  • Merge: on pert_iname; first sample with non-empty InChIKey is kept per drug
  • Path: DATA_DIR variable in 29_Drug_Repurposing_Hub.py
  • Citation: Corsello SM et al. Nature Medicine 23, 405–408 (2017). doi:10.1038/nm.4306

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
116
Repository forks
3
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/qsong-github/drugclaw/repurposing-hub/badge)](https://verified-skill.com/skills/qsong-github/drugclaw/repurposing-hub)

Something wrong with this skill or its page? Tell us.