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-ontology-skill

Skill by neo4j-contrib

Authors and validates Neo4j Ontology Graph Specification documents in YAML or JSON. Validation checks each document against the live-resolved published spec schema. Built for users writing or editing Neo4j ontologies.

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

Install neo4j-ontology-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-ontology-skill ~/.claude/skills/neo4j-ontology-skill

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

Step-by-step: install neo4j-ontology-skill in Claude Code

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

About

This skill helps an AI assistant write and edit Neo4j Ontology Graph Specification documents. It covers nodes, relationships, properties, Neo4jType data types, constraints (key, unique, must_exist), labels, and endpoint cardinality. Documents can be written in YAML or JSON, with YAML as the default.

The skill includes a validator, scripts/validate.py, which runs with uv. It fetches the spec schema live rather than storing a copy, and reports schema violations by field path. The skill asks the user what is being modeled before drafting, and it requires validation to pass before an ontology is presented as done. It is for people authoring Neo4j ontology documents.

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

What it can do

  • Draft ontology documentsWrites a YAML or JSON ontology from a described domain, with nodes, relationships and properties.
  • Define constraintsSets key, unique and must_exist flags, or object-form constraints for composite and named cases.
  • Set endpoint cardinalityUses count, min_count or max_count on relationship endpoints.
  • Validate documentsRuns scripts/validate.py to check a document against the published spec schema.
  • Fetch schema liveResolves the schema from an explicit path or URL, the document's schema URL, or the published current alias.
  • Edit extensionsAdds indexes, display, tables, mappings or custom data within each element's fixed extension shape.

What you need

  • uv, to run scripts/validate.py
  • Network access to fetch the published spec schema

Try asking

  • Draft a YAML ontology for a library with authors and books.
  • Add a composite key constraint to my ontology and validate it.
  • Check this ontology document against the Neo4j spec schema.

Good to know

  • Ontology Cypher procedures do not exist yet, so applying an ontology to a database is out of scope.
  • Cypher queries are handled by neo4j-cypher-skill, not this skill.
  • Generic graph modeling advice is handled by neo4j-modeling-skill.
  • If the published host is unreachable, the validator falls back to a moving main branch of the spec repository.

Security check

A

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

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

Alternatives to neo4j-ontology-skill

All alternatives →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

neo4j-ontology-skill: common questions

Does this skill load an ontology into a Neo4j database?

No. The source says applying an ontology to a database is out of scope, and loading ontologies is handled by neo4j-cypher-skill.

Which formats does it support?

It writes ontology documents in YAML or JSON, and defaults to YAML because it is more readable.

How does validation pick the schema version?

The document's schema field decides the version, so it should point to the published versioned URL of the version being authored.

How do I install neo4j-ontology-skill?

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

Is neo4j-ontology-skill free?

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

Is neo4j-ontology-skill safe to use?

It scores 61 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-ontology-skill?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

neo4j-ontology-skill Install

Add to stack

Loading.