Neo4j Agent Skills
| Documentation for a Neo4j Labs project, which is governed by these terms. |
Neo4j Agent Skills is a collection of installable knowledge packages for AI agents — Claude Code, Cursor, Cline, Gemini CLI, Antigravity, Kiro, Codex, and any other Agent Skills-compatible tool.
Browse and install at skills.sh/neo4j/agent-skills.
npx skills add neo4j/agent-skills
For Claude Code, Gemini CLI, Antigravity (agy), Kiro, and Codex-specific install commands, see Installing Neo4j Agent Skills.
|
Skills bundle step-by-step instructions, reference documentation, and executable scripts into a progressive disclosure model: the agent loads only what it needs, keeping context usage minimal while ensuring correct, Neo4j-specific behavior.
Available Skills
neo4j-getting-started-skill
A Claude Code skill that takes you from zero to a running graph application in a single session.
Invoke it with /neo4j-getting-started-skill and a plain-language description — the skill collects any missing context and then runs 8 stages automatically: prerequisites → context → provision → model → load → explore → query → build.
/neo4j-getting-started-skill fraud detection for a fintech startup
/neo4j-getting-started-skill Healthcare patient journey analysis, intermediate Python dev,
local Docker, synthetic data, Jupyter notebook please.
Database targets: aura-free, aura-pro, local-docker, local-desktop, existing-cloud
Data sources: synthetic, demo, csv, documents (GraphRAG via neo4j-graphrag)
App types: notebook, streamlit, fastapi, graphrag, mcp, explore-only
When all six context variables are provided upfront the skill runs fully autonomously (⇐15 min local, ⇐25 min with Aura provisioning). It writes progress.md after each stage and resumes automatically if interrupted.
Prerequisites: Claude Code, Python >= 3.10, Docker (only for local-docker).
npx skills add neo4j/agent-skills/neo4j-getting-started-skill
neo4j-cypher-skill
Write, optimize, and debug Cypher queries. Covers Cypher 25 syntax, query planning, indexes, and common patterns.
| AI agents trained on older data frequently generate deprecated Cypher. The patterns below are deprecated or replaced in Neo4j 2025.x — prefer the Cypher 25 equivalents. |
| Deprecated (4.x / 5.x) | Cypher 25 replacement |
|---|---|
|
|
|
Quantified path: |
|
|
|
|
|
|
|
|
For driver API deprecations, see neo4j-migration-skill.
npx skills add neo4j/agent-skills/neo4j-cypher-skill
All Skills by Category
Skills route by their description — each one states what it does not handle and names the sibling skill to use instead, so an agent loads the right one without guessing. Two boundaries that come up often: plain vector search without graph traversal is neo4j-vector-index-skill, retrieval that traverses the graph after the lookup is neo4j-graphrag-skill; structured CSV/JSON loading is neo4j-import-skill, unstructured documents and PDFs are neo4j-document-import-skill.
|
Querying and Modeling
| Skill | When to use |
|---|---|
Write, optimize, and debug Cypher queries. Covers Cypher 25 syntax, query planning, indexes, and common patterns. |
|
Design and review graph data models. Covers node/relationship patterns, property choices, and relational-to-graph migration. |
|
Diagnose and fix slow Cypher: read EXPLAIN/PROFILE plans, spot bad operators, choose indexes, hints and runtimes. |
|
Author and validate Neo4j Ontology Graph Specification v1 documents in YAML or JSON. |
|
Zero-to-app walkthrough: provision → model → load → query. Use for first-time setup on Aura or Docker. |
Importing Data
| Skill | When to use |
|---|---|
Load structured data (CSV, JSON) via |
|
Extract knowledge graphs from unstructured documents and PDFs using |
|
Upgrade drivers and Cypher from 4.x/5.x to 2025.x. Covers API changes, deprecated functions, and Cypher 25 syntax. |
|
Stream between Kafka and Neo4j with the Neo4j Connector for Kafka (sink and CDC source) and the native CDC API. |
|
Read and write Neo4j from Apache Spark and Databricks with the Neo4j Connector for Apache Spark. |
AI and Search
| Skill | When to use |
|---|---|
Create and query vector indexes for semantic similarity search. Covers index creation, embedding ingestion, and |
|
In-Cypher LLM integration via |
|
Build GraphRAG retrieval pipelines with |
|
Graph-native agent memory: short-term (conversations), long-term (POLE+O entity model), and reasoning traces. Covers |
|
Set up and use the Neo4j MCP server for tool-based agent access to the database. |
Graph Data Science
| Skill | When to use |
|---|---|
Run GDS algorithms with the embedded GDS plugin on Aura Pro, self-managed, local, or offline Neo4j. |
|
Run serverless Aura Graph Analytics sessions via the Python client or AuraDB Cypher API projection/session management. |
|
Run Neo4j Graph Analytics algorithms (PageRank, Louvain, WCC, Dijkstra, KNN, Node2Vec) directly inside Snowflake without moving data. |
Drivers
| Skill | When to use |
|---|---|
Python driver: |
|
JavaScript/TypeScript driver v6: |
|
Java driver: |
|
.NET/C# driver: |
|
Go driver v6: |
Frameworks and Platforms
| Skill | When to use |
|---|---|
Build GraphQL APIs backed by Neo4j using |
|
Spring Boot + Neo4j with Spring Data Neo4j: |
|
DB admin via |
|
Create and manage Neo4j Aura instances via the Aura CLI and REST API. Covers async polling, credential handling, and tier selection. |
|
Create, configure, and invoke Aura Agents via the v2beta1 REST API. Covers CypherTemplate, SimilaritySearch, and Text2Cypher tools, system prompts, REST/MCP deployment, and OAuth2 auth. |
|
Users, roles and privileges: RBAC, fine-grained and attribute-based access control, with edition gating. |
|
Render Neo4j graphs in the browser with the Neo4j Visualization Library (NVL): renderers, interaction handlers, React wrappers. |
Usage
Once installed, skills activate automatically. Describe your task in plain language and the agent selects and loads the appropriate skill:
"Update these Cypher queries for Neo4j 2026" -> neo4j-cypher-skill
"Upgrade our Python driver to the latest version" -> neo4j-migration-skill
"Import this CSV file into Neo4j" -> neo4j-import-skill
"Build a GraphRAG pipeline over our document corpus" -> neo4j-graphrag-skill
"Run PageRank on the graph" -> neo4j-gds-skill
"/neo4j-getting-started-skill fraud detection" -> neo4j-getting-started-skill
Skills use a three-level progressive disclosure model. The agent loads a short description (~50 tokens) first, then the full protocol (~2,000 tokens) only when the skill is needed, and selectively loads deep reference files on demand — minimizing context usage across a long session.
Related Resources
-
skills.sh/neo4j/agent-skills — browse and install all skills
-
neo4j.com/llms.txt — agentic-engineering reference covering GraphRAG, MCP, drivers, Cypher, and CLI tools, optimized for AI agents and LLMs
-
neo4j.com/docs/llms-full.txt — full documentation index for AI/LLM contexts
-
Using Claude Skills with Neo4j — how Claude Skills work as file-based procedural memory to improve Cypher generation
-
From Weeks to Minutes: Automating Neo4j Driver and Cypher Migration — how agent skills reduce migration work from weeks to minutes
-
Neo4j MCP Servers — for live database access from your AI agent
-
Coding Tool Integrations — Neo4j MCP server setup in VS Code, Cursor, Kiro, and Gemini CLI