qsong-github/drugclaw/kegg-drug

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.

Install

npx vskill@latest install qsong-github/drugclaw/kegg-drug

SKILL.md

68 · KEGG Drug

Approved drugs — structures, targets, pathways & drug-drug interactions
Category: Drug-centric | Type: DB | Subcategory: DDI
API: https://rest.kegg.jp (free, no key required for academic use)
ResourceURL
Homepagehttps://www.genome.jp/kegg/
API docshttps://www.kegg.jp/kegg/docs/keggapi.html
Paperhttps://academic.oup.com/nar/article/38/suppl_1/D355/3112250

What it provides

  • Drug metadata: name, formula, molecular weight, efficacy, class
  • Targets: gene/protein targets for each approved drug
  • Interactions (DDI): drug-drug interaction annotations
  • Pathways: linked KEGG pathway IDs

Quick start

python
from 68_KEGG_Drug import query
# Single entity
results = query("aspirin")
# Multiple entities
results = query(["aspirin", "metformin", "imatinib"])
# By KEGG Drug ID
results = query("D00109")
# Specific fields only
results = query("warfarin", fields="targets")
results = query("warfarin", fields="interactions")

query() interface

query(entities, fields="all") -> list[dict]
ParameterTypeDescription
entities`str \list[str]`Drug name(s) or KEGG Drug ID(s) (e.g. "D00109")
fieldsstr"all" — full entry; "targets" — targets only; "interactions" — DDI only
Return structure (fields="all")
json
[
{
"drug_id": "dr:D00109",
"query": "aspirin",
"name": "Aspirin (JP18/USP/INN); ...",
"formula": "C9H8O4",
"mol_weight": "180.0423",
"targets": ["PTGS1 ...", "PTGS2 ..."],
"interactions": ["Warfarin [precaution] ...", ...],
"pathways": ["map07112 ...", ...],
"classes": ["Analgesic ...", ...]
}
]

If a name cannot be resolved, the entry contains {"query": "xxx", "error": "No match found"}.


Lower-level functions

FunctionInputOutputDescription
search(query, limit=10)drug name/keywordlist[{id, name}]Keyword search
get_entry(drug_id)KEGG Drug IDdictFull parsed entry
get_targets(drug_id)KEGG Drug IDlist[str]Target lines
get_interactions(drug_id)KEGG Drug IDlist[str]DDI lines

Notes

  • KEGG REST API is free for academic use; commercial use requires a license.
  • Rate limit: no official cap, but keep requests reasonable (~1 req/sec).
  • Drug IDs look like D00109 or dr:D00109; both formats accepted.
  • Not all drugs have interaction or target annotations — empty list means no data.

Security

  • Security scanPassed, 90 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/kegg-drug/badge)](https://verified-skill.com/skills/qsong-github/drugclaw/kegg-drug)

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