Skip to content
Development
Command

/rb-ask

Ask a question about the current project's codebase via the repobrain knowledge hub. / 通过 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-ask

Context preview

What this command does when you run it.

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

Command definition

rb-ask.md
description: Ask a question about the current project's codebase via the repobrain knowledge hub. / 通过 repobrain 知识库询问当前项目代码。
allowed-tools: ["Bash"]

Run the RepoBrain CLI for the current workspace:

通过 RepoBrain CLI 询问当前工作区:

> $ARGUMENTS

Use Bash:

RB_ASK_TIMEOUT_SECONDS="${RB_ASK_TIMEOUT_SECONDS:-120}" rb-ask "$ARGUMENTS" --workspace "$PWD"

If `.env` sets `RB_HOST_RUNNER=codex`, the same command uses the user's local Codex CLI login for `rb-ask` instead of an API key. This host-runner mode is ask-only; refresh should use scan-only artifacts or a configured `OPENAI_*` provider.

如果 `.env` 设置了 `RB_HOST_RUNNER=codex`,同一个命令会通过用户本机 Codex CLI 登录运行 `rb-ask`,不走 API key。这个 host-runner 模式只支持 ask;refresh 应使用 scan-only 产物或已配置的 `OPENAI_*` provider。

使用 Bash:

RB_ASK_TIMEOUT_SECONDS="${RB_ASK_TIMEOUT_SECONDS:-120}" rb-ask "$ARGUMENTS" --workspace "$PWD"

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

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

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

Prefer `rb-ask` over manual file search. If the answer returns insufficient detail, follow up with targeted Read/Grep.

优先使用 `rb-ask`,不要先手动搜索文件。如果返回的信息不够,再用有目标的 Read/Grep 补充。

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,300
Stars
262
Forks
Active
Maintenance
Python
Language
MIT
License
9d ago
Last commit
8mo ago
Created

Repo: study8677/repobrain