Graph Refresh banner
cognitx-leyton cognitx-leyton

Graph Refresh

Development community

Description

--- allowed-tools: Bash(codegraph index:*), Bash(.venv/bin/codegraph index:*), Bash(codegraph index:*) description: Re-index the codegraph Python package so /graph queries reflect the latest on-disk state --- ## Why codegraph is a static snapshot of the codebase at index time. Edits after indexing don't show up in the graph until you re-index. Run this command after any **structural** change — adding/removing classes, functions, methods, imports, decorators; renaming; moving files. For cosmeti

Installation

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

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

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

Full documentation available on GitHub

View Source Repository