Skip to content
Development
Command

/rb-refresh

Rebuild the repobrain project knowledge base after significant changes. / 在重要改动后重建 repobrain 项目知识库。

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/rb-refresh

Context preview

What this command does when you run it.

Rebuild the repobrain project knowledge base after significant changes. / 在重要改动后重建 repobrain 项目知识库。

Command definition

rb-refresh.md
description: Rebuild the repobrain project knowledge base after significant changes. / 在重要改动后重建 repobrain 项目知识库。
allowed-tools: ["Bash"]

Run the RepoBrain CLI for the current workspace.

通过 RepoBrain CLI 刷新当前工作区知识库。

Use Bash:

rb-refresh --workspace "$PWD"

使用 Bash:

rb-refresh --workspace "$PWD"

If $ARGUMENTS contains `quick`, add `--quick`. Quick mode compares only committed changes, requires a clean worktree, and lets RepoBrain's ImpactPlanner plus an independent Verifier update only affected Agent groups. It never falls back to a full refresh. If $ARGUMENTS contains `failed-only`, add `--failed-only` to resume the failed/pending groups for the same target commit.

如果 $ARGUMENTS 包含 `quick`,追加 `--quick`。quick 只比较已提交变更,要求工作区 干净,由 RepoBrain ImpactPlanner 与独立 Verifier 只更新受影响 Agent 分组,且绝不 自动降级为全量刷新。如果 $ARGUMENTS 包含 `failed-only`,追加 `--failed-only`, 续跑同一目标提交中失败或待处理的分组。

If `rb-refresh` is not found, tell the user the engine CLI is not installed and suggest:

如果找不到 `rb-refresh`,说明 engine CLI 尚未安装,建议用户运行:

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

Report progress concisely; full refresh can take several minutes.

简洁汇报进度;完整 refresh 可能需要几分钟。

Ships withrepobrain

🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.

Get the whole plugin
Stats
1,325
Stars
266
Forks
Active
Maintenance
Python
Language
MIT
License
5d ago
Last commit
9mo ago
Created

Repo: study8677/repobrain

Other commands on repobrain.