Agent skill · Databases

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.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
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.

Facts
Files in the skill folder: 6
SKILL.md size: 3 KB
Bundled scripts: yes
Path: skills/drugclaw/drugmechdb/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Data
  2. Entity auto-detection
  3. API
  4. Node types (14)
  5. Quick usage
  6. Output structure per path
Ships with 5 files
  • README.md
  • __init__.py
  • drugmechdb_skill.py
  • example.py
  • retrieve.py
More from awesome-bio-agent-skills
All skills →
About this skill
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.

Keep going