In short.
neo4j-graphql-skill is an instruction pack for coding assistants helping developers build Neo4j-backed GraphQL APIs, but it is marked Draft/WIP. Skill version 1.0.5 brings together schema directives, Apollo Server setup, generated operations, authentication, authorization, migrations and search examples. Its security-sensitive paths require particular care: OGM bypasses GraphQL authorization, subscriptions have additional infrastructure requirements, and the minimal server example does not establish access control. Runtime correctness, security enforcement, performance and operating costs are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The scope is exactly neo4j-graphql-skill/README.md, neo4j-graphql-skill/SKILL.md and neo4j-graphql-skill/references/search-directives.md at commit 004c7823fc05d352647f2e9e5106d9ae2a4080e5, plus the repository-root LICENSE notice. Sibling skills, dependency implementations, upstream changelogs and linked documentation are outside the captured scope. No code was executed; installation, API behavior, security enforcement, performance and operating costs remain unverified.
The overview
identity
The resource is the neo4j-graphql-skill folder in neo4j-contrib/neo4j-skills. It contains assistant instructions in SKILL.md, a short installation README and a reference covering full-text and vector search. The skill declares version 1.0.5; the README labels the resource Draft/WIP.
Its focus is building and configuring APIs with the Neo4j GraphQL Library. The source snapshot is commit 004c7823fc05d352647f2e9e5106d9ae2a4080e5: [https://github.com/neo4j-contrib/neo4j-skills/tree/004c7823fc05d352647f2e9e5106d9ae2a4080e5/neo4j-graphql-skill].
assessment
The strongest feature is the placement of implementation details beside their common failure modes. Examples explain relationship direction, custom resolver return aliases, v7 filter syntax and the difference between hiding unauthorized records and rejecting an operation. The separate search reference also distinguishes schema declarations from database indexes that must already exist.
This makes it useful as a development reference, with material caveats. The README explicitly says it is draft work, and the captured files supply no execution results, security tests or performance measurements. The examples do not establish a production-ready API.
users
The clearest audience is JavaScript backend developers using a coding assistant to connect Neo4j to Apollo Server. Beginners get a Movie-and-Person schema and a minimal server example. They still need to understand database connections, GraphQL types, environment variables and access control to complete an application.
Experienced developers may find the migration table, relationship-property queries and authentication warnings useful. The stated scope excludes generic GraphQL, raw Cypher outside GraphQL resolvers and Spring Data Neo4j entity mapping.
capabilities
The instructions cover @node types, directed and undirected relationships, relationship properties, @cypher computed fields, identifiers, timestamps and property aliases. They also show generated queries and mutations, cursor pagination, nested mutations, sorting and filters.
Security coverage includes JWT secrets, JWKS endpoints, authentication requirements and authorization rules. Additional sections address OGM server-side access, CDC-based subscriptions, schema controls and migration to v7. The search reference adds full-text queries, vector queries and phrase queries using an embedding provider or callback.
Apollo Federation is named in the skill description, but the captured files do not contain a worked Federation setup.
Using it
requirements
The application examples require a JavaScript environment with npm, an accessible Neo4j database and credentials. The main dependencies are @neo4j/graphql, neo4j-driver, graphql and @apollo/server. OGM is installed separately. Minimum Node.js and compatible coding-assistant versions are unspecified; the skill front matter declares Bash and WebFetch tool access.
The guide targets library v7 and v5, recommending at least 7.6.2 or 5.12.15 respectively. These are the captured guide's recommendations, rather than independently confirmed current support requirements.
Subscriptions are described as requiring Neo4j CDC in FULL mode. The vector reference specifies Neo4j 5.15+, an existing vector index and stored embeddings from the same provider and model. Phrase queries additionally need embedding-provider configuration or a server-side callback. Edition and hosting compatibility are not established.
mechanism
The skill supplies prose and code examples for an assistant to follow when producing application code. In the server example, GraphQL type definitions and a Neo4j driver are passed to Neo4jGraphQL. Its getSchema() result is supplied to Apollo Server. Directives describe graph relationships, custom Cypher fields and access rules.
The security examples configure a JWT secret or JWKS URL and pass a token through request context. Authorization filters hide disallowed records, while validation rules throw errors. OGM provides a separate model API that the skill explicitly warns bypasses GraphQL authorization.
Search directives describe generated search queries but do not create their database indexes. Phrase-based vector search obtains an embedding through configured provider settings or a callback.
setup
The README documents an assistant-skill installation command using npx skills add, the repository [https://github.com/neo4j-contrib/neo4j-skills] and --skill neo4j-graphql-skill. It also offers the folder URL for a coding assistant. Neither route shown pins the captured commit, so a later installation may obtain different content.
Application setup starts with npm install @neo4j/graphql neo4j-driver graphql @apollo/server. The example reads NEO4J_URI, NEO4J_USERNAME and NEO4J_PASSWORD from the environment, creates the driver, builds the schema and starts Apollo Server on port 4000.
The startup example calls assertIndexesAndConstraints with create enabled, which can create database constraints. Authentication configuration and authorization directives appear in later examples and must be incorporated deliberately. The checklist calls for keeping credentials in .env and excluding that file from version control.
example
The main example models Movie and Person nodes connected by ACTED_IN relationships. Movie.actors uses an incoming relationship, while Person.movies uses an outgoing relationship. A query filters movies with title: { eq: "The Matrix" } and requests each movie's title and actors' names.
A separate search example configures Product’s @vector directive to read existing embeddings from the descriptionVector database property and generates a searchByDescription query returning edges with similarity scores and product data. The example does not create or populate that property; embeddings must already be written to it. A phrase-search variant configures an embedding provider and maxPhraseLength. These are illustrative source examples; successful responses and runtime behavior are unverified.
Assessment & evidence
limitations
The minimal server passes an authorization header into context but does not configure JWT verification or add authentication and authorization directives. A later example passes a pre-decoded JWT using an undefined myDecodeJwt helper, so that snippet does not establish signature verification. OGM access explicitly bypasses GraphQL authorization.
Some examples need completion or reconciliation. The checklist calls for try/catch around constraint setup, while the minimal server shows a bare awaited call. Most demonstrated query syntax is v7-oriented despite the stated v5 scope, and Apollo Federation has no worked configuration.
The search reference states that vector queries cannot span multiple labels and that Aura Console Data APIs do not support @vector. Full-text and vector indexes require separate creation. No execution evidence establishes compatibility, security enforcement, scalability or reliability.
reasoning
The resource fits work where a developer already needs Neo4j-specific GraphQL conventions: relationship directions, generated operations, custom Cypher fields or v7 migration changes. Its practical value is the concentration of examples and warnings around those tasks; no measured improvement in development speed or output quality is established.
The access-control examples deserve close review because the guide itself identifies several library security fixes and a separate API that bypasses GraphQL authorization. Those details make database and security knowledge important when adapting the draft instructions.
alternatives
For a fuller directive reference and migration documentation, the skill points to the Neo4j GraphQL documentation [https://neo4j.com/docs/graphql/current/]. For guided learning, it references GraphAcademy's GraphQL Basics course [https://graphacademy.neo4j.com/courses/graphql-basics/]. These linked resources' contents are not established by the captured files.
For different tasks, the instructions route raw Cypher work to neo4j-cypher-skill and Spring Data Neo4j mapping to neo4j-spring-data-skill. Those sibling skills are outside this resource's scope. No comparative effectiveness or performance evidence is provided.
evidence
The source snapshot contains neo4j-graphql-skill/README.md, neo4j-graphql-skill/SKILL.md and neo4j-graphql-skill/references/search-directives.md, together with the repository-root LICENSE. All four are identified at commit 004c7823fc05d352647f2e9e5106d9ae2a4080e5, captured on 2026-11-17 at 08:05:32.577 UTC.
These files establish the documented instructions, examples, stated prerequisites and redistribution terms. They do not establish successful installation, working API responses, verified upstream security fixes or behavior of linked external resources. The immutable main instruction file is at [https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/004c7823fc05d352647f2e9e5106d9ae2a4080e5/neo4j-graphql-skill/SKILL.md].
Access & freshness
costs
The repository's MIT licence grants permission to use and redistribute the skill without a licence fee. The files provide no prices or measured costs for a coding assistant, Neo4j deployment, application hosting or embedding services. Total operating cost is unknown.
For phrase-based vector search, maxPhraseLength is described as rejecting oversized inputs before an embedding-provider call. This limits phrase length, not total request volume or account spending, and it does not constrain the vector argument. No savings measurements are supplied.
rights
The repository-root LICENSE is MIT, with copyright attributed to Neo4j Contrib, 2026. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions. It also disclaims warranties and liability.
The captured licence supports redistribution of the skill files with that notice. It does not establish the terms for separately installed dependencies, Neo4j offerings or embedding services. The original notice is available at [https://raw.githubusercontent.com/neo4j-contrib/neo4j-skills/004c7823fc05d352647f2e9e5106d9ae2a4080e5/LICENSE].
freshness
At the captured revision, skill version 1.0.5 calls library v7 current and v5 LTS, and recommends minimum versions 7.6.2 and 5.12.15. These labels describe the source snapshot; present-day upstream support and patch status are unknown.
The instructions associate fixes with unverified WebSocket JWTs, root custom-resolver authentication and authorization during relationship creation. Their claimed fixed versions should be compared with upstream release information before deployment. The capture date does not establish the skill's last modification or release date.
actions
Before adapting the examples, confirm the application's installed Neo4j GraphQL version and compare its directives and security fixes with the official documentation and release information [https://github.com/neo4j/graphql]. Use the immutable source revision when reproducible instructions matter.
Complete JWT verification and access rules, then check application-specific behavior for unauthorized reads, relationship creation, custom resolver fields and WebSocket connections. Keep OGM within trusted server-side code with appropriate access controls.
Create the required search indexes separately, confirm CDC availability before adopting subscriptions and verify embedding-provider configuration before enabling phrase queries. Establish runtime compatibility, security behavior and costs with application-specific evidence; these outcomes remain unverified.
