Back to skills
SKILL.md
Tarkg
ASecurityQuery 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.
- 230 stars
- 0 votes
- 0 copies
- 3 views
- Added September 6, 2026
Works with
Security analysis
100/100Pro scans all 6 files and shows the line behind each finding
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill tarkg --agent claude-codeAre you the author of Tarkg?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/biotender-max-tarkg)---
name: TarKG
description: >
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.
---
# TarKG Query Skill
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.
Files in this skill
- README.md
- SKILL.md
- __init__.py
- example.py
- retrieve.py
- tarkg_skill.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.