GDKD Query Skill

SkillDatabases & data

Query the Gene-Drug Knowledge Database (GDKD) for variant-specific gene, drug associations in oncology. Use when the user asks about cancer genomic biomarkers, drug sensitivity/resistance by gene or variant, targetable mutations, or clinical evidence for cancer therapeutics.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the GDKD Query Skill skill

What this skill tells your AI

The instructions your AI receives, as published by qsong-github/drugclaw in skills/dti/gdkd/SKILL.md and read by ahel’s review.

Search canonical GDKD rows by drug or gene entity. Auto-detects input type by pattern:

Input PatternDetected AsMatch Logic
ABL1, EGFRGene symbolsubstring on gene
imatinib, erlotinibDrug namesubstring on drug
anything elseFree textsubstring on drug OR gene

API

FunctionInputReturns
load_gdkd(path)CSV pathlist[dict]
search(rows, entity)single entity stringlist[dict]
search_batch(rows, entities)list of entity stringsdict[str, list[dict]]
summarize(hits, entity)rows + labelcompact text
to_json(hits)rowslist[dict]

Usage

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

Data

  • Source: GDKD normalized full-package output
  • Paper: Dienstmann et al., Cancer Discovery 2015;5(2):118-123
  • Format: CSV
  • Columns: drug, gene, score, source
  • Path: resources_metadata/dti/GDKD/gdkd.csv (default DATA_PATH in example.py)

Signals

GitHub stars
116
Forks
3
Last commit
Aug 2026
Advanced
Item type
skill
Key
gdkd-query
Source
github.com/qsong-github/drugclaw