TarKG
ResearchTarKG 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 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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/BioTender-max/awesome-bio-agent-skills/blob/HEAD/skills/drugclaw/tarkg/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tarkg, 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.
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.