Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

neo4j-aura-graph-analytics-skill

БесплатноБез исполняемых скриптовНе проверен

Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory…

neo4jот neo4j★ 126 звёзд на GitHub

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

When to Use

  • Running GDS algorithms in Aura Graph Analytics GDS Sessions
  • Creating GdsSessions or using AuraGraphDataScience
  • Remote projecting connected Neo4j data with gds.graph.project.remote(...)
  • Using AuraDB Cypher API projection with { memory: ... } or { sessionId: ... }
  • Processing graph data from non-Neo4j sources (Pandas, Spark, CSV)
  • On-demand / pipeline workloads — ephemeral sessions, pay per session-minute (10-minute minimum per session)
  • Full isolation from the live database during analytics

When NOT to Use

  • Aura Pro with embedded GDS plugin → neo4j-gds-skill
  • Self-managed Neo4j with embedded GDS plugin → neo4j-gds-skill
  • Writing Cypher queries → neo4j-cypher-skill
  • Snowflake Graph Analytics → neo4j-snowflake-graph-analytics-skill

Deployment Decision Table

Deployment Use
AuraDB Free this skill — max m_2GB, 1 concurrent session, TTL max 30 min, session lifetime max 4 h, unbilled
Aura Pro + Graph Analytics plugin enabled (lightweight exploration, shared resources) neo4j-gds-skill
Aura Pro / Pro Trial + session (isolated compute) this skill — up to 128 GB (Pro) / 8 GB (Pro Trial), 100 / 3 concurrent sessions, lifetime max 7 days / 1 day
AuraDB + Python client sessions this skill
AuraDB Free / Pro / BC / VDC + Cypher API this skill for AGA-specific projection/session notes; neo4j-cypher-skill for query authoring
Self-managed Neo4j + AGA session this skill
Self-managed Neo4j + embedded plugin neo4j-gds-skill
Non-Neo4j data (Pandas, Spark) this skill (standalone mode)

Defaults

  • graphdatascience >= 2.0 required; >= 2.4 recommended
  • 2.0 endpoints: no v2 prefix — gds.page_rank.*, gds.graph.node_properties.*, gds.graph.construct(...)
  • Use snake_case parameters end-to-end
  • Call gds.verify_connectivity() after session creation — verifies session and, if attached, the source DB
  • Estimate memory before large sessions
  • Set TTL; default 1h idle, max 7d. Free: default and max TTL 30 min. Max session lifetime: Free 4 h, Pro Trial 1 day, Pro/BC/VDC 7 days
  • Minimum billed duration 10 minutes per session — reuse sessions via get_or_create(session_name=...)
  • Close session when done: gds.delete() or sessions.delete(session_name=...) stops billing
  • Use AuraAPICredentials.from_env() (reads CLIENT_ID, CLIENT_SECRET, PROJECT_ID) and DbmsConnectionInfo.from_env() — never hardcode credentials

Installation

pip install "graphdatascience>=2.4"     # 2.4 is the current stable release

2.0–2.2 require: Python >= 3.10, neo4j driver 5.26–7.0, pandas 2–3, pyarrow 21–25, numpy <3. 2.3: Python >= 3.11 and < 3.16 (3.10 dropped), pyarrow >= 22 and < 27 — stay on 2.2 for Python 3.10. 2.4: pyarrow >= 26.0.1 and < 27 (CVE-2026-111497 fix).

Client 1.x (legacy)

2.0 renamed/reorganized the client. Pinned to 1.22 (graphdatascience<2)? Map:

1.x 2.0
gds.v2.<endpoint> gds.<endpoint> — v2 prefix gone; untyped 1.x endpoints removed
gds.graph.project(graph_name, query) (remote) gds.graph.project.cypher(graph_name, query)
gds.graph.project_native(...) gds.graph.project.native(...)
GraphV2 / ModelV2 Graph / Model — from graphdatascience import Graph
Graph.drop(failIfMissing=) / Model.drop(failIfMissing=) fail_if_missing=
gds.v2.verify_session_connectivity() / gds.v2.verify_db_connectivity() gds.verify_connectivity() — existed in 1.x too; v2 namespace gone
run_cypher(..., retryable=) removed — always retries
gds.graph.project.cypher(database=...) removed — gds.set_database(...) before projecting
gds.graph.node_labels.mutate(write_concurrency=, job_id=) parameters removed
ArrowEndpointVersion.from_arrow_info check_version_compatibility

Migration guide: Neo4j GDS Python client 2.0 migration

2.0 additions: GdsSessions.estimate(algorithms=[...]) per-algorithm memory; GdsSessions.get_or_create(show_progress=...); keyword-only GdsSessions.delete(session_name=|session_id=) returns False when nothing deleted; overwrite=True on gds.graph.project / generate / construct / filter / sample drops a same-named graph first; gds.graph.drop(...) accepts multiple graphs → list[GraphInfo].

2.1 additions: gds.run_cypher(query, auto_commit=True) for CALL { … } IN TRANSACTIONS (2.0 default retryable transaction rejects it); gds.db_driver() → session client's managed neo4j.Driver (closed by gds.close()); mode="READ"/"WRITE" strings accepted for QueryMode.

2.3 additions: get_or_create attaches to Aura virtual graph instances (type auto-detected; pass uri= + aura_instance_id=); DbmsConnectionInfo(uri=...) used as-is for AuraDB instead of replaced by Aura API connection URL; graphs pr

Полный SKILL.md на GitHub

Установить neo4j-aura-graph-analytics-skill в Claude Code и Claude Desktop

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

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

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

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

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

Bash
WebFetch

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

README.mdreferences/limitations.mdreferences/workflows.md

FAQ

Что делает скилл neo4j-aura-graph-analytics-skill?

Serverless Aura Graph Analytics (AGA) GDS Sessions — covers GdsSessions, AuraGraphDataScience, AuraAPICredentials, DbmsConnectionInfo, SessionMemory, get_or_create, remote graph projection with gds.graph.project.cypher and gds.graph.project.remote, gds.graph.project.native, gds.graph.construct, graphdatascience client 2.0 session endpoints, async compute and gds.jobs, AuraDB Cypher API memory/sessionId projection, algorithms, write-back, and session lifecycle. Use for AuraDB-connected, self-managed Neo4j, or standalone DataFrame/Spark session workloads. Does NOT cover the embedded GDS plugin on Aura Pro or self-managed Neo4j — use neo4j-gds-skill. Does NOT handle Cypher authoring — use neo4j-cypher-skill. Does NOT cover Snowflake Graph Analytics — use neo4j-snowflake-graph-analytics-skill.

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

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

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

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

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

Сравнить neo4j-aura-graph-analytics-skill с