knowledge_graph

Build and query knowledge graphs from code or documents with natural-language queries.

2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/jeremylongshore/oss-agent-lab --skill knowledge-graph-jeremylongshore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge_graph
Source: https://github.com/jeremylongshore/oss-agent-lab/tree/main/agents/specialists/knowledge_graph
Command: npx skills add https://github.com/jeremylongshore/oss-agent-lab --skill knowledge-graph-jeremylongshore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebases and repositories often lack a unified view of entities and relationships, making it hard to discover how modules, functions, and concepts connect. The Knowledge Graph Specialist provides a scalable approach to build, traverse, and query a graph from code or documentation to support reasoning and extraction of actionable insights.

Core Features & Use Cases

  • Knowledge graph construction from code or documents with depth-aware traversal.
  • Graph Retrieval-Augmented Generation (G-RAG) style natural-language querying to surface relevant entities and paths.
  • Relationship discovery between named entities to understand dependencies, calls, and references.

Quick Start

Build a graph from a source artifact and query it with a natural-language question.

Frequently Asked Questions about knowledge_graph

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

FAQPage Schema
How do I build a knowledge graph from my code repository?

Query a knowledge graph using Graph RAG-style natural-language querying to surface relevant entities, relationship paths, and structured results without manual graph traversal or complex query languages.

What is Graph RAG and how does it work for code analysis?

Discover entity relationships in code by constructing a knowledge graph that identifies dependencies, function calls, and references between named entities through depth-aware traversal of repository URLs or local paths.

Can I use this to analyze local code snippets without a full repository?

Query a knowledge graph using Graph RAG-style natural-language querying to surface relevant entities, relationship paths, and structured results without manual graph traversal or complex query languages.

What is the best way to find dependencies and function calls across modules?

Discover entity relationships in code by constructing a knowledge graph that identifies dependencies, function calls, and references between named entities through depth-aware traversal of repository URLs or local paths.

Does this knowledge graph tool require external dependencies or libraries?

Query a knowledge graph using Graph RAG-style natural-language querying to surface relevant entities, relationship paths, and structured results without manual graph traversal or complex query languages.

What structured outputs do I get from querying a code knowledge graph?

Query a knowledge graph using Graph RAG-style natural-language querying to surface relevant entities, relationship paths, and structured results without manual graph traversal or complex query languages.