code-graph

Installation
SKILL.md

Code Graph Skill

You own the full cgraph lifecycle: database, indexing, and querying. The user should never need to run cgraph commands manually.

Ownership Rules

  • If cgraph commands fail with connection errors, run cgraph ensure-db first.
  • If cgraph is not found, see management.md for installation instructions.
  • Index at session start or after significant code changes: cgraph index . --ignore node_modules --ignore venv --ignore .git --ignore __pycache__
  • No need to re-index between consecutive queries if no code has changed.
  • All command output is JSON on stdout. Status/progress goes to stderr.
  • --repo defaults to the current directory name if omitted.

Indexing

# Index the current project
cgraph index . --ignore node_modules --ignore venv --ignore .git --ignore __pycache__
Installs
31
GitHub Stars
318
First Seen
Mar 30, 2026
code-graph — falkordb/code-graph