RepurposeDrugs-query
Query 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.
npx skills add BioTender-max/awesome-bio-agent-skills --skill repurposedrugs --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# RepurposeDrugs Query Skill 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`
- API
- Usage
- Data
What does the RepurposeDrugs-query skill do?
Query 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.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill repurposedrugs --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
