Primekg skill for Claude
Queries a pinned Precision Medicine Knowledge Graph (PrimeKG) CSV for typed gene, drug, disease, and phenotype nodes, direct associations, disease context, and one- or two-hop paths.
When Claude uses it
Use for PrimeKG reproducibility, biological association lookup, and hypothesis generation with relation and data provenance preserved.
Primekg SKILL.md
A preview of the skill file from K-Dense-AI/scientific-agent-skills (Unknown).
PrimeKG Knowledge Graph
When to use
Use for reproducing PrimeKG analyses, resolving entities in a specific graph artifact, or exploring recorded gene, drug, disease, phenotype, anatomy, and pathway associations. A path supports a research hypothesis; it does not establish causality, treatment efficacy, a prescribing recommendation, or a diagnostic conclusion.
PrimeKG upstream now recommends OptimusKG for new work. This skill remains scoped to PrimeKG CSVs; the helper is not an OptimusKG client. Published PrimeKG integrates 20 resources, with approximately 129,000 nodes and 4.05 million undirected relationships. CSVs contain reverse rows, so row counts differ from distinct undirected relationship counts. Count the actual pinned artifact.
1. Pin and verify the input
The official dataset remained V2.1, published
2022-05-02, at the 2026-10-01 review. Its kg.csv has Dataverse file ID 6180620,
size 981751236 bytes, and provider MD5 aac8191d4fbc5bf09cdf8c3c78b4e75f.
The record declares CC0 1.0; upstream construction code is MIT. These are distinct
from this skill's retained license declaration and from terms of individual source
resources used in a rebuild.
Use the artifact and API reference to obtain metadata,
How to install Primekg
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit K-Dense-AI/scientific-agent-skills/skills/primekg#main ~/.claude/skills/primekgCodex
npx degit K-Dense-AI/scientific-agent-skills/skills/primekg#main ~/.codex/skills/primekgClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Primekg skill do?
Queries a pinned Precision Medicine Knowledge Graph (PrimeKG) CSV for typed gene, drug, disease, and phenotype nodes, direct associations, disease context, and one- or two-hop paths. Use for PrimeKG reproducibility, biological association lookup, and hypothesis generation with relation and data provenance preserved.
+How do I install Primekg in Claude Code?
Copy the skill folder into ~/.claude/skills/primekg, for example with "npx degit K-Dense-AI/scientific-agent-skills/skills/primekg#main ~/.claude/skills/primekg". Claude Code loads it automatically and uses it when a task matches.
+Does Primekg work with ChatGPT or Codex?
Yes. Primekg uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/primekg. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Primekg free?
Primekg is published on GitHub by K-Dense-AI under the Unknown license; check the license terms before using it.