Skip to content
Development
Command

/rb-refresh

Automatically build, update, or resume the project knowledge base. / 自动构建、更新或续跑项目知识库。

From plugin
repobrain
1.4k4 skills4 commands1 hook
> /plugin marketplace add study8677/repobrain
> /plugin install repobrain@repobrain

Command definition

rb-refresh.md
description: Automatically build, update, or resume the project knowledge base. / 自动构建、更新或续跑项目知识库。
allowed-tools: ["Bash"]

Run the RepoBrain CLI in the current project directory:

rb-refresh

`--workspace` defaults to the current directory. The engine automatically selects first construction, a matching interrupted task, an incremental update, or an already-current result. It requires a clean Git worktree and uses committed code. If $ARGUMENTS contains `--full`, run `rb-refresh --full` to force a new complete rebuild. Forward unsupported arguments to the CLI so removed or misspelled options are rejected; do not translate them to a different refresh mode.

在当前项目目录运行 `rb-refresh` 即可;`--workspace` 默认当前目录。引擎自动选择 首次构建、匹配的中断续跑、增量更新或已是最新。要求 Git 工作区干净,只处理已提交 代码。$ARGUMENTS 包含 `--full` 时运行 `rb-refresh --full`,强制新建完整重建任务。 其他参数交给 CLI 检查,禁止将不支持的参数悄悄转换成其他刷新方式。

If `rb-refresh` is not found, explain that the engine CLI is missing and suggest:

如果找不到命令,提示安装 engine CLI:

pipx install "git+https://github.com/study8677/repobrain.git#subdirectory=engine"

Report whether this run builds, resumes, updates, skips, or fails. Full builds can take several minutes. Never treat a failed result as a successful refresh.

Completed local generations are selected by Git commit. Switching back to a previously indexed commit reuses its compatible knowledge without model calls; new commits update from a usable ancestor rather than another branch's tip.

简洁说明此次是构建、续跑、更新、跳过还是失败。完整构建可能需要几分钟,失败时 不能声称知识库已经更新。

Read more
@study8677
Ships withrepobrain

Cross-IDE repository knowledge engine for grounded codebase Q&A. Formerly known as Antigravity Workspace Template — same project, new name.

Stars on GitHub

Momentum

stars in total
1.4k
Star history of study8677/repobrain on GitHub, a chart by star-history.com

Other commands on repobrain.

rb-ask

rb-ask

Command

Ask a question about the current project's codebase via the repobrain knowledge hub. / 通过 repobrain 知识库询问当前项目代码。

@study8677@study8677Install Command
rb-init

rb-init

Command

Scaffold a new multi-agent repository from the RepoBrain template (invokes agent-repo-init skill). / 基于 RepoBrain 模板创建新的多智能体仓库。

@study8677@study8677Install Command
rb-setup

rb-setup

Command

First-time setup. Configure the LLM API key, or a no-API-key local host runner (Codex / Trae / Claude / any headless CLI) that…

@study8677@study8677Install Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command