neo4j-contrib avatar

Neo4j Graphrag Skill

If you're wiring up retrieval-augmented generation on Neo4j and need to pull graph context alongside your vectors, this is the skill to reach for. It covers the neo4j-graphrag Python package's full retriever lineup: plain vector, hybrid with fulltext, and the Cypher variants that let you traverse relationships after the initial embedding lookup. The decision tree is clean: use HybridCypherRetriever for production GraphRAG, VectorRetriever for a quick baseline, Text2CypherRetriever when you want natural language to Cypher, and ToolsRetriever when the LLM should route between multiple strategies. It also handles LLM provider setup across OpenAI, Anthropic, Vertex, Bedrock, and others, plus the newer SEARCH clause mechanics in Cypher 25. Doesn't touch knowledge graph construction or GDS analytics; those live in separate skills.

skills.sh installs
1.2K
GitHub stars
121
last updated
Aug 21, 2026

Install

$ npx -y skills add neo4j-contrib/neo4j-skills --skill neo4j-graphrag-skill --agent claude-code

Installs into .claude/skills of the current project.

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)

Sponsors

Details

Repository
github.com/neo4j-contrib/neo4j-skills
Categories
DevOps & CI/CD, AI & Agent Building, Data Science & ML, Automation & Workflows, Python, Marketing & SEO, Sales & Marketing, Databases
First seen
Jun 3, 2026

More from neo4j-contrib/neo4j-skills

All 5
1zxkane avataraws-cdk-developmentzxkane/aws-skillsAWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python. Use when creating CDK stacks, defining CDK constructs, implemen1.2Kskills.sh installs
2vintasoftware avatardjango-celery-expertvintasoftware/django-ai-pluginsExpert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and error1.2Kskills.sh installs
3heygen-com avatarliveavatar-integrateheygen-com/liveavatar-agent-skillsBuild a LiveAvatar integration end-to-end — assesses the user's existing stack, recommends the optimal path, and guides implementation. Use when: (1) Building a1.2Kskills.sh installs
4josiahsiegel avatarpowershell-masterjosiahsiegel/claude-plugin-marketplaceComplete PowerShell expertise system across ALL platforms (Windows/Linux/macOS). PROACTIVELY activate for: (1) ANY PowerShell task (scripts/modules/cmdlets), (21.1Kskills.sh installs
5secondsky avatarsap-btp-developer-guidesecondsky/sap-skillsDevelops business applications on SAP Business Technology Platform (BTP) using CAP (Node.js/Java) or ABAP Cloud. Use when: building cloud applications on SAP BT1.1Kskills.sh installs
6jetbrains avatarteamcity-clijetbrains/teamcity-cliUse when working with TeamCity CI/CD or when a user provides a TeamCity build URL — drives the `teamcity` CLI for builds, logs, jobs, queues, agents, pools, pro1.1Kskills.sh installs