OpenParable
Skip to content
← Back to skills

RepurposeDrugs-query

Research

RepurposeDrugs-query is an Agent Skill for research published in the BioTender-max/awesome-bio-agent-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/BioTender-max/awesome-bio-agent-skills/blob/HEAD/skills/drugclaw/repurposedrugs/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/repurposedrugs-query, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

RepurposeDrugs Query Skill

Search canonical drug-disease repurposing rows. Auto-detects query type by pattern:

Input PatternDetected AsMatch Logic
34567890PMIDexact on pmid
anything elsefree textsubstring on drug OR disease

API

FunctionInputReturns
load_data(path)CSV pathlist[dict]
search(rows, entity)single entity stringlist[dict]
search_batch(rows, entities)list of entity stringsdict[str, list[dict]]
summarize(hits, entity)rows + labelcompact text
to_json(hits)rowslist[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