neo4j-cypher-skill

Generate, optimize, and validate Cypher 25 queries for Neo4j 2025.x and 2026.x.

101|35|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-cypher-skill-neo4j-contrib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neo4j-cypher-skill
Source: https://github.com/neo4j-contrib/neo4j-skills/tree/main/neo4j-cypher-skill
Command: npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-cypher-skill-neo4j-contrib

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you write, validate, and performance-tune Cypher 25 queries so they run correctly on Neo4j 2025.x and 2026.x, avoiding common syntax mistakes and inefficient patterns.

Core Features & Use Cases

  • Cypher 25 generation with version-aware features: Produces queries using safe defaults for Neo4j 2025.x and correctly gates syntax and capabilities introduced in 2025.x and 2026.x.
  • Optimization and validation workflow: Applies schema-first guidance, uses EXPLAIN/PROFILE checks, enforces sensible LIMIT usage, and flags eager/scan anti-patterns.
  • Advanced query correctness: Covers subqueries, QPEs (quantified path expressions), vector/fulltext SEARCH, schema inspection commands, and performance-safe MERGE and batching patterns.

Quick Start

Use the neo4j-cypher-skill to generate a Cypher 25 query that matches a graph pattern, uses the correct index-friendly predicates based on my schema, and returns only the specific fields I name.

Frequently Asked Questions about neo4j-cypher-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write Cypher 25 queries with quantified path expressions for Neo4j 2025.x?

Optimize slow Neo4j queries by enforcing schema-first design, parameterization conventions, and EXPLAIN/PROFILE validation workflows. This process detects eager operations and scan anti-patterns, ensuring efficient graph reads and writes.

Does Neo4j 2025.x support vector search and fulltext SEARCH in Cypher queries?

Neo4j 2025.x supports both vector search and fulltext SEARCH capabilities within Cypher 25 queries. The generation process correctly gates these syntax features and applies version-aware safeguards for accurate results.

What is the safest way to use MERGE in Cypher to avoid creating duplicate nodes?

The safest way to use MERGE in Cypher is to enforce performance-safe MERGE rules with proper parameterization and batching patterns. This prevents duplicate creation and concurrent constraint violations during graph writes.

How do I validate Cypher query performance and identify anti-patterns before execution?

Validate Cypher query performance by applying an EXPLAIN/PROFILE validation workflow to identify eager operations and scan anti-patterns. This enforces sensible LIMIT usage and ensures correct clause ordering for optimized execution.

Can I use subqueries in Cypher 25 for complex graph data processing?

Cypher 25 supports advanced subqueries for complex graph data processing on Neo4j 2025.x and 2026.x. The query generation enforces correct clause ordering and version gates to ensure subquery validity and performance.