rb-ask
Ask a question about the current project's codebase via the repobrain knowledge hub. / 通过 repobrain 知识库询问当前项目代码。
Rebuild the repobrain project knowledge base after significant changes. / 在重要改动后重建 repobrain 项目知识库。
> /plugin marketplace add study8677/repobrain > /plugin install repobrain@repobrain
How it fires
How this command gets triggered: by you, by Claude, or both.
/rb-refreshContext preview
What this command does when you run it.
Rebuild the repobrain project knowledge base after significant changes. / 在重要改动后重建 repobrain 项目知识库。
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 可能需要几分钟。
🧠 RepoBrain (formerly Antigravity) — Give your repo a brain. ChatGPT for your codebase: works in Claude Code, Cursor, Codex, Windsurf & more.
Ask a question about the current project's codebase via the repobrain knowledge hub. / 通过 repobrain 知识库询问当前项目代码。
Scaffold a new multi-agent repository from the RepoBrain template (invokes agent-repo-init skill). / 基于 RepoBrain 模板创建新的多智能体仓库。
First-time setup. Configure the LLM API key, or a no-API-key local host runner (Codex / Trae / Claude / any headless CLI) that RepoBrain uses for codebase Q&A…