TarKG Query Skill
SkillDev toolsQuery 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.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
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
| Function | Input | Returns |
|---|---|---|
load_tarkg(path) | TSV path | list[dict] |
query_entity(entity, rows, limit) | single entity string | dict |
query_entities(entities, path, limit) | list of entity strings | list[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
github.com/qsong-github/drugclaw