CtrlK
BlogDocsLog inGet started
Tessl Logo

neo4j-driver-python-skill

Neo4j Python Driver v6 — driver lifecycle, execute_query, managed and explicit transactions, async (AsyncGraphDatabase), result handling, data type mapping, error handling, UNWIND batching, connection pool tuning, and causal consistency. Use when writing Python code that connects to Neo4j via GraphDatabase.driver, execute_query, execute_read, execute_write, AsyncGraphDatabase, neo4j.Result, or RoutingControl. Package name is `neo4j` (not neo4j-driver) since v6. Python >=3.10 required. Does NOT handle Cypher query authoring — use neo4j-cypher-skill. Does NOT cover driver upgrades or breaking changes — use neo4j-migration-skill. Does NOT cover GraphRAG pipelines (neo4j-graphrag package) — use neo4j-graphrag-skill.

74

Quality

92%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a high-quality skill that provides comprehensive, actionable guidance for using the Neo4j Python driver v6. Its strengths include executable code examples for every major pattern, a well-organized API comparison table, thorough error handling guidance, and excellent progressive disclosure to reference files. The main area for improvement is trimming some sections that explain concepts Claude already knows (environment variable handling, .gitignore advice) to improve token efficiency.

Suggestions

Trim the Environment Variables section — Claude knows how to use dotenv and .gitignore; keep only the specific Neo4j env var names and the note about not hardcoding credentials.

DimensionReasoningScore

Conciseness

The skill is mostly efficient with good code examples and tables, but includes some unnecessary explanations (e.g., the environment variables section with dotenv setup, the .env file format example, and the 'Add .env to .gitignore' note are things Claude already knows). The common errors table is comprehensive but could be more concise. Overall it's well-structured but could be tightened in several places.

2 / 3

Actionability

Excellent actionability throughout — every section provides executable, copy-paste-ready Python code with specific imports, concrete examples, and clear parameter usage. The code covers driver lifecycle, execute_query, managed transactions, async patterns, error handling, batch writes, and performance tuning with real, runnable snippets.

3 / 3

Workflow Clarity

The 'Choosing the Right API' table clearly sequences which API to use when, with auto-retry and streaming characteristics. The driver lifecycle section shows clear setup/teardown patterns. The checklist at the end serves as an explicit validation checkpoint. The common errors table provides clear fix actions for each mistake. For a driver usage skill (not a destructive batch operation), the workflow guidance is thorough and well-sequenced.

3 / 3

Progressive Disclosure

The skill provides a comprehensive but focused overview in the main file, with clear one-level-deep references to four specific reference files (async.md, data-types.md, performance.md, transactions.md) that are well-signaled with descriptions of what each contains. External documentation links are also provided. The 'When to Use / When NOT to Use' section cleanly defers to other skills.

3 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is an excellent skill description that excels across all dimensions. It provides comprehensive specific capabilities, rich trigger terms matching real developer vocabulary, explicit 'Use when' guidance, and clear boundary delineation with related skills. The negative scope declarations ('Does NOT handle...') with pointers to alternative skills are particularly effective for disambiguation in a multi-skill environment.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: driver lifecycle, execute_query, managed and explicit transactions, async support, result handling, data type mapping, error handling, UNWIND batching, connection pool tuning, and causal consistency.

3 / 3

Completeness

Clearly answers 'what' (driver lifecycle, transactions, async, batching, etc.) and 'when' with an explicit 'Use when writing Python code that connects to Neo4j via...' clause. Also explicitly states what it does NOT cover with references to alternative skills, further clarifying when to use it.

3 / 3

Trigger Term Quality

Excellent coverage of natural terms a developer would use: 'GraphDatabase.driver', 'execute_query', 'execute_read', 'execute_write', 'AsyncGraphDatabase', 'neo4j.Result', 'RoutingControl', 'neo4j' package name, 'Python', 'Neo4j'. These are exactly the terms a user would mention when needing this skill.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with explicit boundary-setting via 'Does NOT handle' clauses that reference specific alternative skills (neo4j-cypher-skill, neo4j-migration-skill, neo4j-graphrag-skill). The focus on Python driver v6 specifically creates a clear niche that is unlikely to conflict with related Neo4j skills.

3 / 3

Total

12

/

12

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
neo4j-contrib/neo4j-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.