Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add neo4j-contrib/neo4j-skills --skill neo4j-cypher-skillgit clone --depth 1 https://github.com/neo4j-contrib/neo4j-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/neo4j-contrib/neo4j-skills/neo4j-cypher-skill)<a href="https://agentmods.dev/skills/neo4j-contrib/neo4j-skills/neo4j-cypher-skill"><img src="https://agentmods.dev/badge/skills/neo4j-contrib/neo4j-skills/neo4j-cypher-skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/neo4j-contrib/neo4j-skills/neo4j-cypher-skill"><img src="https://agentmods.dev/badge/skills/neo4j-contrib/neo4j-skills/neo4j-cypher-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 309 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00137 | $0.07395 |
| Opus 5.5 | $0.00055 | $0.02958 |
| Sonnet 5.5 | $0.00027 | $0.01479 |
| Haiku 4.5 | $0.00014 | $0.00739 |
Grade A, and why
neo4j-cypher-skill scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST https://<instance>.databases.neo4j.io/db/<database>/query/v2 \ This is a copy
95% identical to neo4j-cypher — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to Use
- Writing, optimizing, or debugging Cypher queries
- Graph pattern matching, QPEs, variable-length paths
- Vector/fulltext search, subqueries, batch writes, LOAD CSV
When NOT to Use
- Driver migration/API changes →
neo4j-migration-skill - DB admin (users, config, backups) →
neo4j-cli-tools-skill - Hybrid search that combines vector with fulltext or other ranked sources →
neo4j-vector-index-skill
GQL conformance note: LET, FINISH, FILTER, and INSERT are valid Cypher 25 clauses (introduced via GQL conformance, mostly in Neo4j 2025.06). On older versions, fall back to WITH / (omit RETURN) / WHERE / CREATE. INSERT requires &-separated multi-labels and does not support dynamic labels/types.
Pre-flight
| ? | Known | Unknown |
|---|---|---|
<db-name>-schema.json found in project |
Use it directly — skip live inspection | — |
| Schema (from context or live DB) | Use directly | Run Schema-First Protocol |
| Neo4j version | Use version features | Default to 2025.06 safe set (Cypher 25) |
| Executing (not generating)? | Use EXPLAIN + write gate | State query is unvalidated |
Schema unknown + no tool → produce non-executable sketch outside a code block:
(<SOURCE_LABEL> {<KEY>: $value})-[:<REL_TYPE>]->(<TARGET_LABEL>)
Never fill guessed names — realistic guesses get copied blindly.
Defaults — apply every query
CYPHER 25— first token; never repeat afterUNIONor inside subqueries- Schema first — inspect before writing; if schema in prompt, use it directly
MERGEon constrained key only; relMERGEon already-bound endpoints only- Label-free
MATCH (n)forbidden unless bound or followed byWHERE n:$($label) LIMIT 25default on all exploratory reads; pushWITH n LIMITbefore high-cardinality operations (variable-length traversals, fan-out MATCH, Cartesian products)- Comments:
//only —--is SQL, invalid REPEATABLE ELEMENTS/DIFFERENT RELATIONSHIPSgo afterMATCH, not end of patternSHOWcommands:YIELDbeforeWHERE; combinable with general Cypher clauses incl.UNION/RETURN[2026.05] —SHOW DATABASESstill requires system db (useUSE system).CALLonsystemdb:YIELDthenWHERE[2026.07]- Inline node predicates
(:Label WHERE p=x)— valid inMATCHonly WHEREcannot follow bareUNWIND— useWITH x WHERE(a)-[:R]-(b)— undirected matches both directions, double-counts; use directed unless unknownDETACH DELETE— plainDELETEthrows if node has relationships
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 2.9 KB
- references/advanced-patterns.md 8.0 KB
- references/apoc.md 11 KB
- references/cypher-syntax.md 32 KB
- references/graph-type.md 7.4 KB
- references/indexes.md 15 KB
- references/performance.md 6.8 KB
- references/schema-guardrail.md 4.8 KB
- references/syntax-traps.md 3.9 KB
- scripts/define_schema.py 3.6 KB runs code
- scripts/generate_schema.py 2.0 KB runs code
- scripts/import_neo4j_schema.py 8.0 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago Changed · +6 lines 27569bd0c8c3
- 1mo ago Changed · +1 lines fe905929ea87
- 1mo ago Changed · +1 lines d01f9a016849
- 1mo ago Changed 9271afa75655
- 1mo ago Changed 5be289f0a8b0
- 1mo ago Changed · -7 lines a6aabc5fdd31
- 2mo ago Changed a938e86880be
- 2mo ago Changed · +1 lines 919b91b9b129
- 2mo ago Changed · +28 lines dd2d984d8392
- 3mo ago First seen · 422 lines · 137 tokens per session scan A 4c2e4933a728
neo4j-cypher-skill is a skill published in the GitHub repository neo4j-contrib/neo4j-skills (122 stars, last pushed 9d ago), licensed MIT. It adds 137 tokens to every session and 7,395 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to neo4j-cypher, differing in 36 lines, and is treated as a copy.
neo4j-cypher-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neo4j-cypher-skillneo4j-contrib/neo4j-skills | Skill | 122 | 9d ago | MIT | A | 137 | Claude Code |
| results-storagecrazyMarky/pentest-skills | Skill | 379 | 6mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| exploit-sqlicrazyMarky/pentest-skills | Skill | 379 | 6mo ago | Apache-2.0 | A | 51 | Claude Code, Codex |
| timescaledb-hyperfunctionstimescale/pg-aiguide | Skill | 1.9k | yesterday | Apache-2.0 | A | 298 | Cursor |
| durable-objectsfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 22 | Claude Code |
| mongodb-connectionfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 122 | Claude Code |
| mongodb-schema-designfcakyon/claude-codex-settings | Skill | 1.2k | yesterday | Apache-2.0 | A | 127 | Claude Code |