Skip to content
Back to skills

Repurposedrugs

ASecurity

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.

  • 171 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
ai-agentsapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add BioTender-max/awesome-bio-agent-skills --skill repurposedrugs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repurposedrugs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repurposedrugs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/biotender-max-repurposedrugs/badge)](https://www.skillsdirectory.com/skills/biotender-max-repurposedrugs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: RepurposeDrugs-query
description: >
  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.
---

# 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`

Files in this skill

  • README.md1.6 KB
  • SKILL.md1.3 KB
  • __init__.py162 B
  • example.py2.5 KB
  • repurposedrugs_skill.py5 KB
  • retrieve.py818 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…