Objective: Make any repository queryable by AI development tools through a portable, evidence-grounded knowledge layer.
RepoBrain centers on the rb-refresh + rb-ask workflow:
rb-refreshscans a repository and builds.repobrain/knowledge artifacts.rb-askroutes codebase questions to the relevant module context.- Native plugins, CLI entrypoints, and MCP tools expose the same knowledge layer to different AI IDEs without changing the core product.
- Answers cite concrete source files and line-level evidence where available.
- Claude Code and Codex CLI have native slash-command flows.
- Other IDEs can use the shared context files, raw CLI commands, or
rb-mcp. - Documentation, version metadata, and CI checks describe the same product contract.