Knowledge graph query skill for PrimeKG CSVs with typed entity resolution, association retrieval, and short path enumeration.
- CCM score
- 73 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers pinned PrimeKG workflows: artifact verification by checksum, typed node search, association lookup, disease context summaries, and one- or two-hop undirected paths
- Includes the
search_nodes,get_neighbors,get_disease_context, andfind_pathshelpers, with exact relation names such asindication,contraindication, anddisease_phenotype_negative - Enforces identity keys of (id, type, source) and rejects ambiguous bare IDs, while keeping contraindications separate from treatment support
- Designed for reproducible biological hypothesis generation where relation meaning and data provenance must be preserved
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill primekg -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, Research & Academic, Databases
- First seen
- Jun 3, 2026
Questions
What does the primekg skill do?
The primekg skill queries a pinned Precision Medicine Knowledge Graph CSV for typed gene, drug, disease, and phenotype nodes, direct associations, disease context, and one- or two-hop paths. It keeps relation names and data provenance intact so hypotheses can be traced back to the source artifact.
How do I install the primekg skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill primekg -y in your project to install it. Once installed, the primekg skill lets your agent resolve entities, retrieve associations, and summarize disease context from a downloaded PrimeKG CSV.
What does the primekg skill need to run locally?
The primekg skill requires Python 3.11 or newer and pandas. Local queries also need a downloaded PrimeKG kg.csv file and several gigabytes of available RAM, because the helper reads the whole CSV for each query.
Which skills lead the Data Science & Analytics category next to primekg?
The other top skills in this category are azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. The primekg skill differs by focusing on biomedical knowledge graph lookups over a versioned PrimeKG release.
More from k-dense-ai/scientific-agent-skills
All 132- Glycoengineering2.2K
- Ginkgo Cloud Lab2.2K
- Hugging Science2.1K
- Autoskill2K
- Exa Search2K
- Scientific Writing2.9K
- Scientific Visualization2.8K
- Literature Review2.8K
- Scientific Critical Thinking2.8K
- Statistical Analysis2.7K
- Scientific Brainstorming2.7K
- Paper Lookup2.6K
- Citation Management2.6K
- Peer Review2.6K
- Matplotlib2.6K
- Scikit Learn2.6K
- Scientific Slides2.6K
- Scientific Schematics2.5K
- Exploratory Data Analysis2.5K
- Statsmodels2.5K
- Markitdown2.5K
- Hypothesis Generation2.5K
- Markdown Mermaid Writing2.4K
- Seaborn2.4K
Similar to Primekg
More Data Science & Analyticsbgpt-paper-searchSkillk-dense-ai/scientific-agent-skills2.4K installsSearch and DOI lookup for BGPT scientific papers, returning claim-level evidence extracted from full text.
Google Knowledge GraphMCP serverhoutini-ai13 starsFree public access to Google's Knowledge Graph for structured data on real-world entities.
paper-lookupSkillk-dense-ai/scientific-agent-skills2.6K installsComprehensive scholarly search across 18 APIs that returns papers, citations, open-access full text, and reproducible provenance.
maven-bioPluginanthropics/knowledge-work-plugins36.8K starsEvidence-backed BioPharma research workflows over Maven Bio's drug, trial, company, and deal knowledge graph. Skills for competitive pipelines, indication lands
knowledge-graph-builderSkilloakoss/agent-skills223 installsImplementation guide for knowledge graphs covering ontology design, database selection, and graph-vector hybrid search.
pubmed-databaseSkillaffaan-m/everything-claude-code1.8K installsStructured PubMed search skill that builds MeSH and field-tagged queries for biomedical literature retrieval.