
Neo4j Snowflake Graph Analytics Skill
Run Neo4j graph algorithms inside Snowflake SQL for fraud, recommendations, and entity resolution without leaving the warehouse.
Overview
Neo4j Snowflake Graph Analytics Skill is an agent skill for the Build phase that helps you install Neo4j Graph Analytics on Snowflake and write SQL to run graph algorithms on warehouse tables.
Install
npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-snowflake-graph-analytics-skillWhat is this skill?
- Covers Snowflake Marketplace install and required roles or privileges
- Documents the project → compute → write pattern for every algorithm job
- SQL syntax and projection config for node tables, relationships, and orientation
- Algorithm catalog spans community detection, centrality, pathfinding, similarity, and embeddings
- Guidance on chaining algorithms, views for column mismatches, and common error troubleshooting
- Five algorithm families: community detection, centrality, pathfinding, similarity, and node embeddings
- Standard job flow: project → compute → write
- Covers WCC, Louvain, Leiden, PageRank, Dijkstra, node similarity, KNN, and related variants
Adoption & trust: 1 installs on skills.sh; 80 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
What problem does it solve?
You have relational tables in Snowflake but need graph-style analytics without standing up a separate Neo4j cluster or guessing procedure syntax and projections.
Who is it for?
Builders adding fraud, recommendation, or entity-resolution graph jobs directly in Snowflake with marketplace-native Neo4j Graph Analytics.
Skip if: Teams that only need casual BI aggregates in SQL with no graph structure, or those without Snowflake Native Apps and compute pools.
When should I use this skill?
Writing SQL for graph algorithms on Snowflake, first-time Neo4j Graph Analytics setup, picking algorithms for business problems, sizing compute pools, or fixing privilege and projection errors.
What do I get? / Deliverables
You get correct install steps, privilege setup, projection configs, and SQL for chosen algorithms following the project → compute → write pattern.
- Marketplace install and privilege checklist
- Projection and algorithm SQL using project → compute → write
- Chained multi-algorithm job patterns and troubleshooting notes
Recommended Skills
Journey fit
Graph analytics setup and SQL wiring happen while connecting data platforms and analytical backends during product build. The skill centers on Snowflake Native App installation, privileges, and SQL procedure integration—not standalone app UI or launch work.
How it compares
Use instead of hand-rolled NetworkX or external Neo4j ETL when the source of truth already lives in Snowflake tables.
Common Questions / FAQ
Who is neo4j-snowflake-graph-analytics-skill for?
Data-minded solo builders and indie teams shipping analytics on Snowflake who want graph algorithms via SQL procedures rather than a separate graph ops stack.
When should I use neo4j-snowflake-graph-analytics-skill?
During Build integrations when first enabling the Native App, writing algorithm SQL, sizing compute pools, or debugging projection and privilege errors on Snowflake graph jobs.
Is neo4j-snowflake-graph-analytics-skill safe to install?
Treat it like any third-party agent skill: review the Security Audits panel on this Prism page and restrict Snowflake roles and secrets before letting an agent run marketplace installs or production SQL.
SKILL.md
READMESKILL.md - Neo4j Snowflake Graph Analytics Skill
# Neo4j Graph Analytics for Snowflake Skill An [Agent Skill](https://agentskills.io/specification) that helps AI agents work with [Neo4j Graph Analytics for Snowflake](https://neo4j.com/docs/snowflake-graph-analytics/current/) — a Snowflake Native Application that brings graph algorithms directly into Snowflake via SQL procedures. ## What this skill covers - Installing Neo4j Graph Analytics from the Snowflake Marketplace - Setting up the required privileges and roles - The **project → compute → write** pattern for running algorithms - SQL syntax for all available graph algorithms - Projection configuration (node tables, relationship tables, orientation) - Chaining algorithms together - Working with views when column names don't match requirements - Troubleshooting common errors ## Use this skill when - Writing SQL to run graph algorithms on Snowflake tables - Setting up Neo4j Graph Analytics for the first time - Choosing the right algorithm for a business problem (fraud detection, recommendations, entity resolution, etc.) - Configuring compute pool sizes for jobs - Troubleshooting privilege or projection errors ## Available algorithms | Category | Algorithms | |---|---| | Community Detection | WCC, Louvain, Leiden, K-Means, Triangle Count | | Centrality | PageRank, Article Rank, Betweenness, Degree | | Pathfinding | Dijkstra, Delta-Stepping, BFS, Yen's, Max Flow, FastPath | | Similarity | Node Similarity, Filtered Node Similarity, KNN, Filtered KNN | | Node Embeddings | FastRP, Node2Vec, HashGNN | | Graph ML | GraphSAGE (node classification & embeddings, train & predict) | ## Quick example ```sql CALL Neo4j_Graph_Analytics.graph.wcc('CPU_X64_XS', { 'project': { 'nodeTables': ['MY_DB.MY_SCHEMA.NODES'], 'relationshipTables': { 'MY_DB.MY_SCHEMA.RELATIONSHIPS': { 'sourceTable': 'MY_DB.MY_SCHEMA.NODES', 'targetTable': 'MY_DB.MY_SCHEMA.NODES', 'orientation': 'NATURAL' } } }, 'compute': { 'consecutiveIds': true }, 'write': [{ 'nodeLabel': 'NODES', 'outputTable': 'MY_DB.MY_SCHEMA.NODES_COMPONENTS' }] }); ``` ## Resources - [Neo4j Graph Analytics for Snowflake documentation](https://neo4j.com/docs/snowflake-graph-analytics/current/) - [Snowflake Marketplace listing](https://app.snowflake.com/marketplace/listing/GZTDZH40CN/neo4j-neo4j-graph-analytics) - [Example: Basket analysis on TPC-H data](https://github.com/neo4j-product-examples/snowflake-graph-analytics/tree/main/basket-analysis) --- name: neo4j-snowflake-graph-analytics-skill description: Run Neo4j Graph Analytics algorithms (PageRank, Louvain, WCC, Dijkstra, KNN, Node2Vec, FastRP, GraphSAGE) directly inside Snowflake without moving data. Use when running graph algorithms against Snowflake tables via the Neo4j Snowflake Native App ("GDS Snowflake", "graph algorithms in Snowflake", "Neo4j Graph Analytics"). Covers installation, privilege setup, project-compute-write pattern, and SQL CALL syntax. Does NOT cover Cypher or Neo4j DBMS queries — use neo4j-cypher-skill. Does NOT cover Aura Graph Analytics — use neo4j-aura-graph-analytics-skill. Does NOT cover self-managed GDS — use neo4j-gds-skill. version: 1.0.1 allowed-tools: Bash WebFetch --- Snowflake Native App — graph algorithm power inside Snowflake. Data stays in Snowflake; project into a graph, run algorithms via SQL `CALL`, results written back to Snowflake tables. **Docs:** https://neo4j.com/docs/snowflake-graph-analytics/current/ --- ## When to Use - Running graph algorithms / GDS in Snowflake - Data in Snowflake tables - On-demand / pipeline workloads — ephemeral sessions, pay per session-minute - Full isolation from the live database during analytics ## When NOT to Use - **Aura Pro with embedded GDS plugin** → `neo4j-gds-skill` - **Aura Graph Analytics** → `neo4j-aura-graph-analytics-skill` - **Self-managed Neo4j with embedded GDS plugin** → `neo4j-gds-skill` -