primekg

Query PrimeKG nodes and relationships for genes, drugs, diseases, and phenotypes.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill primekg-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primekg
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/primekg
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill primekg-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies access to the Precision Medicine Knowledge Graph (PrimeKG), allowing users to integrate and query its extensive biological data on genes, drugs, diseases, and phenotypes.

Core Features & Use Cases

  • Biological Data Integration: Merges over 20 primary databases and literature into one comprehensive resource.
  • Entity and Relationship Retrieval: Search for and retrieve nodes (genes, drugs, diseases, phenotypes) and their associated relationships.
  • Disease Context Analysis: Analyze related genes, drugs, and phenotypes to understand disease context.
  • Drug Repurposing: Identify potential repurposing opportunities through drug-disease relationships.
  • Use Case: Use this Skill to explore the association between a specific disease and related genes to discover potential therapeutic targets.

Quick Start

Use the primekg skill to search for nodes related to "Alzheimer's disease".

Frequently Asked Questions about primekg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query a precision medicine knowledge graph for drug repurposing opportunities?

To query a precision medicine knowledge graph for drug repurposing, you search for specific diseases and analyze their associated drug-disease relationships. This Skill retrieves nodes and relationships from PrimeKG to help identify potential therapeutic alternatives.

Can I analyze disease context by finding related genes and phenotypes in biological data?

Yes, you can analyze disease context by retrieving direct neighbors in the knowledge graph. This process fetches related genes, drugs, and phenotypes to help you understand the biological relationships surrounding a specific disease.

What biological data sources are integrated for precision medicine knowledge graph analysis?

The precision medicine knowledge graph integrates biological data from over 20 primary databases and literature sources. This comprehensive integration merges genes, drugs, diseases, and phenotypes into a single queryable resource.

Do I need Python and pandas to search for genes and drugs in PrimeKG?

Yes, you need Python and pandas to search for genes and drugs in PrimeKG. The Skill requires executing Python scripts to query the knowledge graph and analyze the retrieved biological nodes and relationships.

How do I retrieve direct neighbors of a specific node in a biological knowledge graph?

You retrieve direct neighbors of a specific node by executing Python query scripts provided by the Skill. This functionality fetches immediately connected genes, drugs, diseases, or phenotypes for local biological analysis.

What are the limitations of using PrimeKG for precision medicine queries?

A limitation of using PrimeKG is that it requires Python scripts for executing queries and analyzing data, meaning it cannot be queried through a visual interface. Users must be comfortable with pandas and programmatic data retrieval.