TarKG Query Skill

SkillDev tools

Query canonical TarKG drug-target triplets. Use when the user asks about drug-target interactions, relation labels, disease/pathway context, or quick lookups for drugs/targets in TarKG.

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 TarKG Query Skill skill

What this skill tells your AI

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

Query the canonical packaged TarKG TSV output.

Data

  • Path: resources_metadata/dti/TarKG/tarkg.tsv
  • Columns: drug, target, relation, disease, pathway

API

FunctionInputReturns
load_tarkg(path)TSV pathlist[dict]
query_entity(entity, rows, limit)single entity stringdict
query_entities(entities, path, limit)list of entity stringslist[dict]

query_entity returns keys used by retrieve.py: matched, node_info, outgoing_edges, incoming_edges, candidates.

Usage

Run example.py directly for demo queries against the canonical TSV.

Signals

GitHub stars
116
Forks
3
Last commit
Aug 2026

ahel review

  • K6low
    bundled executables the agent is told to run

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Item type
skill
Key
tarkg
Source
github.com/qsong-github/drugclaw