readme-skill
Turn your local Claude Code / Codex CLI history into a shareable, anonymized AI-Native developer profile + viral SVG poster. A skill, not a script, 100% local & read-only.
Helps you understand an unfamiliar repository, trace how a feature is implemented, and ask questions about the code with references to the source files. Project knowledge is kept in a shared folder so different IDEs and agents can use it.
Claude Code
> /plugin marketplace add study8677/repobrain> /plugin install repobrain@repobrain
Codex
$ npx skills add study8677/repobrain -a codex
Cursor
$ npx skills add study8677/repobrain -a cursor
Gemini CLI
$ npx skills add study8677/repobrain -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add study8677/repobrain$ copilot plugin install repobrain@repobrain
OpenCode
$ npx skills add study8677/repobrain -a opencode
Windsurf
$ npx skills add study8677/repobrain -a windsurf

Cross-IDE repository knowledge engine for grounded codebase Q&A.
Formerly known as Antigravity Workspace Template — same project, new name.
RepoBrain helps you understand an unfamiliar repository, trace an implementation,
and ask questions with source-file references. It keeps project knowledge in
.repobrain/, shared across supported IDEs and agents.
Cross-IDE repository knowledge engine for grounded codebase Q&A. Same .repobrain/ knowledge layer reads in every IDE; one engine, every host.
An AI Agent's capability ceiling = the quality of context it can read.
rb-refresh deploys a multi-agent cluster that autonomously reads your code — each module gets its own Agent that generates a knowledge doc. rb-ask routes questions to the right Agent, grounded in real code with file paths and line numbers.
Instead of handing Claude Code / Codex a repo-wide grep and making it hunt on its own, give it a ChatGPT for your repository.
Traditional approach: RepoBrain approach:
CLAUDE.md = 5000 lines of docs Claude Code calls ask_project("how does auth work?")
Agent reads it all, forgets most Router → ModuleAgent reads actual source, returns exact answer
Hallucination rate stays high Grounded in real code, file paths, and git history
Four concrete failure modes RepoBrain fixes — click to expand
| Problem | Without RepoBrain | With RepoBrain |
|---|---|---|
| Agent forgets coding style | Repeats the same corrections | Reads .repobrain/conventions.md — gets it right the first time |
| Onboarding a new codebase | Agent guesses at architecture | rb-refresh → ModuleAgents self-learn each module |
| Switching between IDEs | Different rules everywhere | One .repobrain/ folder — every IDE reads it |
| Asking "how does X work?" | Agent reads random files | ask_project MCP → Router routes to the responsible ModuleAgent |
Architecture is files + a live Q&A engine, not plugins. Portable across any IDE, any LLM, zero vendor lock-in.
Read the full project philosophy.
Ask an AI assistant that can run commands in your project to install RepoBrain:
Read AI_INSTALL.md and follow it to install RepoBrain in this project.
The guide installs the tools, configures a model backend, then builds the knowledge base and checks an answer. A logged-in headless CLI such as Trae can serve as the backend without an API key; an OpenAI-compatible API is also supported. Requirements: Python 3.10+, Git with at least one commit, and a clean worktree before refresh.
For platform-specific installation or manual configuration, see
the installation guide and the quick-start guide.
Installing RepoBrain into an existing project does not require rb init or rb-init.
Run these commands in your project directory after installation and configuration:
rb-refresh
rb-ask "How does authentication work in this project?"
rb-refresh automatically builds the first knowledge base, updates affected groups
after committed changes, or continues a matching interrupted task. If knowledge is
already current, it skips without calling a model. After a failure, run the same
command again to continue.
Use this only when you want to regenerate all knowledge:
rb-refresh --full
rb-ask reads the existing knowledge base and answers with source evidence. It
reminds you when committed code is newer; it does not refresh during a question.
Examples of useful questions:
Source code → rb-refresh → .repobrain/ knowledge → rb-ask → answer with code references
RepoBrain groups related code, generates module knowledge, and routes each question to relevant context. Knowledge lives in your project, so supported IDEs share the same base. Updates are staged separately and become active only when complete; a failed update preserves the existing usable generation.
The first build can take several minutes or longer on large repositories and uses your configured model. Commit or stash local changes before refreshing. IDE rules and new-project scaffolding are optional; see the usage reference.
| Use | Environments | How to connect |
|---|---|---|
| Native plugins | Claude Code, Codex CLI | Setup, refresh, and ask via slash commands. |
| Compatible IDEs | Cursor, Windsurf, Gemini CLI, VS Code + Copilot, Cline, Aider, DeepSeek Harness | Shared context files, CLI, or an MCP client. |
| Other agents and scripts | Any host that can run commands or call MCP tools | CLI/JSON output or optional rb-mcp. |
Platform-specific commands, JSON output, and MCP registration are documented in the usage reference and INSTALL.md.
A locked comparison on Flask, ripgrep, Vite, and Prometheus used the same source access and model route for RepoBrain and CodeGraph + Trae. The full report includes accuracy, query time, tokens, and cold-build cost. Results apply to that experiment; AI knowledge generation and static graph indexing are different workloads.
NLPM Audit Feedback — Improved by NLPM, a natural-language programming linter by xiaolai.
Ideas are contributions too! Open an issue to report bugs, suggest features, or propose architecture.

⭐ Lling0000 Major Contributor · Creative suggestions · Project administrator · Project ideation & feedback

h13181278389 Core Contributor · Thank you for your support, feedback, and contributions to RepoBrain

flyw1015 Core Contributor · Thank you for your support, feedback, and contributions to RepoBrain

Alexander Daza Sandbox MVP · OpenSpec workflows · Technical analysis docs · PHILOSOPHY

Chen Yi First CLI prototype · 753-line refactor · DummyClient extraction · Quick-start docs

Subham Sangwan Dynamic tool & context loading (#4) · Multi-agent swarm protocol (#3)

shuofengzhang Memory context window fix · MCP shutdown graceful handling (#28)

goodmorning10 Enhanced rb ask context loading — added CONTEXT.md, AGENTS.md, and memory/*.md as context sources (#29)

Abhigyan Patwari Code knowledge graph integration for rb ask — symbol search, call graphs, and impact analysis

BBear0115 Skill packaging & KG retrieval enhancements · Multi-language README sync (#30)

SunkenCost rb clean command · main entry-point guard (#37)

Aravindh Balaji Unified instruction surface around AGENTS.md (#41)

xiaolai
Turn your local Claude Code / Codex CLI history into a shareable, anonymized AI-Native developer profile + viral SVG poster. A skill, not a script, 100% local & read-only.
Helps you take a change from a rough idea or bug report through to a tested, reviewed result, with each step handled by a focused skill. Its skills cover pinning down domain terms, designing module interfaces, diagnosing hard bugs, and reviewing changes against your repo's coding standards.
A development methodology for coding agents that makes the agent brainstorm before building, follow plans, run parallel work and finish branches in a disciplined way. You get fewer skipped steps and more consistent results from your coding assistant.
Gives your coding agent a planning, testing and review routine to follow on every task. It plans before building, checks changes with tests, has a fresh reviewer look for regressions, and saves repeated wins as reusable skills.
Developer tools for working on the React codebase itself. Provides skills for extracting error messages, managing and debugging feature flags across release channels, running Flow type checks, and fixing lint and formatting issues before committing.
Install it with the command on its page. It includes agent-repo-init, graph-retrieval, knowledge-layer. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it