Grok WorldGrok Build CLI field station

GROK BUILD CLI / 15

選擇 custom agents 並管理 TUI commands

Custom agent 是 policy package,不是 personality;使用前檢查 tools、model、instructions 與 compatibility sources。

CHANNELAGENT 組合 / 進階 / 12 MIN
來源核對日期2026-07-31
ORIGINOFFICIAL DOCS / PRIMARY

選一個 agent contract

已發布 root command 以 --agent 選 agent name/definition file,--agents 則接 inline subagent JSON。Inline JSON 應只存在 controlled tooling,不要隨意進 shell history。

任務必須 single-agent 時使用 --no-subagents;named agent 不會自動縮小 parent permissions。

grok --agent reviewer -p "Review the current diff" --no-subagents

在 TUI 管理 definitions

官方 modes guide 記錄 /config-agents,alias 是 /agents。它是 interactive command,不是 grok agents shell subcommand。

用 /tasks 檢查 tasks/subagents、/session-info 確認 model/session,只有確實要 peer lineage 時才 /fork。

  • Slash commands 在 TUI 內執行。
  • Shell options 在 launch 前解析。
  • Source-preview 未經 release help 確認就維持 preview。

稽核 inherited surfaces

grok inspect 會列出 current directory 發現的 agents、rules、skills、plugins、hooks 與 MCP。Compatibility scan 可能從其他 tool layout 匯入 definition,所以 local folder 空白不代表沒有 agent。

在含 secret/deployment access 的 repo 啟用前,檢查 instruction provenance 與 tool authority。