Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

graph-rag-knowledge-expert

Skill by roedyrustam

Guide for building GraphRAG pipelines that combine knowledge graphs with vector search. It covers Neo4j Text2Cypher querying, entity and relation extraction, and Microsoft GraphRAG community summaries. Aimed at developers working on multi-hop and global corpus queries.

  • Score 52
  • 130 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install graph-rag-knowledge-expert

Built from the published package, never by AI.

git clone --depth 1 https://github.com/roedyrustam/vibes-plug /tmp/vibes-plug && mkdir -p ~/.claude/skills && cp -r /tmp/vibes-plug/skills/graph-rag-knowledge-expert ~/.claude/skills/graph-rag-knowledge-expert

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install graph-rag-knowledge-expert in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is an expert guide for implementing Knowledge Graph-augmented retrieval (GraphRAG). It says pure vector search is weak at multi-hop reasoning, relationship discovery and global corpus questions, and that graph traversal addresses these gaps. It includes a comparison table of pure vector RAG and GraphRAG.

It provides a TypeScript recipe that reads the Neo4j schema with APOC, asks an LLM to write a read-only Cypher query, and runs it in a read session. A Python recipe extracts entities and relationships into a typed schema using instructor and Pydantic. The guide also describes Microsoft GraphRAG's Leiden-based hierarchical communities and pre-computed summaries. It is written for developers building knowledge base or relational search systems. The author is listed as Roedy Rustam.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text2Cypher queryingGenerates read-only Cypher from a question, grounded in the live Neo4j schema from apoc.meta.schema.
  • Entity and relation extractionExtracts normalized entities and directed relationships from text into a typed Pydantic schema.
  • Hierarchical community summariesDescribes Microsoft GraphRAG clustering with the Leiden algorithm and pre-computed community summaries.
  • Vector vs GraphRAG comparisonCompares pure vector RAG and GraphRAG on multi-hop, global and hallucination criteria.
  • Hybrid retrieval guidanceCovers hybrid Vector plus Graph retrieval pipelines and mentions FalkorDB.
  • Skill commandsLists CLI actions audit, eval, verify, generate and blueprint through vibes skill exec.

What you need

  • Neo4j database with the APOC plugin
  • Node.js with neo4j-driver and the ai SDK for the TypeScript recipe
  • Python with pydantic, instructor and openai for the Python recipe
  • Google AI access through @ai-sdk/google

Try asking

  • Write a read-only Cypher query for suppliers linked to a product via two hops.
  • Extract entities and relationships from this document into a typed schema.
  • Design a GraphRAG pipeline with community summaries for global questions.

Good to know

  • Read-only behavior for Text2Cypher relies on prompt rules and a read session in the example.
  • Example code names specific model versions with fallbacks. Check them before use.
  • The Indonesian section is shorter than the English one and ends partway through its table.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/graph-rag-knowledge-expert/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to graph-rag-knowledge-expert

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

graph-rag-knowledge-expert: common questions

What problems does GraphRAG solve that vector search does not?

The skill says vector search is blind on multi-hop traversal and fails on global queries limited to Top-K chunks. GraphRAG explores graph edges and uses community summaries instead.

Does the Text2Cypher example allow writes to the database?

The system prompt forbids CREATE, MERGE, DELETE and SET, and the query runs in a read session. The source states these rules in the prompt.

Which graph databases does it mention?

It mentions Neo4j and FalkorDB. Neo4j Text2Cypher is the main worked example.

How do I install graph-rag-knowledge-expert?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is graph-rag-knowledge-expert free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is graph-rag-knowledge-expert safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to graph-rag-knowledge-expert?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

graph-rag-knowledge-expert Install

Add to stack

Loading.