RepurposeDrugs Query Skill
SkillDatabases & dataQuery the RepurposeDrugs single-agent drug repurposing database. Use whenever the user asks about drug-disease repurposing associations, clinical trial phases for repurposed drugs, or wants to look up any entity (drug name, disease name, NCT ID) in RepurposeDrugs.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
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 RepurposeDrugs Query Skill skill
What this skill tells your AI
The instructions your AI receives, as published by qsong-github/drugclaw in skills/drug_repurposing/repurposedrugs/SKILL.md and read by ahel’s review.
Search canonical drug-disease repurposing rows. Auto-detects query type by pattern:
| Input Pattern | Detected As | Match Logic |
|---|---|---|
34567890 | PMID | exact on pmid |
| anything else | free text | substring on drug OR disease |
API
| Function | Input | Returns |
|---|---|---|
load_data(path) | CSV path | list[dict] |
search(rows, entity) | single entity string | list[dict] |
search_batch(rows, entities) | list of entity strings | dict[str, list[dict]] |
summarize(hits, entity) | rows + label | compact text |
to_json(hits) | rows | list[dict] |
Usage
See if __name__ == "__main__" block in example.py for runnable examples.
Data
- Source: RepurposeDrugs normalized full-package output
- URL: https://repurposedrugs.org/
- Local file:
repurposedrugs.csv - Columns:
drug,disease,score,status,pmid - Path:
resources_metadata/drug_repurposing/RepurposeDrugs/repurposedrugs.csv
Signals
- GitHub stars
- 116
- Forks
- 3
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
repurposedrugs-query- Source
- github.com/qsong-github/drugclaw
github.com/qsong-github/drugclaw
Related picks
Skill · wshobson
The pick for Pythonpython-pro
Skill · jeffallan
The pick for Pythonconnect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & data