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.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
DrugBank contains drug and drug-target information. The bundled helper reads a licensed local XML export; it does not include the dataset or download it automatically. Available records depend on the supplied export and its version.
Access a DrugBank export that the user is licensed to use. The skill provides guidance on:
When to use: Setting up local DrugBank analysis or diagnosing a missing export.
Reference: See references/data-access.md for loading an explicitly provided licensed export, the current availability of DrugBank downloads, the separate hosted API, and troubleshooting.
Extract comprehensive drug information from the database including identifiers, chemical properties, pharmacology, clinical data, and cross-references to external databases.
Query capabilities:
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.
Analyze drug-drug interactions (DDIs) including mechanism, clinical significance, and interaction networks for pharmacovigilance and clinical decision support.
Analysis capabilities:
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.
Access detailed information about drug-protein interactions including targets, enzymes, transporters, carriers, and biological pathways.
Target analysis capabilities:
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.
Perform structure-based analysis including molecular similarity searches, property calculations, substructure searches, and ADMET predictions.
Chemical analysis capabilities:
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.
data-access.md to load an explicitly provided licensed exportdrug-queries.md to build searchable drug databasechemical-analysis.md to find similar compoundstargets-pathways.md to identify shared targetsinteractions.md to check safety of candidate combinationsdrug-queries.md to look up patient medicationsinteractions.md to check all pairwise interactionsinteractions.md to classify interaction severityinteractions.md to calculate overall risk scoretargets-pathways.md to understand interaction mechanismstargets-pathways.md to find drugs with shared targetschemical-analysis.md to find structurally similar drugsdrug-queries.md to extract indication and pharmacology datainteractions.md to assess potential combination therapiesdrug-queries.md to extract drug of interesttargets-pathways.md to identify all protein interactionstargets-pathways.md to map to biological pathwayschemical-analysis.md to predict ADMET propertiesinteractions.md to identify potential contraindications# The local XML helper uses only the Python standard library.
# Install only the packages needed for the selected analysis:
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)Obtain an XML export through the user's authorized DrugBank access; the helper only
loads an explicitly provided licensed export. An account or installed downloader does
not prove download entitlement, and references/data-access.md records the current
status of DrugBank downloads. Do not fetch a different or unlicensed copy as a fallback.
From the skill directory:
from scripts.drugbank_helper import DrugBankHelper
db = DrugBankHelper(xml_path="/path/to/licensed/drugbank.xml")
print(db.get_drug_info("DB00001"))Alternatively set DRUGBANK_XML_PATH and use DrugBankHelper(). A previously
parsed XML root is still accepted with DrugBankHelper(root=root).
Record the version and checksum of the supplied XML export in analysis metadata. Do not silently substitute an older export when the requested version is unavailable.
All detailed implementation guidance is organized in modular reference files:
Load these references as needed based on your specific analysis requirements.
4082a2e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.