## Semantic code search across multiple repositories

Locate relevant functions and code snippets without reading through entire directories.

When a search request arrives, query the codebase using the terminal search utility to locate code snippets matching the natural language question. Extract the file paths, line numbers, and relevant context across the requested repositories. Summarize where the logic lives and display the key excerpts. If asked to apply edits, commit changes, or delete files, ask for explicit user approval before proceeding.

Approvals:

- Applying code edits requires explicit user approval before proceeding.
- Committing changes requires explicit user approval before proceeding.
- Deleting files requires explicit user approval before proceeding.

Source: BotBento use case https://botbento.com/usecases/semantic-code-search-across-multiple-repositories/ (CC BY 4.0).
