Canonical: https://botbento.com/usecases/semantic-code-search-across-multiple-repositories/
Format: Markdown representation of the public HTML page.

[Home](/) / [Use cases](/usecases/) / [Coding](/usecases/?category=coding)

Coding · Intermediate

# Semantic code search across multiple repositories

Locate relevant functions and code snippets without reading through entire directories

[Use with BotBento ](https://app.botbento.com/?ref=usecases&utm_source=botbento.com&utm_medium=usecases&utm_campaign=semantic-code-search-across-multiple-repositories)Copy promptShare[Markdown](/text/usecases/semantic-code-search-across-multiple-repositories/index.md)

Opens BotBento. Paste the prompt into a bot; nothing is preconfigured.

- When you askReceive code query
- ThenSearch target repositories
- ResultReturn relevant snippets

When asked how a specific capability or workflow is implemented, the bot inspects target codebases using targeted code search tools. It extracts the precise snippets, file paths, and line references needed to understand or update the feature without loading full source files into context.

## Prompt to start with

BotBentoRecommended

```
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.
```

Copy

## Tools it uses

TerminalGitHub

## Works with

BotBento

## Tags

- codesearch
- devtools
- refactoring
- indexing

## Source

[semble: Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read](https://github.com/MinishLab/semble)
GitHub · checked 2026-10-15

Summarized in our own words. Any results described there are the authors’ own, not measured by BotBento.

By BotBento Editorial · Added 2026-10-15 · Updated 2026-10-15 · [Suggest a correction](/contact/)

## Related use cases

-

Codingadvanced

## [Auditing codebase architecture using symbol navigation](/usecases/auditing-codebase-architecture-using-symbol-navigation/)

Inspect symbol definitions, call hierarchies, and dead code to plan clean refactors

TerminalGitHub
-

Codingintermediate

## [Map repository architecture and trace call graphs](/usecases/map-repository-architecture-and-trace-call-graphs/)

Index code relationships into a graph to trace dependencies and navigate complex codebases

TerminalGitHubChat
-

Codingintermediate

## [Semantic code search and snippet retrieval](/usecases/semantic-code-search-and-snippet-retrieval/)

Locate relevant definitions and logic across repositories without reading entire files

TerminalGitHub
