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.
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-expertRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install graph-rag-knowledge-expert in Claude Code
git clone --depth 1 https://github.com/roedyrustam/vibes-plug /tmp/vibes-plug && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vibes-plug/skills/graph-rag-knowledge-expert ~/.gemini/antigravity-cli/skills/graph-rag-knowledge-expertAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install graph-rag-knowledge-expert in Antigravity CLI
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
ANo 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 →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
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.
