Token导航 LogoToken导航

Agent Skill · 研究检索

neo4j-getting-started-skill(neo4j 入门技巧)

neo4j-getting-started-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

neo4j-getting-started-skill 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 59,221。

总安装 392周安装 16GitHub Stars 28下载 127核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:neo4j-getting-started-skill(neo4j 入门技巧)
来源仓库:https://github.com/neo4j-contrib/neo4j-skills
仓库路径:skills/neo4j-getting-started-skill
安装命令:
npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-getting-started-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-getting-started-skill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

neo4j-getting-started-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于需要根据关键词或任务场景进行信息检索的研究与数据整理场景。通过关键词、来源仓库或任务线索发起搜索,返回结构化候选结果供进一步处理。

安装命令为 npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-getting-started-skill。使用前需确认权限范围、维护状态,注意是否触发联网或文件操作。

来源仓库内路径:skills/neo4j-getting-started-skill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-getti…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

neo4j-getting-started-skill 怎么安装?

在终端执行 npx skills add https://github.com/neo4j-contrib/neo4j-skills --skill neo4j-getting-started…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

neo4j-getting-started-skill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

neo4j-getting-started-skill 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

neo4j-getting-started-skill 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

neo4j-getting-started-skill 用的人多吗?

公开数据是累计安装 392 次,近一周安装 16 次,下载 127 次,GitHub 28 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

neo4j-getting-started-skill 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
neo4j-getting-started-skill

neo4j 入门技巧 · 本页

39228接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Neo4j Getting-Started Skill

Guide a user or agent from zero to a working Neo4j application by executing the 8 stages below in order.

At the start of each stage: read the corresponding ${CLAUDE_SKILL_DIR}/references/<stage-name>.md file and follow its instructions. Only load the stage you are currently executing — not all at once.

"User" means both a human developer and an autonomous coding agent.


When to Use

  • New Neo4j project from scratch (local/Docker/Aura)
  • Full onboarding: zero → DB → model → load → app
  • Generating synthetic data for demos or dev

When NOT to Use

  • Cypher authoring on existing project → neo4j-cypher-skill
  • Driver upgrades / Cypher migration → neo4j-migration-skill
  • Admin on existing DB (backup, restore, import) → neo4j-cli-tools-skill

Project Structure

All generated code, data, scripts, queries, and notebooks must be written to the working directory so the user can inspect, reuse, and re-run them after the session ends. Never generate output only as text in the conversation — always write it to a file.

Organize files into this layout. Create subdirectories before writing files.

.env                    ← DB credentials (gitignored, loaded by python-dotenv)
aura.env                ← Aura API credentials (gitignored, never overwrite)
progress.md             ← stage-by-stage progress (this skill writes it)
requirements.txt        ← Python dependencies

schema/
  schema.json           ← graph model definition
  schema.cypher         ← DDL: constraints + indexes
  reset.cypher          ← wipe all data (keep schema)

data/
  generate.py           ← synthetic data generator  (DATA_SOURCE=synthetic)
  import.py             ← CSV/file importer          (DATA_SOURCE=csv or relational)
  *.csv                 ← any provided or generated data files

queries/
  queries.cypher        ← validated Cypher query library

scripts/
  provision_aura.py     ← Aura provisioning script (generated during provision stage)

notebook.ipynb          ← app artifact (root — standard jupyter convention)
app.py                  ← app artifact (root — streamlit run app.py)
main.py                 ← app artifact (root — uvicorn main:app)
graphrag_app.py         ← app artifact (root)

Root-level files (.env, requirements.txt, app code) stay at root because tooling expects them there. Everything else goes in the appropriate subfolder.


Progress Tracking

The skill maintains progress.md in the working directory to support resumability.

On startup:

  1. Check if progress.md exists.
  2. If it exists, find the first pending stage: grep -B1 "^status: pending" progress.md | grep "^###" | head -1
  3. Resume from that stage. Read its context block (the key=value lines beneath the header) to restore DOMAIN, USE_CASE, NEO4J_URI, etc. — do not re-ask the user for information already recorded.
  4. For each completed stage, read every file listed in its files= line before proceeding. These files are the ground truth — do not reconstruct their content from memory.

- schema/schema.json → re-read before model, load, query, or build stages - queries/queries.cypher → re-read before build stage - data/generate.py → re-read before import or reset

  1. If progress.md does not exist, start from 0-prerequisites.

On stage completion — update (or create) progress.md:

  • If the stage's ### section already exists, update status: pending → status: done and append any new key=value lines.
  • If the section doesn't exist, append it following the format below.

Format:

# Neo4j Getting-Started — Progress
<!-- Resume: grep for "status: pending" to find the next stage -->

### 0-prerequisites
status: done

### 1-context
status: done
DOMAIN=social
USE_CASE=friend recommendations
EXPERIENCE=beginner
DB_TARGET=aura-free
DATA_SOURCE=synthetic
APP_TYPE=notebook
EXEC_METHOD=query-api

### 2-provision
status: done
NEO4J_URI=neo4j+s://abc123.databases.neo4j.io

### 3-model
status: done
labels=Person,Post
relationships=FOLLOWS,POSTED
constraints=2

### 4-load
status: done
nodes=200 Person, 50 Post
relationships=1400 FOLLOWS, 300 POSTED

### 5-explore
status: pending

### 6-query
status: pending

### 7-build
status: pending

Execution Protocol

For each stage:

  1. Announce the stage: "## Stage: <name> — <purpose>"
  2. Read ${CLAUDE_SKILL_DIR}/references/<name>.md
  3. Execute the instructions in that file
  4. Verify the stage's completion condition
  5. Update progress.md with status: done and stage-specific context
  6. Proceed to the next stage (HITL: pause for approval first)

If a stage fails, recover using the error guidance in the stage reference file. Do not skip stages unless the skip condition below explicitly permits it.


Stages

Stages run in the numbered order shown. Each depends on the one before it completing successfully (except where a skip condition applies). Read the linked reference file when entering each stage.

0-prerequisites → 1-context → 2-provision → 3-model → 4-load → 5-explore → 6-query → 7-build

Shared capabilities used across multiple stages:

  • Cypher execution: ${CLAUDE_SKILL_DIR}/references/capabilities/execute-cypher.md (3 options; EXEC_METHOD chosen in context)
  • Cypher authoring rules: ${CLAUDE_SKILL_DIR}/references/capabilities/cypher-authoring.md (or defer to neo4j-cypher-authoring-skill)
  • MCP configuration: ${CLAUDE_SKILL_DIR}/references/capabilities/mcp-config.md (used in prerequisites and build)
  • Query validation: ${CLAUDE_SKILL_DIR}/scripts/validate_queries.py — batch-validate all queries in one call (used in query)

0 — prerequisites

Purpose: Verify and install required CLI tools before doing anything else. Reference: ${CLAUDE_SKILL_DIR}/references/0-prerequisites.md Completes when: neo4j-mcp binary is reachable; .gitignore has .env entry. Never skip.


1 — context

Purpose: Collect domain, use-case, experience, infrastructure target, data source, and output type. Detect EXEC_METHOD for Cypher execution. Reference: ${CLAUDE_SKILL_DIR}/references/1-context.md Completes when: DOMAIN, USE_CASE, EXPERIENCE, DB_TARGET, DATA_SOURCE, APP_TYPE, EXEC_METHOD are known. Skip condition: all variables already provided in conversation context.


2 — provision

Purpose: Provision a running Neo4j database and save credentials to .env. Reference: ${CLAUDE_SKILL_DIR}/references/2-provision.md Completes when: .env exists with NEO4J_URI/USERNAME/PASSWORD/DATABASE; connectivity verified. Skip condition: DB_TARGET=existing → write .env from user credentials, proceed to 3-model.


3 — model

Purpose: Design or discover a graph data model suited to the use-case. Reference: ${CLAUDE_SKILL_DIR}/references/3-model.md Completes when: schema.json and schema.cypher written. Skip condition: DATA_SOURCE=demo → use demo schema, proceed to 4-load. HITL checkpoint (HITL mode only — skip entirely in autonomous mode): show model draft, wait for approval.


4 — load

Purpose: Apply schema constraints, then import data (demo, synthetic, CSV, or documents). Reference: ${CLAUDE_SKILL_DIR}/references/4-load.md Depends on: 3-model (constraints must exist before import). Completes when: node count ≥ 50; import/ scripts written; reset.cypher written.


5 — explore

Purpose: Deliver a visual entry point to the graph — the "it clicks" moment. Reference: ${CLAUDE_SKILL_DIR}/references/5-explore.md Completes when: browser URL printed to user, or notebook visualization cell added. Hard gate — never skip.


6 — query

Purpose: Generate and validate a Cypher query library for the use-case. Reference: ${CLAUDE_SKILL_DIR}/references/6-query.md Completes when: queries.cypher has ≥5 queries; ≥2 traversals; ≥3 return results.


7 — build

Purpose: Generate a runnable application, dashboard, notebook, or agent integration. Reference: ${CLAUDE_SKILL_DIR}/references/7-build.md Completes when: artifact exists, passes syntax check, returns non-empty use-case results.


Success Gates (all 7 required)

GateStageCondition
db_runningprovisiondriver.verify_connectivity() succeeds
model_validmodel≥2 node labels, ≥1 rel type, ≥1 constraint in DB
data_presentloadMATCH (n) RETURN count(n) ≥ 50
queries_workquery≥5 queries; ≥2 traversals; ≥3 return ≥1 result
graph_visibleexploreBrowser URL or notebook viz delivered to user
app_generatedbuildArtifact exists, passes syntax, returns non-empty results
integration_readybuildMCP config or agent framework code present (if requested)

Fast Paths

SituationAction
DB_TARGET=existingSkip provision; write .env from user creds; go to model
DATA_SOURCE=demoSkip custom modeling; use demo schema; jump to load
DB_TARGET=existing + data presentSkip provision, model, load; introspect schema; go to explore

HITL vs Autonomous Mode

HITL (conversational): pause after model for model review; pause after load for data review.

Autonomous (CI-like, all context provided upfront): never pause for approval at any stage; auto-approve all decisions; proceed immediately through all 8 stages; print browser URL to stdout; target ≤15 min from DB running.

How to detect autonomous mode — check at the start of stage 1:

Autonomous if ANY of the following are true:

  • The initial prompt contains all of: DOMAIN, USE_CASE, EXPERIENCE, DB_TARGET, DATA_SOURCE, APP_TYPE (or equivalent phrasing like "Domain: X, use-case: Y,...")
  • The session was started with --auto-approve or similar non-interactive flag
  • All context variables are already recorded in progress.md (resuming an autonomous run)

HITL if: the user opened a fresh conversation without providing full context upfront.

In autonomous mode: every HITL checkpoint in every stage reference file is automatically skipped. Do not ask for approval. Do not say "does this look right?" Do not pause. Continue to the next step immediately.


Final Summary (deliver after all gates pass)

Step 1 — write README.md to the working directory using the template below. Fill in every <placeholder> from progress.md and the actual generated files. This is a required output — do not skip it.

IMPORTANT — portable commands: All re-run commands in README.md MUST use python3 (never an absolute path like /opt/homebrew/bin/python3.14 or /usr/local/bin/python3). The README is shared with others who have different Python installs.

# <DOMAIN> Graph — <USE_CASE>

A synthetic <DOMAIN> graph built with Neo4j, covering <USE_CASE>.
Generated by the neo4j-getting-started-skill on <date>.

## What's in the graph

| Label | Count | Description |
|-------|-------|-------------|
| <Label> | <N> | <one line> |

**Relationships:** <TYPE1>, <TYPE2>, ...
**Constraints:** <N> uniqueness constraints applied

## Explore visually

Open in Neo4j Browser:
<browser_url>

Use `NEO4J_PASSWORD` from `.env` to connect, then run:

// Starter query — shows the full graph sample MATCH (n)-[r]->(m) RETURN n, r, m LIMIT 50


## Files

| File | Purpose | Re-run |
| --- | --- | --- |
| `schema/schema.json` | Graph model | — |
| `schema/schema.cypher` | Constraints + indexes | `source.env && cypher-shell -a $NEO4J_URI -u $NEO4J_USERNAME -p $NEO4J_PASSWORD --file schema/schema.cypher` |
| `schema/reset.cypher` | Wipe data, keep schema | `source.env && cypher-shell -a $NEO4J_URI -u $NEO4J_USERNAME -p $NEO4J_PASSWORD --file schema/reset.cypher` |
| `data/generate.py` | Regenerate synthetic data | `source.venv/bin/activate && python3 data/generate.py` |
| `data/import.py` | Re-import CSVs into Neo4j | `source.venv/bin/activate && python3 data/import.py` |
| `queries/queries.cypher` | Query library | Paste into Neo4j Browser |
| `<artifact>` |  | `<run command>` |
| `requirements.txt` | Python dependencies | `source.venv/bin/activate && pip install -r requirements.txt` |

(Omit `data/generate.py` row when `DATA_SOURCE=csv`; omit `data/import.py` row when `DATA_SOURCE=synthetic`.)

## Run the app

python3 -m venv .venv # skip if .venv already exists source .venv/bin/activate pip install -r requirements.txt <run command>


<For FastAPI only — include this section:> Open [http://localhost:8000/docs](http://localhost:8000/docs) for the interactive API docs.

<For MCP integration — include this section when APP_TYPE includes mcp:>

## MCP integration

To query your graph directly from Claude:

**Claude Code** — copy `mcp-claude-code.json` into `.claude/settings.json`:

cp mcp-claude-code.json .claude/settings.json


Then reload Claude Code (`/reload` or restart). Ask: "What node labels are in my Neo4j database?"

**Claude Desktop** — merge `mcp-claude-desktop.json` into `~/Library/Application Support/Claude/claude_desktop_config.json`, then restart Claude Desktop.

Available MCP tools: `get-schema`, `read-cypher`, `write-cypher`.

## Reset and reload

source .env cypher-shell -a $NEO4J_URI -u $NEO4J_USERNAME -p $NEO4J_PASSWORD --file schema/reset.cypher source .venv/bin/activate python3 data/generate.py # or skip if using your own CSVs python3 data/import.py


## Sample queries

// <use-case-specific query 1 — fill in from queries/queries.cypher> <query>

// <use-case-specific query 2> <query>


(Cypher comments use `//`, not `--`.)

## Next steps

- Explore [GraphAcademy](https://graphacademy.neo4j.com) to deepen your Neo4j knowledge
- Edit `data/*.csv` to change the dataset, then re-run `data/import.py`
- Extend the model: add new node labels or relationship types in `schema/schema.json`

Step 2 — print this to the conversation:


✓ Neo4j Getting-Started — Complete

Database: <NEO4J_URI> Browser: [https://browser.neo4j.io/?connectURL=](https://browser.neo4j.io/?connectURL=)

── What was generated (keep these files) ─────────────────────── schema/schema.json Graph model definition schema/schema.cypher Re-apply constraints/indexes: cypher-shell... --file schema/schema.cypher schema/reset.cypher Wipe data, keep schema: cypher-shell... --file schema/reset.cypher data/generate.py Regenerate synthetic data: source.venv/bin/activate && python3 data/generate.py data/*.csv Source data files — edit to change the dataset data/import.py Re-import from CSVs: source.venv/bin/activate && python3 data/import.py queries/queries.cypher Query library — paste into Neo4j Browser or run with cypher-shell requirements.txt Install deps: source.venv/bin/activate && pip install -r requirements.txt

── Gates ─────────────────────────────────────────────────────── db_running ✓ model_valid ✓ data_present ✓ queries_work ✓ graph_visible ✓ app_generated ✓ integration_ready ✓/–

── Next steps ──────────────────────────────────────────────────

- Explore: open the Browser URL → run MATCH (n)-[r]->(m) RETURN n,r,m LIMIT 50
- Iterate: edit data/*.csv → source.venv/bin/activate && python3 data/import.py (reset first)
- Learn: [https://graphacademy.neo4j.com](https://graphacademy.neo4j.com)

Omit lines that don't apply (e.g. omit data/import.py when DATA_SOURCE=synthetic, omit data/generate.py when DATA_SOURCE=csv).


Checklist

  • [ ] Prerequisites met (Docker/Python/Java; Aura API key if cloud)
  • [ ] DB reachable — RETURN 1 in cypher-shell
  • [ ] Constraints + indexes ONLINE before data load
  • [ ] Data loaded — MATCH (n) RETURN count(n) > 0
  • [ ] queries.cypher: all queries return expected results
  • [ ] App/notebook runs end-to-end
  • [ ] .env gitignored; credentials not hardcoded

平台分布

Codex

35.87%
按下载量换算46

Claude

28.49%
按下载量换算36

Cursor

18.75%
按下载量换算24

Gemini CLI

9.43%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills