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★ 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
mutatemode; 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
v2prefix — untyped 1.x endpoints andgds.v2.*are gone - snake_case parameters:
page_rank,fast_rp,mutate_property,write_property - Typed result attributes:
result.write_millis, notresult["writeMillis"](streamstill returns DataFrame) - Server version via
gds.server_version()— nogds.version()client method (CypherRETURN gds.version()still valid) - Procedure aliases:
gds.betweenness≡gds.betweenness_centrality; alsogds.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_namerequired gds.run_cypher(query, auto_commit=True)[2.1] forCALL { … } IN TRANSACTIONS— 2.0 default retryable transaction rejects it; on 2.0 use the Neo4j
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
WebFetch
Вложенные файлы
- 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…