Graph — Development skill for Claude Code
Run a read-only Cypher query against the live codegraph Neo4j graph.
How to install Graph
Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-graph.md
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.
What Graph does
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
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
Alternatives in Development
- Notebooklm Skill — Use this skill to enable Claude Code to communicate directly with your Google NotebookLM notebooks 5.9k ★
- Cq — An open standard for shared agent learning 1.3k ★
- Zoetrope — Watch a Claude Code session as a live flow graph, in your terminal or your browser 584 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Kg Query
Run a raw Cypher query against the kgai knowledge graph (power use / debugging).
Neo4j
Neo4j and Cypher best practices for the Ethos project. Query patterns, sync driver usage, and project conventi
Neo4j Skills
Neo4j Skills for Coding and other Agents including Cypher
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli
Graph Refresh
Re-index the codegraph Python package so /graph queries reflect the latest on-disk state
Codebase Graph
Code intelligence MCP server — 42-language tree-sitter AST parsing, FalkorDB knowledge graphs, 0.944 MRR searc
Related Agents
Cypher Author
Writes read-only Cypher for natural-language questions given the live graph schema and few-shot examples; also
Brain Query
Query the Brain teaching graph with natural language. Translates to Cypher, synthesizes insights, never expose
Knuth
SPECIALIST — Data Architect. PostgreSQL, RuVector graph adapter (AD-49 default), Neo4j fallback, query optimiz