Graph banner
cognitx-leyton cognitx-leyton

Graph

Development community

Description

--- allowed-tools: Bash(codegraph query:*), Bash(codegraph query:*), Bash(.venv/bin/codegraph query:*) description: Run a read-only Cypher query against the live codegraph Neo4j graph --- ## Usage ``` /graph <cypher> ``` Runs the Cypher against the local Neo4j instance via `codegraph query --json`. Read-only — writes (`CREATE`, `MERGE`, `DELETE`, `SET`) are **not** rejected at the CLI level (unlike the MCP server), so be careful what you execute. If you're unsure, stick to `MATCH` queries. A

Installation

Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-graph.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cognitx-leyton/graphrag-code/HEAD/.claude/commands/graph.md -o ~/.claude/commands/cognitx-leyton-graphrag-code-graph.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository