drugmechdb-query
Query the DrugMechDB drug mechanism-of-action database. Use whenever the user asks about drug mechanisms, drug-to-disease paths, biological targets of a drug, or wants to look up any biomedical entity (drug name, protein, disease, DrugBank ID, MESH ID, UniProt ID, GO term, etc.) in DrugMechDB.
npx skills add BioTender-max/awesome-bio-agent-skills --skill drugmechdb --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# DrugMechDB Query Skill Search drug mechanism-of-action paths by entity name or ID. Each path is a directed graph: Drug → (intermediates) → Disease, with typed nodes and labeled edges. ## Data - **Source**: `indication_paths.json` - **Path**: `resources_metadata/drug_mechanism/DRUGMECHDB/indication_paths.json` - **Records**: ~4846 mechanism paths, ~32k relationships ## Entity auto-detection | Input pattern | Detected as | Example | |---|---|---| | `DB:DB00619` | DrugBank ID | exact on node/graph IDs | | `MESH:D015464` | MESH ID | exact on node/graph IDs | | `UniProt:P00519` | UniProt protein | exact on node IDs | | `GO:0006915` | GO term | exact on node IDs | | `CHEBI:*`, `HP:*`, `UBERON:*`, `CL:*`, `reactome:*`, `InterPro:*`, `PR:*`, `taxonomy:*` | respective types | exact on node IDs | | anything else | free text | substring match on drug/disease/node names | ## API | Function | Signature | Returns | |---|---|---| | `load(path)` | path to JSON | `list[dict]` — full database | | `build_index(db)` | loaded db | `(by_id, by_name, by_drug, by_disease)` dicts for O(1) lookup | | `search(db, entity, index=None)` | single query string | `list[dict]` — matching paths | | `search_batch(d
- Data
- Entity auto-detection
- API
- Node types (14)
- Quick usage
- Output structure per path
What does the drugmechdb-query skill do?
Query the DrugMechDB drug mechanism-of-action database. Use whenever the user asks about drug mechanisms, drug-to-disease paths, biological targets of a drug, or wants to look up any biomedical entity (drug name, protein, disease, DrugBank ID, MESH ID, UniProt ID, GO term, etc.) in DrugMechDB.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill drugmechdb --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
