Skip to content
neo4j avatar

Neo4j Modeling Skill

Design, review, and refactor Neo4j graph data models, including node, relationship, and property decisions.

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 node-vs-relationship-vs-property decisions, relational-to-graph migration, and assessing existing models against anti-pattern checks
  • Includes decision tables for labels vs properties and intermediate-node patterns for n-ary or property-bearing relationships
  • Enforces naming conventions, uniqueness constraints on MERGE keys, and bans generic labels such as :Entity and :RELATED_TO
  • Delegates Cypher authoring, Spring Data mapping, GraphQL types, and data import to their dedicated sibling skills

Install

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

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

Files

When to Use

  • Designing graph model from scratch (domain → nodes, rels, props)
  • Reviewing existing model for anti-patterns
  • Deciding node vs property vs relationship vs label
  • Migrating relational or document schema to graph
  • Designing intermediate nodes for n-ary or complex relationships
  • Detecting and mitigating supernode / high-fanout problems
  • Choosing and creating constraints + indexes for a model

When NOT to Use

  • Writing or optimizing Cypher → neo4j-cypher-skill
  • Spring Data Neo4j (@Node, @Relationship) → neo4j-spring-data-skill
  • GraphQL type definitions → neo4j-graphql-skill
  • Importing data (LOAD CSV, APOC import) → neo4j-import-skill

Inspect Before Designing

On existing database, run first — never propose changes without current state:

CALL db.schema.visualization() YIELD nodes, relationships RETURN nodes, relationships;
SHOW CONSTRAINTS YIELD name, type, labelsOrTypes, properties RETURN name, type, labelsOrTypes, properties;
SHOW INDEXES YIELD name, type, labelsOrTypes, state WHERE state = 'ONLINE' RETURN name, type, labelsOrTypes;

Details

Repository
github.com/neo4j/agent-skills
Category
Databases
First seen
Jun 3, 2026

Questions

What does the neo4j-modeling-skill do for Neo4j graph data models?

It helps you design, review, and refactor Neo4j graph data models. It covers choosing node labels, relationship types, and properties, migrating relational or document schemas to graph, and detecting anti-patterns such as generic labels and supernodes.

How do I install the neo4j-modeling-skill in my project?

Run the command npx -y skills add neo4j/agent-skills --skill neo4j-modeling-skill -y inside your project. Once installed, the agent can design and review graph models for you.

Which skills handle Cypher queries, Spring Data mapping and data import instead of this one?

Cypher query authoring is handled by neo4j-cypher-skill, Spring Data Neo4j entity mapping by neo4j-spring-data-skill, GraphQL type definitions by neo4j-graphql-skill, and data import by neo4j-import-skill. The modeling skill itself does not write queries or import data.

Where does the neo4j-modeling-skill stand in the Databases category?

It is listed in the Databases category on Claude Marketplaces, alongside Supabase and Prisma skills such as supabase-postgres-best-practices and prisma-client-api. It is a graph-modeling skill, so it focuses on Neo4j schema design rather than general relational database work.

Does the modeling skill need a live Neo4j database to work?

The skill inspects an existing database before proposing changes, using schema queries such as db.schema.visualization and SHOW CONSTRAINTS. It also allows WebFetch and Bash tools, so you should expect to connect it to a Neo4j instance such as Aura or a local server for that inspection step.

More from neo4j/agent-skills

All 5

Similar to Neo4j Modeling Skill

More Databases