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

shortestPath((a)-[*]-(b))

SHORTEST 1 (a)-[*]-(b)

()-[*1..5]-() variable-length

Quantified path: ()-[]{1,5}-()

CALL { …​ } IN TRANSACTIONS

CALL { …​ } IN TRANSACTIONS OF N ROWS

WITH collect(x) AS …​ subquery workaround

COLLECT { MATCH …​ RETURN …​ }

WITH count(*) AS …​ subquery workaround

COUNT { MATCH …​ }

RETURN existsn)-[:R]→(

RETURN exists { (n)-[:R]→() }

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

neo4j-cypher-skill

Write, optimize, and debug Cypher queries. Covers Cypher 25 syntax, query planning, indexes, and common patterns.

neo4j-modeling-skill

Design and review graph data models. Covers node/relationship patterns, property choices, and relational-to-graph migration.

neo4j-query-tuning-skill

Diagnose and fix slow Cypher: read EXPLAIN/PROFILE plans, spot bad operators, choose indexes, hints and runtimes.

neo4j-ontology-skill

Author and validate Neo4j Ontology Graph Specification v1 documents in YAML or JSON.

neo4j-getting-started-skill

Zero-to-app walkthrough: provision → model → load → query. Use for first-time setup on Aura or Docker.

Importing Data

Skill When to use

neo4j-import-skill

Load structured data (CSV, JSON) via LOAD CSV, neo4j-admin import, and the Data Importer GUI.

neo4j-document-import-skill

Extract knowledge graphs from unstructured documents and PDFs using SimpleKGPipeline.

neo4j-migration-skill

Upgrade drivers and Cypher from 4.x/5.x to 2025.x. Covers API changes, deprecated functions, and Cypher 25 syntax.

neo4j-kafka-skill

Stream between Kafka and Neo4j with the Neo4j Connector for Kafka (sink and CDC source) and the native CDC API.

neo4j-spark-skill

Read and write Neo4j from Apache Spark and Databricks with the Neo4j Connector for Apache Spark.

Skill When to use

neo4j-vector-index-skill

Create and query vector indexes for semantic similarity search. Covers index creation, embedding ingestion, and ai.text.embed().

neo4j-genai-plugin-skill

In-Cypher LLM integration via ai.text.* functions: embeddings, text completion, structured output, chat, and pure-Cypher GraphRAG.

neo4j-graphrag-skill

Build GraphRAG retrieval pipelines with neo4j-graphrag. Covers retriever selection, retrieval_query patterns, and LangChain/LlamaIndex integration.

neo4j-agent-memory-skill

Graph-native agent memory: short-term (conversations), long-term (POLE+O entity model), and reasoning traces. Covers neo4j-agent-memory, NAMS, MCP, LangChain, CrewAI, ADK.

neo4j-mcp-skill

Set up and use the Neo4j MCP server for tool-based agent access to the database.

Graph Data Science

Skill When to use

neo4j-gds-skill

Run GDS algorithms with the embedded GDS plugin on Aura Pro, self-managed, local, or offline Neo4j.

neo4j-aura-graph-analytics-skill

Run serverless Aura Graph Analytics sessions via the Python client or AuraDB Cypher API projection/session management.

neo4j-snowflake-graph-analytics-skill

Run Neo4j Graph Analytics algorithms (PageRank, Louvain, WCC, Dijkstra, KNN, Node2Vec) directly inside Snowflake without moving data.

Drivers

Skill When to use

neo4j-driver-python-skill

Python driver: execute_query, sessions, transactions, async, UNWIND batching, data types.

neo4j-driver-javascript-skill

JavaScript/TypeScript driver v6: executeQuery, managed transactions, RxJS, data types.

neo4j-driver-java-skill

Java driver: ExecutableQuery, managed/explicit transactions, object mapping, reactive.

neo4j-driver-dotnet-skill

.NET/C# driver: ExecuteReadAsync/ExecuteWriteAsync, DI registration, IResultCursor.

neo4j-driver-go-skill

Go driver v6: ExecuteQuery, generic helpers, spatial types, connection configuration.

Frameworks and Platforms

Skill When to use

neo4j-graphql-skill

Build GraphQL APIs backed by Neo4j using @neo4j/graphql. Covers type definitions, @relationship, @cypher, and filtering.

neo4j-spring-data-skill

Spring Boot + Neo4j with Spring Data Neo4j: @Node, @Relationship, repositories, projections.

neo4j-cli-tools-skill

DB admin via neo4j-admin, cypher-shell, aura-cli, and neo4j-cli (preview unified CLI). Covers backups, imports, user management, Aura provisioning, and agent skill install.

neo4j-aura-provisioning-skill

Create and manage Neo4j Aura instances via the Aura CLI and REST API. Covers async polling, credential handling, and tier selection.

neo4j-aura-agent-skill

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.

neo4j-security-skill

Users, roles and privileges: RBAC, fine-grained and attribute-based access control, with edition gating.

neo4j-nvl-skill

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.