| name | leindex |
| description | AI-powered code search and analysis engine using semantic search and Program Dependence Graph traversal. |
LeIndex Skill
Overview
LeIndex provides high-performance semantic search and deep code analysis by building a Program Dependence Graph (PDG) of your codebase.
Core Commands
leindex index [path] - Index a project for code search and analysis.
leindex search <query> - Search indexed code using semantic search.
leindex analyze <query> - Perform deep code analysis with context expansion.
leindex context <node_id> - Expand context around a specific code node.
leindex diagnostics - Get diagnostic information about the indexed project.
Workflow
- Index: Use
leindex index to process your codebase. This is a one-time operation per project (incremental updates supported).
- Search: Use
leindex search to find relevant code snippets based on natural language queries.
- Analyze: Use
leindex analyze for complex questions about code behavior and relationships.
- Context: Use
leindex context when you need to understand the surroundings of a specific function or class found via search.
Integration
This skill works by calling the leindex CLI binary.
Documentation
For more information, see the LeIndex repository at /mnt/e0f7c1a8-b834-4827-b579-0251b006bc1f/code_index_update/LeIndexer.