Skip to main content
skill CX Codex

knowledge-graph-construction — Claude Code skill: setup guide

knowledge-graph-construction guides the design of knowledge graphs from unstructured data, covering model selection between LPG and RDF, schema creation, and extraction for RAG.

no license 103 installs ★ 203 updated 2026-09-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lyndonkl/claude --skill knowledge-graph-construction -a claude-code
Open on GitHub

What knowledge-graph-construction does

The skill walks through a six-stage checklist to turn raw documents into a graph. It helps select the core data model: Labeled Property Graphs for RAG pipelines or RDF/OWL for ontologies like UMLS.

The architecture separates data into three distinct tiers: document instances, curated domain knowledge, and formal ontologies. Relation extraction combines targeted prompts with a second LLM pass to spot missed facts. Graph validation inspects connectivity and checks for orphan nodes.

Standard LPG stores lack full logical reasoning. Projects that demand formal inference will fail unless built on RDF/OWL.

What it helps with

  • choose between LPG, RDF, and hypergraph formats
  • partition entities and relationships across trust layers
  • configure text extraction pipelines with dual-pass verification
  • detect contradictory edges and orphan nodes during quality checks

Example prompts for the agent

  • Help me choose between LPG and RDF for an enterprise RAG setup.
  • Design an event reification schema for multi-party clinical trials.
  • Build a two-pass extraction pipeline to extract relations from research papers.

How to install knowledge-graph-construction

1Skills CLI (Vercel)

npx skills add lyndonkl/claude --skill knowledge-graph-construction -a claude-code

2Manually: put the files in place

~/.claude/skills/knowledge-graph-construction/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/knowledge-graph-construction/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about knowledge-graph-construction

How do I install knowledge-graph-construction in Claude Code?

Run npx skills add lyndonkl/claude --skill knowledge-graph-construction -a claude-code.

What does knowledge-graph-construction do?

It guides the creation of knowledge graphs, covering storage model selection, schema design, and text extraction pipelines.

When should RDF/OWL be chosen instead of LPG?

Choose RDF/OWL when working with established ontologies such as UMLS or SNOMED, or when the system demands formal OWL-DL reasoning.

Similar skills

All skills for Data and databases →

From the same set49

The whole set →
discovery-interviews-surveys discovery-interviews-surveys is a Claude Code skill for planning user interviews and surveys to test product assumptions and uncover customer problems, before building or when exploring why people switch products. CX Codex +1 109installs project-risk-register project-risk-register — a skill for identifying, assessing, and prioritizing project risks using probability-impact scoring. Assigns owners and mitigation plans, then tracks risk evolution throughout the project lifecycle. CX Codex +1 108installs forecast-premortem forecast-premortem is a Claude Code skill that stress-tests probabilistic forecasts by assuming failure before launch. It reveals overlooked risks and recalibrates overconfident estimates. CX Codex +1 108installs mapping-visualization-scaffolds The mapping-visualization-scaffolds skill turns dependencies, hierarchies, and workflows into structured visual maps. Use it for architecture notes, concept mapping, and relationship analysis. CX Codex +1 108installs reference-class-forecasting reference-class-forecasting grounds predictions in historical track records by finding similar past events and establishing baseline probabilities before judging specific cases. CX Codex +1 105installs scientific-email-polishing scientific-email-polishing assists researchers in drafting academic emails, editor cover letters, and rebuttals to peer reviewers. Keeps the tone professional while structuring explicit requests. CX Codex +1 105installs research-claim-map research-claim-map — a skill for Claude Code and Codex that systematically investigates claims and triangulates sources. Runs during fact-checking, due diligence workflows, and conflicting evidence reviews. CX Codex +1 101installs role-switch role-switch — a Claude Code skill analyzing decisions across engineering, product, finance, and legal views. Resolves conflicting priorities and surfaces hidden blind spots during planning. CX Codex +1 100installs

Project sponsors

Companies that keep this analytics open