CodeLattice: Code Knowledge Graph Search
Index your codebase into a local knowledge graph for semantic search and dependency tracing.
Free
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
- Initialize the index for your current directory or a specific path to build the graph.
- Query the codebase using natural language to locate relevant logic via semantic search.
- Trace relationships between symbols to navigate the call graph and inheritance trees.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
Python
uv (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
What's inside
Frequently Asked Questions
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.