MCPFast / Tools / SkeletonGraph: Zero-LLM Structural Index for AI Coding Agents

GitHubTool★★★★☆

SkeletonGraph: Zero-LLM Structural Index for AI Coding Agents

SkeletonGraph is a zero-LLM structural index for AI coding agents, using tree-sitter and call graphs to optimize function retrieval and reduce costs.

View on GitHub

SkeletonGraph: Zero-LLM Structural Index for AI Coding Agents

SkeletonGraph is a novel tool designed to enhance the efficiency and cost-effectiveness of AI coding agents. By leveraging structural indexing without relying on Large Language Models (LLMs) for core indexing, it significantly optimizes how agents retrieve and understand code. This approach focuses on the inherent structure of code, making it a powerful asset for developers building sophisticated AI coding assistants.

What it Does

SkeletonGraph creates a structural index of codebases. Instead of processing code with LLMs, it uses static analysis tools like Tree-sitter to parse code into abstract syntax trees (ASTs). These ASTs are then used to build call graphs, which map function dependencies and relationships. This detailed structural representation allows AI agents to quickly locate relevant functions and code snippets based on their relationships and context, rather than relying on semantic understanding derived from LLMs. This drastically reduces the computational overhead and associated costs of code retrieval.

Key Features

Who it's For

SkeletonGraph is primarily for AI developers and researchers building AI coding agents. This includes: