codegraph_build
Build a code knowledge graph by scanning project directories with tree-sitter AST parsing, enabling local, API-free code analysis for AI assistants.
Instructions
Scan a project directory and build the knowledge graph from code files. Uses tree-sitter AST (with regex fallback) for all code files. Fast, local, no API key needed. Run once per project; rebuild whenever code changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to project root | |
| cluster | No | Run community detection after build (default true) |