Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

neo4j-genai-plugin-skill

Skill by neo4j-contrib

Neo4j GenAI Plugin skill that teaches an AI assistant to use the ai.text.* functions and procedures inside Cypher. It covers embeddings, text and structured completion, chat, tokenization and batch ingestion for people building graph queries and GraphRAG.

  • Score 73
  • 127 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install neo4j-genai-plugin-skill

Built from the published package, never by AI.

git clone --depth 1 https://github.com/neo4j-contrib/neo4j-skills /tmp/neo4j-skills && mkdir -p ~/.claude/skills && cp -r /tmp/neo4j-skills/neo4j-genai-plugin-skill ~/.claude/skills/neo4j-genai-plugin-skill

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install neo4j-genai-plugin-skill in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill documents the ai.text.* functions and procedures from the Neo4j GenAI Plugin. They let a Cypher query generate embeddings, call an LLM for text or structured map output, run stateful chat, count tokens and chunk text by token limit. Each function takes a provider string such as openai, azure-openai, vertexai or bedrock-titan, plus a configuration map where API keys are passed as parameters.

The skill includes a provider configuration reference, a pure-Cypher GraphRAG pattern that combines embedding, vector search, graph traversal and completion, and a write checklist for bulk updates. It is meant for developers who want to write GraphRAG or ingestion logic in Cypher. It says it does not cover Python neo4j-graphrag pipelines or vector index creation and search, and it points to other skills for those.

Written from the project's SKILL.md and checked against it.

What it can do

  • ai.text.embed()Generates an embedding vector for a string inside a Cypher query.
  • ai.text.embedBatch()Batch-embeds many inputs with a procedure call during ingestion.
  • ai.text.completion()Calls an LLM from Cypher and returns a string.
  • ai.text.structuredCompletion()Returns a MAP that follows a supplied JSON schema from an LLM prompt.
  • ai.text.aggregateCompletion()Summarizes an LLM response across grouped rows.
  • ai.text.chat()Runs a stateful chat session and returns a chatId to continue it.
  • ai.text.tokenCount()Counts tokens for a given provider and model.
  • ai.text.chunkByTokenLimit()Splits text into chunks under a token limit without an external provider call.

What you need

  • Neo4j with the GenAI plugin installed (enabled by default on Aura)
  • CYPHER 25 query prefix or database default
  • Provider API key or credentials, such as OpenAI, Azure OpenAI, VertexAI or Amazon Bedrock

Try asking

  • Embed all Chunk nodes that have no embedding yet using ai.text.embedBatch
  • Write a Cypher query that answers a question with ai.text.completion over graph context
  • Extract category and tags from Product descriptions with ai.text.structuredCompletion

Good to know

  • Every ai.text.* query needs the CYPHER 25 prefix or database default.
  • Chat is supported only for the openai and azure-openai providers.
  • Does not cover neo4j-graphrag Python pipelines or vector index creation and search.
  • genai.vector.encode() is deprecated and should be replaced with ai.text.embed().

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: neo4j-genai-plugin-skill/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Bash WebFetch

Alternatives to neo4j-genai-plugin-skill

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

neo4j-genai-plugin-skill: common questions

Does this skill need CYPHER 25?

Yes. The source says CYPHER 25 is required for all ai.* functions and gives a per-query prefix and a per-database default option.

Which LLM providers does it support?

The source lists OpenAI, Azure OpenAI, VertexAI and Amazon Bedrock, with a provider configuration reference in a separate file.

Should API keys go directly into queries?

No. The source says to pass API keys as $param values from driver parameters and never as string literals.

How do I install neo4j-genai-plugin-skill?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is neo4j-genai-plugin-skill free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is neo4j-genai-plugin-skill safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to neo4j-genai-plugin-skill?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

neo4j-genai-plugin-skill Install

Add to stack

Loading.