cross_repo_search
When a symbol or concept is not found locally, search sibling repositories in the same project or organization to retrieve relevant code and architecture context.
Instructions
Search knowledge from sibling repositories.
scope="project" — only repos in same project (recommended, high relevance). scope="org" — all repos in organization (broader, use sparingly).
Requires repos linked via cognirepo init (written to org graph).
Returns empty results if no sibling repos are registered.
Claude: call this when:
lookup_symbol returned empty and the symbol may live in a sibling repo
The architecture question spans multiple services in the same project
User asks "how does X work across the system" or "what does repo Y do"
Importing from a sibling repo and need context on its internals
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| scope | No | project | |
| top_k | No |