OpenParable
Skip to content
← Back to skills

TarKG

Research

TarKG 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.

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/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

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.