neo4j-query

Execute arbitrary Cypher queries against Neo4j graph databases to retrieve structured JSON records.

113|23|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/opensage-agent/opensage-adk --skill neo4j-query-opensage-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neo4j-query
Source: https://github.com/opensage-agent/opensage-adk/tree/main/src/opensage/bash_tools/neo4j
Command: npx skills add https://github.com/opensage-agent/opensage-adk --skill neo4j-query-opensage-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires neo4j, and includes scripts (resource) components.

What problem does it solve?

This skill removes the complexity of manually interacting with graph databases by providing a streamlined interface to execute Cypher queries and retrieve structured JSON results for code analysis.

Core Features & Use Cases

  • Arbitrary Query Execution: Run any valid Cypher query against your Neo4j instance to explore relationships and nodes.
  • Parameter Support: Safely pass JSON-formatted parameters to queries to prevent injection and improve reusability.
  • Use Case: Analyze call graphs or dependency structures in a codebase by querying the Neo4j database populated by static analysis tools.

Quick Start

Use the neo4j-query skill to run a match query on the analysis database and return the first node found.

Frequently Asked Questions about neo4j-query

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

FAQPage Schema
How do I execute Cypher queries on a Neo4j graph database for code analysis?

You can execute Cypher queries on a Neo4j graph database by using a streamlined interface that runs arbitrary match commands and retrieves structured JSON records for code analysis workflows.

Can I pass parameters to Neo4j Cypher queries to prevent injection?

Yes, you can safely pass JSON-formatted parameters to Neo4j Cypher queries to prevent injection vulnerabilities and improve query reusability across complex graph traversal tasks.

Do I need the neo4j-python-driver to connect to a Neo4j database?

Yes, you need the neo4j-python-driver dependency to establish secure database connections and process structured JSON query results from the Neo4j graph database.

What is the best way to analyze call graphs and dependency structures in Neo4j?

The best way to analyze call graphs and dependency structures in Neo4j is running Cypher queries against a database populated by static analysis tools to retrieve structured JSON data.

How does graph traversal work when querying Neo4j for code analysis?

Graph traversal in Neo4j code analysis works by executing complex Cypher queries that explore relationships and nodes, returning structured JSON records for downstream analysis.