From aide
Search code symbols (functions, classes, methods, types), find call sites and references, list file symbols, get outlines, check index status, and query static analysis findings. Requires indexed codebase.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aide:code-searchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Recommended model tier:** balanced (sonnet) - this skill performs straightforward operations
Recommended model tier: balanced (sonnet) - this skill performs straightforward operations
Search for code symbols (functions, classes, methods, types) and find their call sites.
mcp__plugin_aide_aide__code_search)Find functions, classes, methods, interfaces, and types by name or signature.
Example usage:
Search for: "getUserById"
→ Uses code_search tool
→ Returns: function signatures, file locations, line numbers
mcp__plugin_aide_aide__code_references)Find all places where a symbol is called/used.
Example usage:
Who calls "getUserById"?
→ Uses code_references tool
→ Returns: all call sites with file:line and context
mcp__plugin_aide_aide__code_symbols)List all symbols defined in a specific file.
Example usage:
What functions are in src/auth.ts?
→ Uses code_symbols tool
→ Returns: all functions, classes, types in that file
mcp__plugin_aide_aide__code_outline)Get a collapsed structural outline of a file — signatures preserved, bodies replaced with { ... }.
Uses ~5-15% of the tokens of the full file. Use this before reading a file to understand its
structure, then use Read with offset/limit for specific sections.
Example usage:
Outline src/auth.ts
→ Uses code_outline tool
→ Returns: collapsed view with signatures, line ranges, bodies collapsed
mcp__plugin_aide_aide__code_stats)Check if the codebase has been indexed.
Example usage:
Is the code indexed?
→ Uses code_stats tool
→ Returns: file count, symbol count, reference count
mcp__plugin_aide_aide__findings_search)Search static analysis findings (complexity hotspots, secrets, code clones, coupling issues).
Example usage:
Any complexity issues in src/auth?
→ Uses findings_search tool with query "auth" or file filter
→ Returns: findings with file, line, severity, description
code_stats to verify indexing./.aide/bin/aide code indexBinary location: The aide binary is at .aide/bin/aide. If it's on your $PATH, you can use aide directly.
Search for symbols:
code_search with the symbol name or patternFind call sites:
code_references to find where a symbol is usedExplore specific files:
code_symbols to list all definitions in a fileUser: "Where is the authentication function?"
Assistant action:
code_search with query "auth" or "authenticate"User: "Who calls authenticateUser?"
Assistant action:
code_references with symbol "authenticateUser"code_search and code_references work from the tree-sitter symbol index. They find:
code_references)For anything else — patterns inside function bodies, method call chains, string literals, SQL queries, imports, variable declarations — use Grep, which searches code content directly.
In short: code_search finds where things are defined; Grep finds patterns in code content.
./.aide/bin/aide code indexAIDE_CODE_WATCH=1 claudenpx claudepluginhub jmylchreest/aide --plugin aideAST-aware code search, symbol navigation, and dependency graph analysis via the gcode CLI. Essential for exploring codebases, finding functions/classes, understanding call graphs, and checking blast radius before changes.
Uses tree-sitter index for code navigation in Rust, Python, TypeScript, JavaScript, Go, Java, Scala, SQL: finds symbols, reads function implementations, traces callers, discovers tests.
Queries codebase knowledge graphs to search functions, trace callers/callees, list file entities, analyze impact, and run SurrealQL. Use for code structure, dependencies, and relationships.