drugbank-database

davila7/claude-code-templates · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/davila7/claude-code-templates --skill drugbank-database
0 commentsdiscussion
summary

DrugBank is a comprehensive bioinformatics and cheminformatics database containing detailed information on drugs and drug targets. This skill enables programmatic access to DrugBank data including ~9,591 drug entries (2,037 FDA-approved small molecules, 241 biotech drugs, 96 nutraceuticals, and 6,000+ experimental compounds) with 200+ data fields per entry.

skill.md

DrugBank Database

Overview

DrugBank is a comprehensive bioinformatics and cheminformatics database containing detailed information on drugs and drug targets. This skill enables programmatic access to DrugBank data including ~9,591 drug entries (2,037 FDA-approved small molecules, 241 biotech drugs, 96 nutraceuticals, and 6,000+ experimental compounds) with 200+ data fields per entry.

Core Capabilities

1. Data Access and Authentication

Download and access DrugBank data using Python with proper authentication. The skill provides guidance on:

  • Installing and configuring the drugbank-downloader package
  • Managing credentials securely via environment variables or config files
  • Downloading specific or latest database versions
  • Opening and parsing XML data efficiently
  • Working with cached data to optimize performance

When to use: Setting up DrugBank access, downloading database updates, initial project configuration.

Reference: See references/data-access.md for detailed authentication, download procedures, API access, caching strategies, and troubleshooting.

2. Drug Information Queries

Extract comprehensive drug information from the database including identifiers, chemical properties, pharmacology, clinical data, and cross-references to external databases.

Query capabilities:

  • Search by DrugBank ID, name, CAS number, or keywords
  • Extract basic drug information (name, type, description, indication)
  • Retrieve chemical properties (SMILES, InChI, molecular formula)
  • Get pharmacology data (mechanism of action, pharmacodynamics, ADME)
  • Access external identifiers (PubChem, ChEMBL, UniProt, KEGG)
  • Build searchable drug datasets and export to DataFrames
  • Filter drugs by type (small molecule, biotech, nutraceutical)

When to use: Retrieving specific drug information, building drug databases, pharmacology research, literature review, drug profiling.

Reference: See references/drug-queries.md for XML navigation, query functions, data extraction methods, and performance optimization.

3. Drug-Drug Interactions Analysis

Analyze drug-drug interactions (DDIs) including mechanism, clinical significance, and interaction networks for pharmacovigilance and clinical decision support.

Analysis capabilities:

  • Extract all interactions for specific drugs
  • Build bidirectional interaction networks
  • Classify interactions by severity and mechanism
  • Check interactions between drug pairs
  • Identify drugs with most interactions
  • Analyze polypharmacy regimens for safety
  • Create interaction matrices and network graphs
  • Perform community detection in interaction networks
  • Calculate interaction risk scores

When to use: Polypharmacy safety analysis, clinical decision support, drug interaction prediction, pharmacovigilance research, identifying contraindications.

Reference: See references/interactions.md for interaction extraction, classification methods, network analysis, and clinical applications.

4. Drug Targets and Pathways

Access detailed information about drug-protein interactions including targets, enzymes, transporters, carriers, and biological pathways.

Target analysis capabilities:

  • Extract drug targets with actions (inhibitor, agonist, antagonist)
  • Identify metabolic enzymes (CYP450, Phase II enzymes)
  • Analyze transporters (uptake, efflux) for ADME studies
  • Map drugs to biological pathways (SMPDB)
  • Find drugs targeting specific proteins
  • Identify drugs with shared targets for repurposing
  • Analyze polypharmacology and off-target effects
  • Extract Gene Ontology (GO) terms for targets
  • Cross-reference with UniProt for protein data

When to use: Mechanism of action studies, drug repurposing research, target identification, pathway analysis, predicting off-target effects, understanding drug metabolism.

Reference: See references/targets-pathways.md for target extraction, pathway analysis, repurposing strategies, CYP450 profiling, and transporter analysis.

5. Chemical Properties and Similarity

Perform structure-based analysis including molecular similarity searches, property calculations, substructure searches, and ADMET predictions.

Chemical analysis capabilities:

  • Extract chemical structures (SMILES, InChI, molecular formula)
  • Calculate physicochemical properties (MW, logP, PSA, H-bonds)
  • Apply Lipinski's Rule of Five and Veber's rules
  • Calculate Tanimoto similarity between molecules
  • Generate molecular fingerprints (Morgan, MACCS, topological)
  • Perform substructure searches with SMARTS patterns
  • Find structurally similar drugs for repurposing
  • Create similarity matrices for drug clustering
  • Predict oral absorption and BBB permeability
  • Analyze chemical space with PCA and clustering
  • Export chemical property databases

When to use: Structure-activity relationship (SAR) studies, drug similarity searches, QSAR modeling, drug-likeness assessment, ADMET prediction, chemical space exploration.

Reference: See references/chemical-analysis.md for structure extraction, similarity calculations, fingerprint generation, ADMET predictions, and chemical space analysis.

Typical Workflows

Drug Discovery Workflow

  1. Use data-access.md to download and access latest DrugBank data
  2. Use drug-queries.md to build searchable drug database
  3. Use chemical-analysis.md to find similar compounds
  4. Use targets-pathways.md to identify shared targets
  5. Use interactions.md to check safety of candidate combinations

Polypharmacy Safety Analysis

  1. Use drug-queries.md to look up patient medications
  2. Use interactions.md to check all pairwise interactions
  3. Use interactions.md to classify interaction severity
  4. Use interactions.md to calculate overall risk score
  5. Use targets-pathways.md to understand interaction mechanisms

Drug Repurposing Research

  1. Use targets-pathways.md to find drugs with shared targets
  2. Use chemical-analysis.md to find structurally similar drugs
  3. Use drug-queries.md to extract indication and pharmacology data
  4. Use interactions.md to assess potential combination therapies

Pharmacology Study

  1. Use drug-queries.md to extract drug of interest
  2. Use targets-pathways.md to identify all protein interactions
  3. Use targets-pathways.md to map to biological pathways
  4. Use chemical-analysis.md to predict ADMET properties
  5. Use interactions.md to identify potential contraindications

Installation Requirements

Python Packages

uv pip install drugbank-downloader  # Core access
uv pip install bioversions          # Latest version detection
uv pip install lxml                 # XML parsing optimization
uv pip install pandas               # Data manipulation
uv pip install rdkit                # Chemical informatics (for similarity)
uv pip install networkx             # Network analysis (for interactions)
uv pip install scikit-learn         # ML/clustering (for chemical space)

Account Setup

  1. Create free account at go.drugbank.com
  2. Accept license agreement (free for academic use)
  3. Obtain username and password credentials
  4. Configure credentials as documented in references/data-access.md

Data Version and Reproducibility

Always specify the DrugBank version for reproducible research:

from drugbank_downloader import download_drugbank
path = download_drugbank(version='5.1.10')  # Specify exact version

Document the version used in publications and analysis scripts.

Best Practices

  1. Credentials: Use environment variables or config files, never hardcode
  2. Versioning: Specify exact database version for reproducibility
  3. Caching: Cache parsed data to avoid re-downloading and re-parsing
  4. Namespaces: Handle XML namespaces properly when parsing
  5. Validation: Validate chemical structures with RDKit before use
  6. Cross-referencing: Use external identifiers (UniProt, PubChem) for integration
  7. Clinical Context: Always consider clinical context when interpreting interaction data
  8. License Compliance: Ensure proper licensing for your use case

Reference Documentation

All detailed implementation guidance is organized in modular reference files:

  • references/data-access.md: Authentication, download, parsing, API access, caching
  • references/drug-queries.md: XML navigation, query methods, data extraction, indexing
  • references/interactions.md: DDI extraction, classification, network analysis, safety scoring
  • references/targets-pathways.md: Target/enzyme/transporter extraction, pathway mapping, repurposing
  • references/chemical-analysis.md: Structure extraction, similarity, fingerprints, ADMET prediction

Load these references as needed based on your specific analysis requirements.

how to use drugbank-database

How to use drugbank-database on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add drugbank-database
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/davila7/claude-code-templates --skill drugbank-database

The skills CLI fetches drugbank-database from GitHub repository davila7/claude-code-templates and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/drugbank-database

Reload or restart Cursor to activate drugbank-database. Access the skill through slash commands (e.g., /drugbank-database) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.753 reviews
  • Ava Johnson· Dec 28, 2024

    Registry listing for drugbank-database matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Shikha Mishra· Dec 16, 2024

    Solid pick for teams standardizing on skills: drugbank-database is focused, and the summary matches what you get after install.

  • Anika Bansal· Dec 12, 2024

    Keeps context tight: drugbank-database is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Charlotte Smith· Dec 12, 2024

    drugbank-database reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Yusuf Taylor· Nov 19, 2024

    Useful defaults in drugbank-database — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Alexander Park· Nov 19, 2024

    Keeps context tight: drugbank-database is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Yash Thakker· Nov 7, 2024

    We added drugbank-database from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Sakshi Patil· Nov 3, 2024

    I recommend drugbank-database for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Noah Martinez· Nov 3, 2024

    Registry listing for drugbank-database matched our evaluation — installs cleanly and behaves as described in the markdown.

  • William Thompson· Nov 3, 2024

    drugbank-database is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

showing 1-10 of 53

1 / 6