neo4j-cli-tools
Skill by hanamizuki
Guides an AI assistant through Neo4j command-line tools, including neo4j-cli, neo4j-admin, cypher-shell and neo4j-mcp. It covers queries, schema inspection, Aura, Docker, credentials, backups and restores for people working with Neo4j.
Install neo4j-cli-tools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/hanamizuki/solopreneur /tmp/solopreneur && mkdir -p ~/.claude/skills && cp -r /tmp/solopreneur/skills/neo4j-dev/neo4j-cli-tools ~/.claude/skills/neo4j-cli-toolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/hanamizuki/solopreneur /tmp/solopreneur && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/solopreneur/skills/neo4j-dev/neo4j-cli-tools ~/.gemini/antigravity-cli/skills/neo4j-cli-toolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
neo4j-cli-tools is a skill that tells an AI assistant when and how to use Neo4j command-line tools. It covers neo4j-cli, a unified CLI that runs Cypher over Bolt, inspects schema, manages Aura instances and local Docker containers, stores credentials and installs agent skills. It also covers neo4j-admin for backup, restore, import and memory sizing, cypher-shell for ad-hoc queries and scripting, and neo4j-mcp for a quick MCP server install.
The skill recommends neo4j-cli for new work and asks for confirmation before destructive operations such as restores. It points to other skills for Cypher query authoring, driver upgrades and full MCP editor configuration. It is for anyone who works with Neo4j from the command line or through an AI agent.
Written from the project's SKILL.md and checked against it.
What it can do
- Cypher via BoltRuns Cypher with neo4j-cli query, rewriting HTTP URIs to Bolt.
- Schema inspectionInspects labels, relationship types, indexes and constraints with query :schema.
- Aura managementProvisions and manages Aura instances and Aura Agents with neo4j-cli aura.
- Local Docker containersCreates, starts, stops and deletes local Neo4j Docker containers.
- Credential storageStores Aura API credentials, Neo4j connection profiles and embedding provider credentials.
- Skill catalog installInstalls the self-skill or any skill from the neo4j-contrib catalog into detected agents.
- Backup and restoreRuns neo4j-admin online backup, differential backup, restore and dump and load.
- Ad-hoc Cypher shellUses cypher-shell for interactive queries, file-based batch scripts and CI/CD.
What you need
- Java 21 for cypher-shell
- Neo4j Enterprise Edition for online backup
- Docker for local Neo4j containers
- Neo4j connection details or Aura credentials
Try asking
- Inspect the schema of my Neo4j database before writing a query
- Create a local Neo4j Docker container named dev and run a test query
- Walk me through a differential backup and restore of my Neo4j database
Good to know
- Online backup requires Enterprise Edition. Community Edition uses dump and load with the database offline.
- Write operations need --rw under agent harnesses, and restores need explicit user confirmation.
- aura-cli is legacy. neo4j-cli aura is preferred for new work.
- Does not cover Cypher query authoring, driver upgrades or full MCP editor configuration.
Security check
C- Downloads a script from the internet and runs itIn
skills/neo4j-dev/neo4j-cli-tools/SKILL.md:curl -sSfL https://neo4j.sh/install.sh | bash - Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: skills/neo4j-dev/neo4j-cli-tools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: WebFetchBash
Alternatives to neo4j-cli-tools
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
neo4j-cli-tools: common questions
Which Neo4j command-line tool should I use?
The skill prefers neo4j-cli for new work. It also covers neo4j-admin, cypher-shell and neo4j-mcp for their specific tasks.
Can I back up a running Neo4j database?
Online backup keeps the database online but requires Enterprise Edition. Community Edition users must use dump and load with the database offline.
Does this skill help write Cypher queries?
No. The source says Cypher query authoring is covered by the separate neo4j-cypher-skill.
How do I install neo4j-cli-tools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is neo4j-cli-tools free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is neo4j-cli-tools safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to neo4j-cli-tools?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
