Command Palette

Search for a command to run...

Назад к скиллам
скилл № 51766

neo4j-gds-skill

Neo4j Graph Data Science (GDS) embedded plugin via Python client or Cypher — covers graphdatascience client 2.x, GraphDataScience, gds.graph.project.native…

БесплатноБез исполняемых скриптов
neo4jот neo4j★ 126 звёзд на GitHub

Установить neo4j-gds-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

When to Use

  • Running GDS algorithms against embedded GDS plugin through Python client (graphdatascience)
  • Running GDS algorithms through CALL gds.* Cypher procedures
  • Aura Pro, self-managed Neo4j, local Neo4j, or offline DBMS with GDS plugin installed
  • Projecting named in-memory graphs, running centrality/community/similarity/path/embedding algorithms
  • Chaining algorithms via mutate mode; building FastRP → KNN pipelines
  • Writing node embeddings for Neo4j vector indexes / structural similarity search
  • Memory estimation before large graph operations

When NOT to Use

  • Aura Graph Analytics Sessions / AGA / GdsSessions / AuraGraphDataScience → neo4j-aura-graph-analytics-skill
  • AuraDB Cypher API with { memory: ... } or { sessionId: ... } → neo4j-aura-graph-analytics-skill
  • Cypher query authoring → neo4j-cypher-skill
  • Driver/connection setup → neo4j-driver-python-skill
  • GraphRAG retrieval → neo4j-graphrag-skill
  • Creating/querying vector indexes over written embeddings → neo4j-vector-index-skill
Context Use
Aura Pro with GDS plugin This skill
Self-managed/local/offline Neo4j with GDS plugin This skill
AuraDB serverless analytics session neo4j-aura-graph-analytics-skill
Self-managed Neo4j attached to AGA session neo4j-aura-graph-analytics-skill
Non-Neo4j data source neo4j-aura-graph-analytics-skill

Pre-flight

Use only with embedded GDS plugin.

from graphdatascience import GraphDataScience

gds = GraphDataScience("neo4j+s://xxx.databases.neo4j.io", auth=("neo4j", "pw"))   # AuraDS; aura_ds auto-derived
gds = GraphDataScience("bolt://localhost:7687", auth=("neo4j", "password"))
print(gds.server_version())
RETURN gds.version() AS gds_version

GDS plugin unavailable: client raises GdsNotFound at construction; Cypher raises Unknown function 'gds.version'. AuraDB serverless analytics → neo4j-aura-graph-analytics-skill. Self-managed/local → install or enable GDS plugin.

pip install "graphdatascience>=2.4"          # >= 2.3 required for GDS 2026.10; 2.1 for 2026.09
pip install "graphdatascience[rust-ext]"     # optional: faster serialization

Compatibility (table):

Client GDS server Python pyarrow
2.4 >= 2.13, < 2.28, < 2026.11 >= 3.11, < 3.16 >= 26.0.1, < 27
2.3 >= 2.13, < 2.28, < 2026.11 >= 3.11, < 3.16 >= 22, < 27
2.1 / 2.2 >= 2.13, < 2.28, < 2026.10 >= 3.10, < 3.15 21–25
2.0 >= 2.13, < 2.28, < 2026.9 >= 3.10, < 3.15 21–25

All 2.x: Neo4j Python driver >= 5.26 and < 7.0, pandas 2–3. Python 3.10 + GDS 2026.10 → no supported client; upgrade Python or use Cypher CALL gds.*. GDS server < 2.13 → DeprecationWarning at construction; pin graphdatascience<2 (client 1.22) there.

Client 1.x fallback (GDS server < 2.13)

2.0 1.x client
gds.page_rank, gds.louvain, … — no v2 prefix gds.v2.page_rank, gds.v2.louvain, …
gds.graph.project.native(...) gds.v2.graph.project(...)
gds.graph.project.cypher(query) gds.graph.cypher.project(query, database=...)
Graph / Model GraphV2 / ModelV2
gds.graph.drop(...) → list[GraphInfo] gds.v2.graph.drop(...) → single GraphInfo
Graph.drop(fail_if_missing=) Graph.drop(failIfMissing=)
run_cypher(...) — always retries run_cypher(..., retryable=...)

Migration guide: Neo4j GDS Python client 2.0 migration

GDS plugin releases track the server: 2026.09.0 requires Neo4j 2026.09 — check the GDS compatibility table before upgrading either side.

GDS plugin 2026.07.0 removed CALL gds.userLog() — read hints and warnings from driver result summary notifications or the Neo4j debug log; track task progress with CALL gds.listProgress().

2.0 client rules:

  • Plain endpoints, no v2 prefix — untyped 1.x endpoints and gds.v2.* are gone
  • snake_case parameters: page_rank, fast_rp, mutate_property, write_property
  • Typed result attributes: result.write_millis, not result["writeMillis"] (stream still returns DataFrame)
  • Server version via gds.server_version() — no gds.version() client method (Cypher RETURN gds.version() still valid)
  • Procedure aliases: gds.betweenness ≡ gds.betweenness_centrality; also gds.closeness, gds.degree, gds.eigenvector, gds.harmonic, gds.kcore
  • Pipelines: gds.pipeline.node_classification / link_prediction / node_regression — the only API in 2.0; train(G, model_name=..., ...) — model_name required
  • gds.run_cypher(query, auto_commit=True) [2.1] for CALL { … } IN TRANSACTIONS — 2.0 default retryable transaction rejects it; on 2.0 use the Neo4j
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02WebFetch

Вложенные файлы

  • README.md
  • references/algorithms.md
  • references/graph-projection.md

FAQ

Что делает скилл neo4j-gds-skill?

Neo4j Graph Data Science (GDS) embedded plugin via Python client or Cypher — covers graphdatascience client 2.x, GraphDataScience, gds.graph.project.native, gds.graph.project.cypher, snake_case endpoints, graph catalog operations, stream/stats/mutate/write modes, memory estimation, PageRank, Louvain, WCC, FastRP, KNN, Node Similarity, ML pipelines, and cleanup. Use for Aura Pro, self-managed, local, or offline Neo4j DBMS with the GDS plugin installed. Does NOT cover Aura Graph Analytics GDS Sessions, AuraGraphDataScience, GdsSessions, gds.graph.project.remote, or AuraDB Cypher API projection/session management — use neo4j-aura-graph-analytics-skill. Does NOT handle Cypher authoring — use neo4j-cypher-skill. Does NOT cover driver setup — use neo4j-driver-python-skill or other driver skill.

Как установить скилл neo4j-gds-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл neo4j-gds-skill запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить neo4j-gds-skill с