graph-query

Installation
SKILL.md

Graph Query

Query code relationships using the structural knowledge graph. Maps natural language questions to graph CLI queries and formats structured reports.

Prerequisites

  1. Graph must exist -- check .code-graph/graph.db. If missing, tell user to run /graph-build first.
  2. Requires Python 3.10+ with tree-sitter, tree-sitter-language-pack, networkx.

Intent Mapping

Map user's question to the appropriate query pattern(s):

User asks... Pattern(s) / Command
"who/what calls X", "callers of X" callers_of
"what does X call", "callees of X" callees_of
"what does X import", "X depends on", "deps of X" imports_of
"who/what imports X", "importers of X", "who references X" importers_of
Related skills
Installs
5
GitHub Stars
6
First Seen
Mar 27, 2026