cognitx-leyton

Graph — Development skill for Claude Code

Development community

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

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.

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 Repository