qsong-github/drugclaw/drugbank

Claude Code and agent skill by qsong-github/drugclaw

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Query a locally downloaded DrugBank database. Use whenever the user asks about drug information, drug targets, drug-drug interactions, drug categories, or wants to look up any entity (DrugBank ID, drug name, CAS number, synonym) in DrugBank.

Install

npx vskill@latest install qsong-github/drugclaw/drugbank

SKILL.md

DrugBank Local Query Skill

Search local DrugBank data by any entity. Auto-detects query type:

Input PatternDetected AsMatch Logic
DB00945DrugBank IDexact on drugbank_id
anything elsefree textsubstring on name, synonyms, cas_number

Data

  • Base dir: resources_metadata/drug_knowledgebase/DrugBank/
  • Files:
  • full database.xml — rich fields: description, targets, interactions, categories, synonyms, groups
  • drugbank vocabulary.csv — lightweight: DrugBank ID, name, CAS, synonyms
  • Auto-select: prefers XML if present, falls back to vocabulary CSV

API

FunctionInputReturns
load(path)file path (XML or TSV/CSV, auto-detected)list[dict]
search(data, entity)single entity stringlist[dict]
search_batch(data, entities)list or comma-separated stringdict[str, list[dict]]
summarize(hits, entity)hit list + labelcompact text
to_json(hits)hit listJSON string

Usage

python
from 07_DrugBank import load, search, search_batch, summarize, to_json
data = load() # auto-selects XML or CSV
# single query
hits = search(data, "aspirin")
print(summarize(hits, "aspirin"))
# batch query
results = search_batch(data, ["metformin", "DB00316", "ibuprofen"])
for entity, hits in results.items():
print(summarize(hits, entity))
# JSON output
print(to_json(hits[:1]))

See if __name__ == "__main__" block in 07_DrugBank.py for runnable examples.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/qsong-github/drugclaw/drugbank/badge)](https://verified-skill.com/skills/qsong-github/drugclaw/drugbank)

Something wrong with this skill or its page? Tell us.