CodeLattice: Code Knowledge Graph Search

    by Reza Farzanmehr

    1

    Index your codebase into a local knowledge graph for semantic search and dependency tracing.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    Stop wasting context window on large file reads and recursive greps. This skill integrates a local code knowledge graph to help you navigate and query your codebase using semantic search and dependency tracing.

    What it does

    • Semantic search finds code by meaning rather than exact string matching for complex queries.
    • Symbol tracing locates functions, classes, or variables along with their callers and callees.
    • Dependency mapping identifies what a file imports or inherits from to understand coupling.
    • Impact analysis finds dependents to see what will break before you start a refactor.
    • Structural summaries provide file overviews without consuming tokens on full file content.

    How it works

    1. Initialize the index for your current directory or a specific path to build the graph.
    2. Query the codebase using natural language to locate relevant logic via semantic search.
    3. Trace relationships between symbols to navigate the call graph and inheritance trees.
    4. Analyze impact by checking for dependents before modifying shared components or APIs.

    Frameworks & tools

    Built for Python, TypeScript, and JavaScript. It utilizes tree-sitter for parsing and local embeddings for semantic retrieval.

    Why this beats prompting it yourself

    Standard agents rely on expensive file reads and hit-or-miss grepping that eats your token budget. This skill offloads the "understanding" to a local graph, allowing the agent to pinpoint exact line ranges instead of reading entire directories.

    Use cases

    • Map out an unfamiliar repository by tracing service-to-controller dependencies.
    • Find specific logic like "where do we handle exponential backoff" without knowing the filename.
    • Perform safe refactors by listing every file that depends on a specific utility function.
    • Get a high-level summary of a 2,000-line file without actually reading it into context.

    Known limitations

    Only supports Python, TypeScript, and JavaScript. Requires a local installation of the CodeLattice CLI and a one-time 90MB model download.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Software
    Pythonuv (Python tool runner)CodeLattice CLI

    Install first: uv tool install codelattice && codelattice install, then restart Claude Code once. First index downloads a ~90 MB local model.

    Permissions

    Read Files
    Network Access
    Terminal / Shell
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    Codelattice offloads codebase navigation to a local knowledge graph, allowing your AI to pinpoint specific code segments via dependency tracing and semantic search rather than wasting thousands of tokens reading entire files.

    Currently, Codelattice provides full support for Python, TypeScript, and JavaScript, using tree-sitter to accurately parse symbols and relationships within these specific ecosystems.

    Yes, Codelattice operates entirely locally; it builds a local index and uses a one-time 90MB model download for embeddings, ensuring your proprietary code never leaves your machine for indexing purposes.

    You will need to install the Codelattice CLI locally and run a one-time initialization to index your directory, after which any compatible AI agent or MCP-enabled tool can query the graph.

    Beyond basic search, Codelattice identifies callers, callees, and inheritance patterns, allowing you to perform impact analysis to see exactly which files will break before you modify a shared function or API.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Free