primekg

Search biomedical entities and extract neighbor associations from the PrimeKG knowledge graph.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill primekg-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primekg
Source: https://github.com/shushuzn/Rairos/tree/main/skills/primekg
Command: npx skills add https://github.com/shushuzn/Rairos --skill primekg-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, os, json, and includes scripts (resource) components.

What problem does it solve?

PrimeKG helps you quickly translate biological and clinical questions into multiscale, evidence-linked relationships across genes, drugs, diseases, and phenotypes—so you can move from a broad topic to actionable hypotheses.

Core Features & Use Cases

  • Entity search across the graph: Find PrimeKG nodes (genes/proteins, drugs, diseases, phenotypes) by name and optional type filtering.
  • Neighbor and association retrieval: Pull direct connected entities with relationship metadata to support hypothesis building.
  • Disease-context summarization: Produce a compact overview of a disease’s associated genes, drugs, phenotypes, and related diseases.
  • Drug-disease path exploration (limited MVP): Provide direct edge lookups and outlines for path-finding between two nodes for repurposing-style workflows.

Quick Start

Use the primekg skill to search for Alzheimer's disease and return its associated genes, drugs, and phenotypes from the PrimeKG knowledge graph.

Frequently Asked Questions about primekg

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

FAQPage Schema
How do I query gene-disease associations from a knowledge graph for drug repurposing?

You can query gene-disease associations in a knowledge graph by searching biomedical entities and retrieving their direct neighbors with relationship metadata to support drug repurposing workflows. This Skill extracts direct connected entities from the PrimeKG CSV knowledge graph to build actionable hypotheses.

What is disease-centered context summarization in network pharmacology?

Disease-centered context summarization in network pharmacology produces a compact overview of a disease's associated genes, drugs, phenotypes, and related diseases. It aggregates connected entities and relationship metadata from the knowledge graph to translate biological questions into evidence-linked relationships.

How do I find direct neighbors of a drug or gene in a biomedical knowledge graph?

To find direct neighbors of a drug or gene in a biomedical knowledge graph, use node search with optional type filtering to locate the entity, then retrieve its direct connected entities with relationship metadata. This supports hypothesis building across gene-drug-disease-phenotype relationships.

Can I use pandas to analyze CSV knowledge graph data for precision medicine?

Yes, this Skill uses pandas to analyze CSV knowledge graph data for precision medicine. It requires access to the PrimeKG CSV knowledge graph and leverages pandas to support node search, neighbor retrieval with optional relation filtering, and context aggregation across multiscale biomedical relationships.

Does this Skill support path-finding between drugs and diseases for drug discovery?

This Skill provides limited MVP support for drug-disease path exploration by offering direct edge lookups and outlines for path-finding between two nodes. It applies to drug discovery and repurposing workflows by extracting direct associations and relationship metadata from the knowledge graph.

What limitations should I expect when querying phenotype-to-disease relationships?

When querying phenotype-to-disease relationships, expect limitations in path-finding capabilities, as the Skill currently provides only direct edge lookups and outlines for path exploration between two nodes. It focuses on direct neighbor retrieval and disease-centered context summarization rather than complex multi-hop reasoning.