drug-repurposing

Systematic drug repurposing analysis inspired by NovusAI. Evaluates existing drugs for new therapeutic indications through multi-dimensional evidence gathering across target networks, clinical trials (including failures), patent landscape, safety profiles, and off-label literature. Produces ranked repurposing candidates with evidence scores. Use when users ask about finding new uses for existing drugs, off-label potential, "老药新用", or "drug repurposing for X". Complements target-validation (which starts from a target) by starting from a drug.

42 stars

Best use case

drug-repurposing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Systematic drug repurposing analysis inspired by NovusAI. Evaluates existing drugs for new therapeutic indications through multi-dimensional evidence gathering across target networks, clinical trials (including failures), patent landscape, safety profiles, and off-label literature. Produces ranked repurposing candidates with evidence scores. Use when users ask about finding new uses for existing drugs, off-label potential, "老药新用", or "drug repurposing for X". Complements target-validation (which starts from a target) by starting from a drug.

Teams using drug-repurposing should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/drug-repurposing/SKILL.md --create-dirs "https://raw.githubusercontent.com/Zaoqu-Liu/ScienceClaw/main/skills/drug-repurposing/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/drug-repurposing/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How drug-repurposing Compares

Feature / Agentdrug-repurposingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Systematic drug repurposing analysis inspired by NovusAI. Evaluates existing drugs for new therapeutic indications through multi-dimensional evidence gathering across target networks, clinical trials (including failures), patent landscape, safety profiles, and off-label literature. Produces ranked repurposing candidates with evidence scores. Use when users ask about finding new uses for existing drugs, off-label potential, "老药新用", or "drug repurposing for X". Complements target-validation (which starts from a target) by starting from a drug.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Drug Repurposing Pipeline

Systematically evaluate an existing drug for new therapeutic indications by mining evidence across six dimensions: pharmacology, target networks, clinical trials, literature, patents, and safety.

## When to Use

- "帮我找 metformin 的新适应症"
- "Sorafenib 除了肝癌还能治什么"
- "Drug repurposing opportunities for thalidomide"
- "X 的老药新用潜力"
- Any query about finding new uses for existing drugs

---

## Pipeline

### Step 1: Drug Profile

Gather comprehensive drug information:

```bash
bash: echo "=== DrugBank ===" && \
curl -s "https://go.drugbank.com/unearth/q?searcher=drugs&query=DRUGNAME&button=" 2>/dev/null && \
echo -e "\n=== ChEMBL ===" && \
curl -s "https://www.ebi.ac.uk/chembl/api/data/molecule/search.json?q=DRUGNAME&limit=5" && \
echo -e "\n=== PubChem ===" && \
curl -s "https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/DRUGNAME/JSON"
```

Extract:
- Approved indications and year of first approval
- Primary mechanism of action
- Known molecular targets (with confidence)
- Chemical class and properties (MW, logP, PSA)
- Half-life, bioavailability, metabolism pathway (CYP enzymes)

### Step 2: Target Network Analysis

Map drug targets to disease associations:

```bash
bash: echo "=== STRING PPI Network ===" && \
curl -s "https://string-db.org/api/json/network?identifiers=TARGET_GENE&species=9606&required_score=700" && \
echo -e "\n=== OpenTargets Disease Associations ===" && \
curl -s -X POST "https://api.platform.opentargets.org/api/v4/graphql" \
  -H "Content-Type: application/json" \
  -d '{"query":"{ target(ensemblId:\"ENSG_ID\") { id approvedSymbol associatedDiseases(page:{size:20}) { rows { disease { id name } score datatypeScores { componentId score } } } } }"}'
```

**Key analysis**:
- Primary targets → known diseases (already approved)
- Secondary/off-targets → **new disease candidates**
- PPI network neighbors → diseases associated with interacting proteins
- Pathway enrichment → which disease pathways are modulated

### Step 3: Clinical Evidence Mining

Search for ALL clinical activity of this drug, including off-label and failed trials:

```bash
bash: echo "=== ClinicalTrials.gov (all indications) ===" && \
curl -s "https://clinicaltrials.gov/api/v2/studies?query.term=DRUGNAME&pageSize=50&sort=LastUpdatePostDate:desc" && \
echo -e "\n=== PubMed (off-label + repurposing) ===" && \
curl -s "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=30&sort=relevance&term=DRUGNAME+AND+(repurpos*+OR+off-label+OR+repositioning+OR+novel+indication+OR+unexpected+effect)"
```

**What to look for**:
- Trials in non-approved indications (especially Phase 2+ with positive signals)
- Failed trials that revealed unexpected beneficial effects
- Case reports of off-label use with documented outcomes
- Systematic reviews of repurposing evidence

### Step 4: Patent Landscape

```bash
bash: web_search "DRUGNAME patent expiry date generic availability"
```

Assess:
- **Patent status**: Active / Expired / Expiring soon
- **Generic availability**: Already available = lower barrier to repurposing
- **New formulation patents**: May protect specific delivery methods
- **Method-of-use patents**: Filed for new indications?

Patent scoring:
- Expired + generic available: 20/20 (immediate repurposing potential)
- Expiring within 3 years: 15/20
- Active but no method-of-use patent for new indication: 10/20
- Active with broad claims: 5/20

### Step 5: Safety Profile

```bash
bash: echo "=== OpenFDA Adverse Events ===" && \
curl -s "https://api.fda.gov/drug/event.json?search=patient.drug.openfda.generic_name:%22DRUGNAME%22&count=patient.reaction.reactionmeddrapt.exact&limit=20" && \
echo -e "\n=== PubMed Safety ===" && \
curl -s "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&retmode=json&retmax=10&term=DRUGNAME+AND+(safety+OR+adverse+OR+toxicity)+AND+review"
```

**Dual-use signal detection**: Some adverse effects hint at therapeutic potential:
| Adverse Effect | Potential Therapeutic Use |
|---------------|--------------------------|
| Weight loss | Obesity / metabolic syndrome |
| Hypoglycemia | Type 2 diabetes (if not already indicated) |
| Immunosuppression | Autoimmune diseases |
| Anti-proliferative effects | Cancer |
| Sedation | Insomnia / anxiety |
| Hair growth | Alopecia |

Flag these "adverse effects as therapeutic signals" prominently.

### Step 6: Repurposing Candidate Ranking

Score each candidate indication across four dimensions:

| Dimension | Max Score | Criteria |
|-----------|-----------|----------|
| **Target evidence** | 30 | Direct target involvement in disease (OpenTargets score, genetic evidence, expression data) |
| **Clinical evidence** | 30 | Positive trials, case reports, off-label efficacy data |
| **Safety** | 20 | Known safety profile compatible with chronic use; no organ-specific toxicity conflict |
| **Patent/feasibility** | 20 | Patent expired, generic available, regulatory pathway clear |

**Total score interpretation**:
- ≥70: **Strong candidate** — proceed to clinical validation planning
- 50–69: **Moderate candidate** — needs more preclinical evidence
- 30–49: **Weak candidate** — interesting signal but insufficient evidence
- <30: **Not recommended** — speculative at best

---

## Output Report Structure

```markdown
# Drug Repurposing Analysis: [DRUGNAME]

## Executive Summary
- [Drug] is approved for [indication] since [year]
- Analysis identified [N] potential repurposing candidates
- Top candidate: [Disease] (score: XX/100, evidence: ...)

## 1. Drug Profile
[Mechanism, targets, pharmacology]

## 2. Target Network & New Disease Associations
[Network figure + disease mapping table]

## 3. Clinical Evidence
[Trial summaries, off-label reports, case studies]

## 4. Patent Landscape
[Patent status, generic availability, IP barriers]

## 5. Safety Profile
[AE summary + dual-use signal analysis]

## 6. Ranked Repurposing Candidates

| Rank | Indication | Target Evidence | Clinical Evidence | Safety | Patent | Total | Verdict |
|------|-----------|----------------|-------------------|--------|--------|-------|---------|
| 1 | [Disease A] | 25/30 | 20/30 | 18/20 | 20/20 | 83/100 | Strong |
| 2 | [Disease B] | 20/30 | 15/30 | 15/20 | 15/20 | 65/100 | Moderate |
| ... | ... | ... | ... | ... | ... | ... | ... |

## 7. Recommended Next Steps
[For each strong candidate: specific preclinical/clinical validation steps]

## References
[GB/T 7714 format]
```

---

## Follow-up Suggestions

After completing the repurposing analysis, suggest:

1. For the top candidate: "可以用 gene-landscape recipe 深入分析 [target] 在 [new disease] 中的角色"
2. If clinical trials exist: "可以用 clinical-query recipe 详细了解 [new disease] 的现有治疗方案,评估竞争格局"
3. If target validation needed: "可以用 target-validation recipe 全面评估 [target] 的成药性"

Related Skills

torchdrug

42
from Zaoqu-Liu/ScienceClaw

PyTorch-native graph neural networks for molecules and proteins. Use when building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, retrosynthesis. For pre-trained models and diverse featurizers use deepchem; for benchmark datasets use pytdc.

tooluniverse-gwas-drug-discovery

42
from Zaoqu-Liu/ScienceClaw

Transform GWAS signals into actionable drug targets and repurposing opportunities. Performs locus-to-gene mapping, target druggability assessment, existing drug identification, safety profile evaluation, and clinical trial matching. Use when discovering drug targets from GWAS data, finding drug repurposing opportunities from genetic associations, or translating GWAS findings into therapeutic leads.

tooluniverse-drug-target-validation

42
from Zaoqu-Liu/ScienceClaw

Comprehensive computational validation of drug targets for early-stage drug discovery. Evaluates targets across 10 dimensions (disambiguation, disease association, druggability, chemical matter, clinical precedent, safety, pathway context, validation evidence, structural insights, validation roadmap) using 60+ ToolUniverse tools. Produces a quantitative Target Validation Score (0-100) with GO/NO-GO recommendation. Use when users ask about target validation, druggability assessment, target prioritization, or "is X a good drug target for Y?"

tooluniverse-drug-research

42
from Zaoqu-Liu/ScienceClaw

Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections. Covers identity, chemistry, pharmacology, targets, clinical trials, safety, pharmacogenomics, and ADMET properties. Use when users ask about drugs, medications, therapeutics, or need drug profiling, safety assessment, or clinical development research.

tooluniverse-drug-repurposing

42
from Zaoqu-Liu/ScienceClaw

Identify drug repurposing candidates using ToolUniverse for target-based, compound-based, and disease-driven strategies. Searches existing drugs for new therapeutic indications by analyzing targets, bioactivity, safety profiles, and literature evidence. Use when exploring drug repurposing opportunities, finding new indications for approved drugs, or when users mention drug repositioning, off-label uses, or therapeutic alternatives.

drugbank-search

42
from Zaoqu-Liu/ScienceClaw

Search DrugBank comprehensive drug database with natural language queries. Drug mechanisms, interactions, and safety data powered by Valyu.

drugbank-database

42
from Zaoqu-Liu/ScienceClaw

Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures, and pharmacology data. This skill should be used when working with pharmaceutical data, drug discovery research, pharmacology studies, drug-drug interaction analysis, target identification, chemical similarity searches, ADMET predictions, or any task requiring detailed drug and drug target information from DrugBank.

drug-labels-search

42
from Zaoqu-Liu/ScienceClaw

Search FDA drug labels with natural language queries. Official drug information, indications, and safety data via Valyu.

drug-discovery-search

42
from Zaoqu-Liu/ScienceClaw

End-to-end drug discovery platform combining ChEMBL compounds, DrugBank, targets, and FDA labels. Natural language powered by Valyu.

Chemistry & Drug Discovery

42
from Zaoqu-Liu/ScienceClaw

## Overview

zinc-database

42
from Zaoqu-Liu/ScienceClaw

Access ZINC (230M+ purchasable compounds). Search by ZINC ID/SMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.

zarr-python

42
from Zaoqu-Liu/ScienceClaw

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.