qsong-github/drugclaw/mecddi

Claude Code and agent skill by qsong-github/drugclaw

Trust tier 3
  • community
Source check pending

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

Query the MecDDI mechanism-based drug-drug interaction database. Use whenever the user asks about drug-drug interactions, DDI mechanisms (PK/PD), enzyme or transporter-mediated interactions, or wants to look up interacting drug pairs by drug name or MecDDI drug ID. Trigger on keywords like DDI, drug interaction, MecDDI, mechanism-based interaction, pharmacokinetic interaction, pharmacodynamic interaction, or any query involving two drugs that may interact.

Install

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

SKILL.md

MecDDI Query Skill

Search MecDDI drug-drug interaction records by drug name or drug ID. Auto-detects input type:

Input PatternDetected AsMatch Logic
D0123MecDDI Drug IDexact on A_Drug_ID / B_Drug_ID
anything elsefree textsubstring on A_Drug_Name / B_Drug_Name

Mechanism Categories (7 files)

CategoryType
Affected Gastrointestinal AbsorptionPK
Affected Cellular TransportPK
Affected Organization DistributionPK
Affected Intra/Extra-Hepatic MetabolismPK
Affected Excretion PathwaysPK
Pharmacodynamic Additive EffectsPD
Pharmacodynamic Antagonistic EffectsPD

API

FunctionInputReturns
load_mecddi(data_dir)directory pathlist[dict] (all records)
search(records, entity)single entity stringlist[dict]
search_batch(records, entities)list of stringsdict[str, list[dict]]
summarize(hits, entity)hits + labelcompact text for LLM
to_json(hits)list[dict]JSON string

Data

  • Source: 7 TSV files downloaded from <https://mecddi.idrblab.net/download>
  • Path: DATA_DIR variable in 19_MecDDI.py (default: resources_metadata/ddi/MecDDI)
  • Columns: A_Drug_ID, A_Drug_Name, B_Drug_ID, B_Drug_Name, Mechanism_Category

Usage

See if __name__ == "__main__" block in 19_MecDDI.py for runnable examples covering:

  1. Single drug name → search(data, "Atropine")
  2. Single drug ID → search(data, "D0123")
  3. Batch query → search_batch(data, ["Meclizine", "Isocarboxazid", "D0853"])
  4. JSON output → to_json(hits)
  5. LLM-friendly summary → summarize(hits, entity)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
116
Repository forks
3
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. 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/mecddi/badge)](https://verified-skill.com/skills/qsong-github/drugclaw/mecddi)

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