CtrlK
BlogDocsLog inGet started
Tessl Logo

neo4j-spark-skill

Use when reading from or writing to Neo4j with Apache Spark or Databricks using the Neo4j Connector for Apache Spark (org.neo4j:neo4j-connector-apache-spark). Covers SparkSession setup, DataFrame reads via labels/Cypher/relationship scan, DataFrame writes with SaveMode, node.keys for MERGE, relationship write mapping, partition and batch tuning, PySpark and Scala examples, Databricks cluster config, Databricks secrets for credentials, Delta Lake to Neo4j pipelines. Does NOT handle Cypher authoring — use neo4j-cypher-skill. Does NOT handle the Python bolt driver — use neo4j-driver-python-skill. Does NOT handle GDS algorithms — use neo4j-gds-skill.

90

1.10x
Quality

88%

Does it follow best practices?

Impact

92%

1.10x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

78%

-19%

Graph Analytics Data Extraction

Partitioned read modes with Cypher query and relationship scan

Criteria
Without context
With context

Correct format string

100%

100%

Correct Maven artifact

62%

100%

Label scan for Shipment

100%

0%

Partitions option set

100%

50%

schema.flatten.limit increased

100%

0%

Cypher query mode used

100%

100%

Explicit RETURN aliases

100%

100%

No SKIP/LIMIT in Cypher

100%

100%

Relationship scan for SHIPS_TO

100%

100%

Source and target labels on rel scan

100%

100%

Mutually exclusive read modes

100%

100%

Authentication config

100%

100%

100%

22%

E-Commerce Graph Ingestion Pipeline

Node and relationship write pipeline with MERGE, coalesce, and constraints

Criteria
Without context
With context

Correct format string

100%

100%

Correct Maven artifact

40%

100%

Overwrite mode for nodes

100%

100%

node.keys for Customer

100%

100%

node.keys for Product

100%

100%

Uniqueness constraints in Cypher file

100%

100%

Nodes written before relationships

100%

100%

coalesce(1) on relationship write

20%

100%

relationship.save.strategy keys

100%

100%

Source and target node.keys on relationship

100%

100%

repartition for node throughput

50%

100%

batch.size tuned

0%

100%

relationship.properties mapping

87%

100%

100%

26%

Databricks Knowledge Graph Pipeline

Databricks Delta Lake to Neo4j pipeline with secrets and access mode

Criteria
Without context
With context

Databricks secrets for URL

100%

100%

Databricks secrets for credentials

100%

100%

Single User access mode noted

100%

100%

Correct Maven coordinate in cluster_config

0%

100%

Correct format string

100%

100%

Delta table reads

100%

100%

Overwrite mode for Patient nodes

100%

100%

node.keys for Patient

100%

100%

Overwrite mode for Provider nodes

100%

100%

node.keys for Provider

100%

100%

Nodes written before relationships

100%

100%

coalesce(1) on relationship write

0%

100%

batch.size 10000-20000

0%

100%

Relationship properties mapped

100%

100%

Repository
neo4j-contrib/neo4j-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.