OpenParable
Skip to content
← Back to skills

GDKD-query

Research

GDKD-query is an Agent Skill for research published in the BioTender-max/awesome-bio-agent-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/BioTender-max/awesome-bio-agent-skills/blob/HEAD/skills/drugclaw/gdkd/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gdkd-query, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

GDKD Query Skill

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)