Skip to content
neo4j avatar

Neo4j Graphrag Skill

Neo4j GraphRAG retrieval pipelines that pick among vector, hybrid, Cypher, and external-database retrievers.

CCM score
70 of 100
skills.sh installs
1.3K
GitHub stars
125
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers retriever selection across VectorRetriever, HybridRetriever, VectorCypherRetriever, HybridCypherRetriever, Text2CypherRetriever, and ToolsRetriever
  • Includes external vector store retrievers for Weaviate, Pinecone, and Qdrant, plus setup for seven LLM providers and their embedders
  • Guides index creation with a check that vector and fulltext indexes reach ONLINE state before ingestion, and covers retrieval_query Cypher fragments
  • Designed for building GraphRAG on the neo4j-graphrag package; KG construction, plain vector search, and GDS analytics are routed to other skills

Install

$ npx -y skills add neo4j/agent-skills --skill neo4j-graphrag-skill -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Neo4j GraphRAG Skill

When to Use

  • Building GraphRAG retrieval pipelines with neo4j-graphrag Python package
  • Choosing between VectorRetriever, HybridRetriever, VectorCypherRetriever, HybridCypherRetriever
  • Writing retrieval_query Cypher fragments for graph-augmented context
  • Wiring retriever + LLM into a GraphRAG pipeline
  • Using LLM-routed multi-retriever with ToolsRetriever
  • Debugging low retrieval quality
  • Integrating Neo4j with LangChain, LlamaIndex, or Haystack

When NOT to Use

  • KG construction from documents → neo4j-document-import-skill
  • Plain vector/semantic search without graph traversal → neo4j-vector-index-skill
  • Hybrid search that combines vector with fulltext or other ranked sources → neo4j-vector-index-skill
  • GDS algorithms (PageRank, Louvain, node embeddings) → neo4j-gds-skill
  • Agent long-term memory → neo4j-agent-memory-skill
  • Writing raw Cypher queries → neo4j-cypher-skill

Retriever Selection

Has fulltext index?
  YES → Hybrid variants (HybridRetriever / HybridCypherRetriever)
  NO  → Vector variants (VectorRetriever / VectorCypherRetriever)

Details

Repository
github.com/neo4j/agent-skills
Categories
AI Agents & LLM Apps, Databases
First seen
Jun 3, 2026

Questions

What does the neo4j-graphrag-skill help an agent build?

It guides building GraphRAG retrieval pipelines on Neo4j with the neo4j-graphrag Python package. It covers retriever selection, retrieval_query Cypher fragments, LLM provider setup, and wiring a retriever and LLM into a GraphRAG pipeline.

Which retriever should I pick with neo4j-graphrag-skill?

The skill's selection guide says to use a hybrid variant when a fulltext index exists, and a Cypher variant when graph traversal is needed after the vector lookup. HybridCypherRetriever is named as the default for production GraphRAG.

How do I install the neo4j-graphrag-skill?

Run npx -y skills add neo4j/agent-skills --skill neo4j-graphrag-skill -y in a project. The skill then lets the agent write GraphRAG retrieval code with the neo4j-graphrag package.

What does neo4j-graphrag-skill need to run?

It needs Python 3.10 up to but not including 3.15 and the neo4j driver at version 6.3.1 or later below 7. It also needs a Neo4j database with a vector index and, for hybrid retrievers, a fulltext index, plus an LLM provider key such as OPENAI_API_KEY.

More from neo4j/agent-skills

All 5

Similar to Neo4j Graphrag Skill

More AI Agents & LLM Apps