ast-index

Index and search code across multiple languages for symbols, definitions, and usages.

532|36|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/defendend/Claude-ast-index-search --skill ast-index
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ast-index
Source: https://github.com/defendend/Claude-ast-index-search/tree/main/plugin/skills/ast-index
Command: npx skills add https://github.com/defendend/Claude-ast-index-search --skill ast-index

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Indexes and searches across multiple programming languages to dramatically speed up code discovery, symbol lookups, and cross-references, enabling developers to skip slow grep workflows.

Core Features & Use Cases

  • Universal search across files, symbols, and modules for Android (Kotlin/Java), iOS (Swift/ObjC), TypeScript/JavaScript, Rust, Ruby, C#, Scala, PHP, Perl, Python, Go, and Proto projects.
  • Language-aware queries for classes, interfaces, methods, usages, and cross-module navigation.
  • Scales to large monorepos and supports module-aware scoping to return fast, relevant results.

Quick Start

Rebuild the index at your repository root and begin searching with ast-index commands

Frequently Asked Questions about ast-index

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for symbol definitions and usages across multiple programming languages?

Multi-language code search uses AST indexing to locate symbol definitions and usages across files. By parsing code structurally, it resolves symbols accurately and returns relevant results without relying on slow text pattern matching.

What is the best way to search for code in large monorepos without grep?

Grep-free code search in large monorepos is best handled by building a structural index at the repository root. This enables fast, language-aware querying and module-aware scoping to return precise results quickly.

Can I scope code searches to specific languages, modules, or paths?

Yes, you can scope code searches to specific languages, modules, or paths. This module-aware filtering allows you to refine queries and retrieve highly precise results tailored to specific areas of your codebase.

Does AST-based code search work with Swift, Kotlin, Rust, and Go projects?

AST-based code search works with Swift, Kotlin, Rust, and Go projects, alongside TypeScript, JavaScript, Python, Ruby, C#, Scala, PHP, Perl, Java, ObjC, and Proto. It provides universal search across these supported languages.

How do I start indexing my codebase for fast symbol lookups?

To start indexing your codebase for fast symbol lookups, rebuild the index at your repository root. Once the structural index is built, you can begin searching using CLI-based querying commands.