Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    CodeCompress AI

    by Martin Gunderman

    1

    Transform codebases into queryable knowledge graphs with AST-deterministic extraction and 71x token savings.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Analyze this repository and show me the shortest path between the login controller and the database schema to understand the auth flow.

    Your agent does

    Graph built (42 files, 0 tokens). Shortest path: login.ts -> auth-service.ts -> user-model.ts -> postgres-schema.sql (All edges: EXTRACTED). Note: auth-service.ts also has an INFERRED link to billing-api (confidence 0.72).

    What you get

    Map architectural dependencies without burning tokens on raw code uploads.Identify central God-Nodes and module communities in legacy repos.Trace exact call paths between distant components using BFS/DFS traversal.Export codebase structure to Obsidian vaults or Neo4j for long-term audits.

    About this skill

    The problem

    Large codebases are difficult to navigate using standard GREP or RAG-based vector searches that often miss architectural context. Developers waste thousands of tokens feeding entire files into LLMs just to understand basic dependency flows and call hierarchies.

    What it does

    • Extracts a deterministic knowledge graph using tree-sitter AST parsing across 37 languages with zero token cost for code.
    • Maps relationships including calls, imports, and inheritance with explicit confidence tags (EXTRACTED, INFERRED, AMBIGUOUS).
    • Performs graph traversal operations like BFS/DFS queries, shortest path calculation, and community detection via the Leiden algorithm.
    • Generates interactive HTML visualizations, God-Node reports, and structured exports for Obsidian, Neo4j, or Mermaid.
    • Reduces token consumption by up to 71x for large corpora by querying a compact graph instead of raw file context.

    Frameworks & tools

    Python 3.10+, tree-sitter, NetworkX, Faster-Whisper, and support for Neo4j/FalkorDB exports.

    Why this beats prompting it yourself

    Standard prompts rely on the LLM's limited context window and fuzzy memory of file structures. This tool provides a persistent, commit-able graph that ensures structural facts are grounded in AST data, providing 100% accuracy for code relationships that RAG might hallucinate.

    Use cases

    • Onboard onto a massive, undocumented repository by identifying central God-Nodes.
    • Map the impact of a breaking change by tracing all EXTRACTED downstream dependencies.
    • Lower LLM operational costs by providing the agent with a compressed graph JSON instead of full source files.
    • Audit architectural integrity by detecting unexpected circular imports or hidden dependencies.

    Known limitations

    Token savings are negligible for small repositories under 10 files. Non-code assets like PDFs or images require LLM sub-agents which incur standard token costs.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    More reviews for Martin Gunderman5.0(1)

    Feedback buyers left on other skills by the same creator.

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Frequently Asked Questions

    Popular in AI Agents & LLM Ops