一つの agent contract を選ぶ
Root command の --agent は agent name/definition file、--agents は inline subagent JSON を受けます。Inline JSON は controlled tooling に限定します。
Single-agent task は --no-subagents。Named agent だけでは parent permission は狭まりません。
grok --agent reviewer -p "Review the current diff" --no-subagents TUI で definitions を管理
公式 modes guide は /config-agents と alias /agents を説明します。これは interactive command で shell subcommand ではありません。
/tasks、/session-info、必要な時だけ /fork を使います。
- Slash command は TUI 内。
- Shell options は launch 前。
- Source-preview は公式文書か release evidence が確認するまで preview。
Inherited surfaces を監査
grok inspect は configuration sources、rules、skills、plugins、hooks、MCP servers を表示し、agent definitions は .grok/agents と ~/.grok/agents にあります。Compatibility scan で他 tool layout から agent が入る場合があるため、local folder が空でも agent がないとは限りません。
Secret/deployment access のある repo では provenance と tool authority を確認します。