Agent skill

Drugbank Database

by davila7 in davila7/claude-code-templates

Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures, and pharmacology data.

MITAuto-check passedResearch & Science

Install Drugbank Database

skills CLI
$ npx skills add davila7/claude-code-templates --skill drugbank-database -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates drugbank-database --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/scientific/drugbank-database .claude/skills/drugbank-database && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
drugbank-database
GitHub stars
33k
Used in
10 other repos
Token cost
~2.3k tokens
SKILL.md length
936 words
Files
7 (incl. scripts, references)
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures, and pharmacology data.

  • Works in 5 steps: Data Access and Authentication → Drug Information Queries → Drug-Drug Interactions Analysis → …
  • Tasks that involve Drug discovery and cheminformatics
  • SKILL.md covers Overview, Core Capabilities, Typical Workflows and Installation Requirements, plus 3 more sections
  • Runs Python scripts from its folder; calls uv

What it does

Drugbank Database is an agent skill from davila7/claude-code-templates. 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.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/chemical-analysis.md`, `references/data-access.md` and `references/drug-queries.md`).

It sits in Research & Science, covering Drug discovery and cheminformatics and Vector databases. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Drug discovery and cheminformatics
  • Tasks that involve Vector databases

Example prompts

  • “/drugbank-database”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Data Access and Authentication
  2. Drug Information Queries
  3. Drug-Drug Interactions Analysis
  4. Drug Targets and Pathways
  5. Chemical Properties and Similarity

What it can do on your machine

Read from SKILL.md and the folder at commit 79182c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Drugbank Database loads about 2.3k tokens when it runs, and up to ~20k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 936 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~123
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~20k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 79182c5, republished under its MIT licence (© davila7). 936 words, ~2,335 tokens.

Download SKILL.mdSave it as .claude/skills/drugbank-database/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
drugbank-database
description
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.

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.

Show full SKILL.md (354 more words)Show less

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
bash
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:

python
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.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in cli-tool/components/skills/scientific/drugbank-database of davila7/claude-code-templates.

  • SKILL.md
  • references/chemical-analysis.md
  • references/data-access.md
  • references/drug-queries.md
  • references/interactions.md
  • references/targets-pathways.md
  • scripts/drugbank_helper.py

Open the folder on GitHubat commit 79182c5

Used in 10 other repositories

We found 17 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 10 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Drugbank Database next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Drugbank Database compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Drugbank Database this skilldavila7/claude-code-templates33k10 repos~2.3kAutomated safety check: PassMIT
Bio Similarity SearchingFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~1.7kAutomated safety check: PassNone
Pdb Databasejaechang-hits/SciAgent-Skills3741 repos~7.7kAutomated safety check: PassBSD-3-Clause
Molecular Similarity SearchInternScience/scp1701 repos~1.4kAutomated safety check: PassMIT
MolecodeAtomFlow-AI/MoleCode306—~1.9kAutomated safety check: PassMIT
Drug DiscoveryTommy-yw/RunbookHermes5461 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Bio Similarity Searching

    FreedomIntelligence/OpenClaw-Medical-Skills

    Performs molecular similarity searches using Tanimoto coefficient on fingerprints via RDKit.

    3.1k GitHub stars~1.7k tokensUpdated 2 mo ago
    Research & ScienceAuto-check passed
  • Pdb Database

    jaechang-hits/SciAgent-Skills

    Query RCSB PDB (200K+ structures) via the public REST + GraphQL APIs with plain requests (no SDK).

    374 GitHub starsUsed in 1 repo~7.7k tokens
    Research & ScienceAuto-check passed
  • Search for similar molecules using Tanimoto similarity with Morgan fingerprints to identify structurally related compounds.

    170 GitHub starsUsed in 1 repo~1.4k tokens
    DatabasesAuto-check passed
  • Molecode

    AtomFlow-AI/MoleCode

    A skill your agent uses for deterministic molecule understanding, graph-level editing, generation, and validation with MoleCode — an explicit Mermaid graph in which every atom and bond is a typed…

    306 GitHub stars~1.9k tokensUpdated 4 mo ago
    Research & ScienceAuto-check passed
  • Drug Discovery

    Tommy-yw/RunbookHermes

    Pharmaceutical research assistant for drug discovery workflows.

    546 GitHub starsUsed in 1 repo~2.3k tokens
    Research & ScienceAuto-check passed
  • DiffDock Molecular Docking

    K-Dense-AI/scientific-agent-skills

    Predicts how small molecules bind to a protein with DiffDock, covering batch docking, pose ranking by confidence and checks on the results; not for binding affinity.

    48k GitHub starsUsed in 1 repo~3k tokens
    Research & ScienceAuto-check: notes

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Questions about Drugbank Database

What does Drugbank Database do?

Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures, and pharmacology data. Drugbank Database is an agent skill from davila7/claude-code-templates. Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures, and pharmacology data.

When should I use Drugbank Database?

Drugbank Database fits situations like: tasks that involve Drug discovery and cheminformatics; tasks that involve Vector databases.

How do I install Drugbank Database in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill drugbank-database -a claude-code`. Or copy the skill folder (cli-tool/components/skills/scientific/drugbank-database in davila7/claude-code-templates) into .claude/skills/drugbank-database in your project. Claude Code loads it when a task matches its description.

How do I install Drugbank Database in Codex?

Run `npx skills add davila7/claude-code-templates --skill drugbank-database -a codex`. Or copy the skill folder (cli-tool/components/skills/scientific/drugbank-database in davila7/claude-code-templates) into .agents/skills/drugbank-database in your project. Codex loads it when a task matches its description.

Can I use Drugbank Database in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill drugbank-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drugbank-database, .gemini/skills/drugbank-database, .github/skills/drugbank-database and .opencode/skills/drugbank-database in your project.

What does Drugbank Database need to run?

Going by SKILL.md and its folder, Drugbank Database needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Drugbank Database access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Drugbank Database safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Drugbank Database use?

Drugbank Database is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Drugbank Database use?

About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.

What are the alternatives to Drugbank Database?

Skills that share tags, products or a category with Drugbank Database: Bio Similarity Searching (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars), Pdb Database (jaechang-hits/SciAgent-Skills, 374 stars), Molecular Similarity Search (InternScience/scp, 170 stars) and Molecode (AtomFlow-AI/MoleCode, 306 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Drugbank Database?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,552 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 11, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.