code-search
Skill19 starsChanged 3 months agoMITView on GitHub
Locate definitions, investigate callers and change impact, explore file structure, and read selected source
8 other projects use a version of this.
Adopted by
Most recently taken up by
- langwatch/langwatchtheir own version, first seen Oct 17, 2026
- elastic/sourcerertheir own version, first seen Oct 13, 2026
- gitextensions/gitextensionstheir own version, first seen Oct 8, 2026
- Jinbae10/skillstheir own version, first seen Jul 7, 2026
- EasyJoy-Technologies/openclaw-skillstheir own version, first seen Apr 1, 2026
- sumisingh10/qgrep-mcptheir own version, first seen Mar 31, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- gitextensions/gitextensions★ 8.6ksame name
- langwatch/langwatch★ 5ksame name
- kunwl123456/zeroclaw-skills-collection★ 27same name
- elastic/sourcerer★ 20same name
- sumisingh10/qgrep-mcp★ 8same name
- brettatoms/agent-skills★ 3same name
- EasyJoy-Technologies/openclaw-skills★ 1same name
- Jinbae10/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- assess-findingsSkill
- autopilotSkill
- build-fixSkill
- context-usageSkill
- debugSkill
- decideSkill
- designSkill
- docsSkill
- forgetSkill
- gitSkill
- implementSkill
- memoriseSkill
- patternsSkill
- perfSkill
- plan-swarmSkill
- recallSkill
- reflectSkill
- reviewSkill
- semgrepSkill
- surveySkill
- swarmSkill
- swarm-statusSkill
- testSkill
- verifySkill
- worktree-resolveSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 6 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
Use these to investigate callers and change impact, then verify current source.
- Distinctive: line 61
Use this for the file's API surface.
- Distinctive: line 74
Use an outline to navigate an unfamiliar large file when its structure will help select what to read.
- Very specific: line 75
Read known line ranges directly.
- Very specific: line 76
When several symbol names are known, code_read_symbol supports a symbols batch (up to 10).
- Very specific: line 89
Read current bodies for known function, method, class, or type names.
- Distinctive: line 99
Use a bounded Read for imports or surrounding context outside the selected symbols.
- Distinctive: line 100
Read directly when the file is small or most of its contents are needed.
- Distinctive: line 118
Search static analysis findings (complexity hotspots, secrets, code clones, coupling issues).
- Very specific: line 135
Inspect current source: follow returned code_read_symbol selectors for missing source, retaining their checkout selector.
- Very specific: line 146
Investigate indexing only when needed: if results suggest indexing is missing or stale, inspect code_stats or run ./.aide/bin/aide code …
- Very specific: line 158
Use code_search with query "auth" or "authenticate"
- Very specific: line 165
Use code_references with symbol "authenticateUser"
- Very specific: line 176
Call sites for a specific symbol name (via code_references)
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Search
Recommended model tier: balanced (sonnet) - this skill performs straightforward operations
Locate definitions and caller candidates during debugging, review, and refactoring, then inspect the current source needed for the task. Choose tools by the evidence needed; there is no mandatory navigation step before reading a small file or a known relevant range.
Available Tools
1. Search Symbols (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 numbers2. Find References (mcp__plugin_aide_aide__code_references)
Find indexed candidates where a symbol is called or used, including type references. Use these to investigate callers and change impact, then verify current source.
Example usage:
Who calls "getUserById"?
→ Uses code_references tool
→ Returns: indexed candidate call sites with file:line and context3. List File Symbols (mcp__plugin_aide_aide__code_symbols)
List parsed definitions in a specific file, with signatures and locations. Use this for the file's API surface; coverage depends on grammar support.
Example usage:
What functions are in src/auth.ts?
→ Uses code_symbols tool
→ Returns: supported function, class, and type definitions in that file4. File Outline (mcp__plugin_aide_aide__code_outline)
Get a collapsed structural outline of a file — signatures preserved, bodies replaced with { ... }.
Use an outline to navigate an unfamiliar large file when its structure will help select what to read.
Read known line ranges directly; read the full file when it is small or most of its contents are needed.
When several symbol names are known, code_read_symbol supports a symbols batch (up to 10).
Smaller returned text does not guarantee fewer whole-task tokens: an extra navigation round has overhead.
Example usage:
Outline src/auth.ts
→ Uses code_outline tool
→ Returns: collapsed view with signatures, line ranges, bodies collapsed5. Read Symbol Source (mcp__plugin_aide_aide__code_read_symbol)
Read current bodies for known function, method, class, or type names. Batch up to
10 names in symbols when several bodies are needed, rather than issuing a call
per name. Set file to choose an exact file, including one not yet indexed. If a
name occurs multiple times in that file, also set start_line to the current
definition line. Ambiguous names return candidates instead of choosing one.
{ "symbols": ["authenticateUser", "validateToken"], "file": "src/auth.ts" }Use a bounded Read for imports or surrounding context outside the selected symbols. Read directly when the file is small or most of its contents are needed.
6. Check Index Status (mcp__plugin_aide_aide__code_stats)
Inspect index counts when diagnosing missing results or unavailable indexing. This is not a required preflight before each query or source read, and counts do not establish freshness or complete coverage.
Example usage:
Is the code indexed?
→ Uses code_stats tool
→ Returns: file count, symbol count, reference count7. Search Findings (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, descriptionWorkflow
- Choose the needed evidence:
code_searchfor definition candidates;code_referencesfor caller/type-use candidates;code_symbolsorcode_outlinefor structure in a known file. Filter by kind, language, or file when that narrows the question. Keep Grep for literals, imports, and patterns inside function bodies. - Inspect current source: follow returned
code_read_symbolselectors for missing source, retaining their checkout selector. Do not repeat search or outline discovery for a location already identified. Selectors are indexed candidates; if a definition moved, retry its file/name withoutstart_line. Reuse bodies already available in the current context; reread for changes or missing context. Batch known names withcode_read_symbol, usingfileto disambiguate. Read known ranges or small/full-relevant files directly. - Verify conclusions: indexed search/reference results are best-effort candidates, not a complete semantic graph. Same-name symbols, dynamic calls, unsupported syntax, stale files, and limits can affect results. Verify relevant definitions and callers in current source; empty results do not prove absence.
- Investigate indexing only when needed: if results suggest indexing is
missing or stale, inspect
code_statsor run./.aide/bin/aide code index. Continue with current-source reads or Grep when the index cannot answer.
Binary location: The aide binary is at .aide/bin/aide. If it's on your $PATH, you can use aide directly.
Example Session
User: "Where is the authentication function?"
Assistant action:
- Use
code_searchwith query "auth" or "authenticate" - Show matching functions with file locations
User: "Who calls authenticateUser?"
Assistant action:
- Use
code_referenceswith symbol "authenticateUser" - Inspect relevant candidate callers in current source and group the findings by file
What These Tools Cover
code_search and code_references work from the tree-sitter symbol index. Depending
on grammar support and index state, their results include:
- Function, method, class, interface, type definitions by name
- Symbol signatures (parameter types, return types)
- Doc comments attached to definitions
- Call sites for a specific symbol name (via
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.
Notes
- Indexed searches need an index; exact-file
code_read_symboland on-demand file structure tools can inspect source without one - Indexing is incremental - only changed files are re-parsed
- Supports: TypeScript, JavaScript, Go, Python, Rust, and more
- File watching is on by default; disable with
AIDE_CODE_WATCH=0orcode.watch: falsein.aide/config/aide.json
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

