neo4j-cli

Manage Neo4j Aura instances, Desktop DBMSes, Docker containers, and credentials via the neo4j-cli command tree.

Updated Jul 24, 2026
One-click install
npx skills add https://github.com/eklyukin/my-ai-config --skill neo4j-cli-eklyukin
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: neo4j-cli
Source: https://github.com/eklyukin/my-ai-config/tree/main/skills/neo4j-cli/references
Command: npx skills add https://github.com/eklyukin/my-ai-config --skill neo4j-cli-eklyukin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Neo4j across Aura cloud, Neo4j Desktop, and local Docker requires juggling consoles, UIs, and ad-hoc scripts. This Skill gives an AI agent the full neo4j-cli command reference so it can provision instances, manage credentials, run queries, and load datasets through one consistent CLI with machine-readable output. ## Core Features & Use Cases - Aura management: Create, update, pause, resume, snapshot, and delete Aura instances, GraphQL Data APIs, agents, customer-managed keys, and graph-analytics sessions, with write operations gated behind --rw and destructive actions behind --yes --force. - Local environment control: Manage Neo4j Desktop 2 DBMSes and saved connections, plus Docker containers labeled org.neo4j.cli.managed=true, including dataset loading from GitHub example repos. - Credential and config handling: Store Aura client, Bolt dbms, and embedding-provider credentials, set defaults, and inspect global configuration. - Agent-friendly output: Every command supports --format json or --format toon, and agent-context emits the full CLI surface as a JSON envelope for discovery. - Use Case: Ask the agent to spin up a throwaway Neo4j container, load the movies example dataset, and run a Cypher query against it — all via neo4j-cli docker create, docker load, and query. ## Quick Start Use the neo4j-cli skill to list my Aura instances as JSON and then create a local Docker container named dev with the movies dataset loaded.

Frequently Asked Questions about neo4j-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Neo4j Aura instance from the command line?▼

Use neo4j-cli aura instance create with the required name, type, cloud provider, and region flags, plus --rw to authorize the write. Add --format json to get a machine-readable response and --wait to block until the instance is ready.

How do I run Cypher queries against Neo4j from a CLI?▼

Use neo4j-cli query with a stored dbms credential via --credential <name>, or pass --uri, --username, and --password directly. Credentials are managed with neo4j-cli credential dbms add, and the first one added becomes the default.

Can neo4j-cli manage local Neo4j Docker containers?▼

Yes, neo4j-cli docker create, list, start, stop, and delete manage containers labeled org.neo4j.cli.managed=true. Docker is the source of truth, and create can auto-generate passwords, store a dbms credential, and wait until Bolt is reachable.

How do I load example datasets into Neo4j?▼

Run neo4j-cli dataset list to see curated suggestions, then load any GitHub repo carrying a relate.project-install.json manifest via docker load, desktop dbms load, or aura instance load. For example, neo4j-cli docker load neo4j-graph-examples/movies --name movies --rw.

Why does neo4j-cli require --rw and --yes --force for some commands?▼

The --rw flag gates all write operations so read-only commands are safe by default. Destructive actions like deletes additionally require --yes --force when run non-interactively, replacing the TTY confirmation prompt to prevent accidental data loss in scripts.

Does neo4j-cli support machine-readable output for AI agents?▼

Yes, every command supports --format json and --format toon for structured output. The agent-context command emits a JSON envelope describing the full command tree, flags, exit codes, and output formats for agent discovery.