証拠の境界
Grok Build 1.0.0
インストール済みバイナリの再帰的 help をリリース済み shell パスの基準とします。公式文書は設定と挙動を補い、リリースに結び付かない source HEAD は preview のまま扱います。
- 取得リリース
- 1.0.0 / darwin-arm64
- ソース方針
- Installed Grok Build 1.0.0 recursive help is authoritative for released command paths and public options.
- 62
- Shell コマンド
- 359
- オプション
- 66
- TUI スラッシュコマンド
- 136
- 設定スキーマ
- 67
- 環境変数名
RELEASE / DOCS / SOURCE
既知の差分
docs import ahead
Official docs list grok import, but installed 1.0.0 root help does not expose it; treat it as conditional, not release-confirmed.
grok-runtime-1.0.0 · grok-docs-cli-2026-07-31concise docs
The official CLI page intentionally lists common commands only; release help additionally exposes leader, doctor fix, MCP toggles, plugin tag, trace, and worktree database commands.
grok-runtime-1.0.0 · grok-docs-cli-2026-07-31source unbound
Public source HEAD and SOURCE_REV cannot be bound to installed 1.0.0, so source-only TUI and command surfaces remain preview evidence.
grok-runtime-1.0.0 · grok-source-cli-500129c · grok-source-tui-500129chidden options excluded
The hidden root-level --no-auto-update flag is intentionally excluded because 1.0.0 root --help does not expose it; the distinct public agent leader flag remains in the runtime inventory.
grok-runtime-1.0.0 · grok-docs-cli-2026-07-3101 / SHELL TREE
Shell コマンド
62 Shell コマンド / 22 コマンド群 / 359 オプション
01 root 1 Shell コマンド
grok Launch the Grok Build TUI, run one prompt, or select a subcommand.
grok [OPTIONS] [PROMPT] [COMMAND] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--agent NAME | string | runtime 確認済み | 読み取り専用 | Select an agent name or agent definition file. |
--agents JSON | string | runtime 確認済み | 要レビュー | Provide inline subagent definitions as JSON. |
--allow, --allowedTools RULE | string | runtime 確認済み | 高影響 | Add an explicit permission allow rule for this invocation. |
--always-approve, --yolo, --dangerously-skip-permissions | boolean | runtime 確認済み | 高影響 | Auto-approve tool executions; deny rules, hooks, and the sandbox remain separate controls. |
-c, --continue | boolean | runtime 確認済み | 読み取り専用 | Continue the most recent session for the current working directory. |
--cwd CWD | path | runtime 確認済み | 読み取り専用 | Set the working directory. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
--deny, --disallowedTools RULE | string | runtime 確認済み | 要レビュー | Add an explicit permission deny rule for this invocation. |
--disable-web-search | boolean | runtime 確認済み | 読み取り専用 | Disable web search and web fetch tools. |
--disallowed-tools TOOLS | array | runtime 確認済み | 読み取り専用 | Remove comma-separated built-in tools. |
--experimental-memory | boolean | runtime 確認済み | 要レビュー | Enable cross-session memory. |
--fork-session | boolean | runtime 確認済み | 読み取り専用 | Create a new session ID when resuming or continuing. |
--fullscreen | boolean | runtime 確認済み | 読み取り専用 | Use the standard fullscreen TUI for this session. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print root help. |
--include-partial-messages | boolean | runtime 確認済み | 読み取り専用 | Emit incremental stream_event lines alongside whole messages when using streaming-messages-json output. |
--json-schema SCHEMA | string | runtime 確認済み | 読み取り専用 | Constrain the response to a JSON Schema and imply JSON output. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
-m, --model MODEL | string | runtime 確認済み | 読み取り専用 | Select a model ID. |
--max-turns N | integer | runtime 確認済み | 読み取り専用 | Limit the number of agent turns. |
--minimal | boolean | runtime 確認済み | 読み取り専用 | Use experimental scrollback-native rendering for this session. |
--no-alt-screen | boolean | runtime 確認済み | 読み取り専用 | Run inline without the terminal alternate screen. |
--no-memory | boolean | runtime 確認済み | 読み取り専用 | Disable cross-session memory for this session. |
--no-plan | boolean | runtime 確認済み | 読み取り専用 | Disable plan mode. |
--no-subagents | boolean | runtime 確認済み | 読み取り専用 | Disable subagent spawning. |
--oauth | boolean | runtime 確認済み | 要レビュー | Use OAuth when the welcome screen starts authentication. |
--output-format OUTPUT_FORMAT | enum: plain | json | streaming-json | streaming-messages-json | runtime 確認済み | 読み取り専用 | Select the headless output format. |
-p, --single PROMPT | string | runtime 確認済み | 要レビュー | Run a single-turn prompt, print the response, and exit. |
--permission-mode MODE | enum: default | acceptEdits | auto | dontAsk | bypassPermissions | plan | runtime 確認済み | 高影響 | Select the invocation permission mode. |
--prompt-file PATH | path | runtime 確認済み | 要レビュー | Read a single-turn prompt from a file. |
--prompt-json JSON | string | runtime 確認済み | 要レビュー | Provide a single-turn prompt as JSON content blocks. |
-r, --resume SESSION_ID_OR_TITLE | string | runtime 確認済み | 読み取り専用 | Resume a session by ID or title, or the most recent session when omitted. |
--reasoning-effort, --effort EFFORT | enum: low | medium | high | runtime 確認済み | 読み取り専用 | Select reasoning effort for a supported model. |
--restore-code | boolean | runtime 確認済み | 高影響 | Check out the original session commit while resuming. |
--rules, --append-system-prompt RULES | string | runtime 確認済み | 要レビュー | Append extra rules to the system prompt. |
-s, --session-id SESSION_ID | string | runtime 確認済み | 読み取り専用 | Use a specific UUID for a new conversation or a named fork. |
--sandbox PROFILE | enum: off | workspace | devbox | read-only | strict | runtime 確認済み | 要レビュー | Select a filesystem and network sandbox profile. |
--system-prompt-override, --system-prompt PROMPT | string | runtime 確認済み | 高影響 | Replace the system prompt for this invocation. |
--tools TOOLS | array | runtime 確認済み | 要レビュー | Select comma-separated built-in tools. |
-v, --version | boolean | runtime 確認済み | 読み取り専用 | Print the release version. |
--verbatim | boolean | runtime 確認済み | 読み取り専用 | Send the prompt exactly as supplied. |
-w, --worktree WORKTREE | string | runtime 確認済み | 要レビュー | Start the session in a new git worktree, optionally named. |
--worktree-ref, --ref WORKTREE_REF | string | runtime 確認済み | 要レビュー | Choose the branch, tag, or commit used to create a worktree. |
grokgrok -p "Explain this repository"grok -p "List TODOs" --output-format json 02 help 1 Shell コマンド
grok help Print root or nested command help.
grok help [COMMAND]... このコマンド固有の公開オプションはありません。
grok help mcp add 03 agent 5 Shell コマンド
grok agent Run Grok without the interactive TUI.
grok agent [OPTIONS] [COMMAND] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--reauth, --reauthenticate | boolean | runtime 確認済み | 要レビュー | Authenticate before starting the agent. |
-m, --model MODEL | string | runtime 確認済み | 読み取り専用 | Select a model ID. |
--reasoning-effort, --effort EFFORT | enum: low | medium | high | runtime 確認済み | 読み取り専用 | Select reasoning effort. |
--always-approve | boolean | runtime 確認済み | 高影響 | Auto-approve tool executions. |
--agent-profile PATH | path | runtime 確認済み | 要レビュー | Load an agent profile file. |
--plugin-dir DIR | path | runtime 確認済み | 高影響 | Load a highest-priority, automatically trusted plugin directory for this process. |
--leader | boolean | runtime 確認済み | 要レビュー | Connect to a shared leader process. |
--no-leader | boolean | runtime 確認済み | 読み取り専用 | Start a separate agent even when leader mode is configured. |
--grok-ws-origin GROK_WS_ORIGIN | url | runtime 確認済み | 要レビュー | Override the Grok relay origin. |
--grok-ws-url GROK_WS_URL | url | runtime 確認済み | 要レビュー | Override the Grok relay WebSocket URL. |
--cli-chat-proxy-base-url URL | url | runtime 確認済み | 要レビュー | Override the CLI chat proxy URL. |
--xai-api-base-url URL | url | runtime 確認済み | 要レビュー | Override the public xAI API base URL. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok agent stdio grok agent stdio Run Grok as an ACP agent over standard input and output.
grok agent stdio [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok agent stdio grok agent headless Run the agent headlessly over the Grok WebSocket relay.
grok agent headless [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--grok-ws-origin GROK_WS_ORIGIN | url | runtime 確認済み | 要レビュー | Override the relay origin. |
--grok-ws-url GROK_WS_URL | url | runtime 確認済み | 要レビュー | Override the relay WebSocket URL. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok agent serve Run the agent as a WebSocket server.
grok agent serve [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--bind BIND | string | runtime 確認済み | 要レビュー | Select the server listen address. |
--secret SECRET | string | runtime 確認済み | 高影響 | Set the client-authentication secret; omit it to auto-generate one. |
--remote REMOTE | url | runtime 確認済み | 高影響 | Select a remote agent URL for proxy mode. |
--grok-ws-origin GROK_WS_ORIGIN | url | runtime 確認済み | 要レビュー | Override the relay origin. |
--grok-ws-url GROK_WS_URL | url | runtime 確認済み | 要レビュー | Override the relay WebSocket URL. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok agent leader Run the shared leader process used by other clients.
grok agent leader [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--no-exit-on-disconnect | boolean | runtime 確認済み | 読み取り専用 | Keep the leader running after the last client disconnects. |
--relay-on-demand | boolean | runtime 確認済み | 要レビュー | Connect the relay only when a headless IPC client requires it. |
--no-auto-update | boolean | runtime 確認済み | 読み取り専用 | Disable periodic update checks for the leader. |
--grok-ws-origin GROK_WS_ORIGIN | url | runtime 確認済み | 要レビュー | Override the relay origin. |
--grok-ws-url GROK_WS_URL | url | runtime 確認済み | 要レビュー | Override the relay WebSocket URL. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
04 completions 1 Shell コマンド
grok completions Generate a shell completion script.
grok completions [OPTIONS] <SHELL> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok completions zsh 05 dashboard 1 Shell コマンド
grok dashboard Open the Agent Dashboard at startup.
grok dashboard [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
06 doctor 2 Shell コマンド
grok doctor Check terminal, clipboard, color, input, notification, and sandbox support.
grok doctor [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit machine-readable diagnostics. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok doctor --json grok doctor fix Apply available automatic terminal fixes.
grok doctor fix [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--yes | boolean | runtime 確認済み | 高影響 | Apply fixes without confirmation. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok doctor fixgrok doctor fix --yes 07 export 1 Shell コマンド
grok export Export a session transcript as Markdown.
grok export [OPTIONS] <SESSION_ID> [OUTPUT] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-c, --clipboard | boolean | runtime 確認済み | 要レビュー | Copy the exported transcript to the clipboard. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
08 inspect 1 Shell コマンド
grok inspect Show configuration, rules, skills, plugins, hooks, and MCP servers discovered for the directory.
grok inspect [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 要レビュー | Emit the discovered configuration as JSON; review before sharing. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok inspectgrok inspect --json 09 leader 4 Shell コマンド
grok leader Manage running leader processes.
grok leader [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok leader list List discovered leader processes.
grok leader list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok leader info Show information about one leader process.
grok leader info [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--pid PID | integer | runtime 確認済み | 読み取り専用 | Select a leader by process ID. |
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok leader kill Stop a running leader process.
grok leader kill [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
10 login 1 Shell コマンド
grok login Sign in to Grok Build.
grok login [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--oauth | boolean | runtime 確認済み | 要レビュー | Use browser OAuth. |
--device-auth | boolean | runtime 確認済み | 要レビュー | Use device-code authentication for remote or headless terminals. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok logingrok login --device-auth 11 logout 1 Shell コマンド
grok logout Sign out and clear cached credentials.
grok logout [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
12 mcp 7 Shell コマンド
grok mcp Manage MCP server configurations.
grok mcp [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp list List configured MCP servers.
grok mcp list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp list --json grok mcp add Add or replace a user- or project-scoped MCP server.
grok mcp add [OPTIONS] <NAME> [COMMAND_OR_URL] [ARGS]... | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-t, --transport TRANSPORT | enum: stdio | http | sse | runtime 確認済み | 読み取り専用 | Select stdio, streamable HTTP, or SSE transport. |
-s, --scope SCOPE | enum: user | project | runtime 確認済み | 要レビュー | Write to user or project configuration. |
-e, --env KEY=value | string | runtime 確認済み | 高影響 | Add a process environment entry; avoid literal secret values. |
-H, --header NAME: VALUE | string | runtime 確認済み | 高影響 | Add an HTTP header; prefer environment-backed configuration for secrets. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/dirgrok mcp add --transport http docs https://example.invalid/mcp grok mcp remove Remove an MCP server from one configuration scope.
grok mcp remove [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-s, --scope SCOPE | enum: user | project | runtime 確認済み | 要レビュー | Select the configuration scope. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp enable Enable a configured MCP server.
grok mcp enable [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp disable Disable a configured MCP server.
grok mcp disable [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp doctor Diagnose MCP configuration and connectivity.
grok mcp doctor [OPTIONS] [NAME] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON diagnostics. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok mcp doctor --json 13 memory 2 Shell コマンド
grok memory Manage cross-session memory.
grok memory [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok memory clear Delete workspace, global, or all memory files.
grok memory clear [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--workspace | boolean | runtime 確認済み | 高影響 | Clear workspace memory. |
--global | boolean | runtime 確認済み | 高影響 | Clear global memory. |
--all | boolean | runtime 確認済み | 高影響 | Clear all memory scopes. |
-y, --yes | boolean | runtime 確認済み | 高影響 | Skip confirmation. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
14 models 1 Shell コマンド
grok models List available models and exit.
grok models [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
15 plugin 15 Shell コマンド
grok plugin Manage plugins and marketplace sources.
grok plugin [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin list List installed or available plugins.
grok plugin list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--available | boolean | runtime 確認済み | 読み取り専用 | Include available marketplace plugins. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin install Install a plugin from a git URL, GitHub shorthand, or local path.
grok plugin install [OPTIONS] <SOURCE> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--trust | boolean | runtime 確認済み | 高影響 | Trust the plugin immediately and skip confirmation. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin uninstall Uninstall an installed plugin.
grok plugin uninstall [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--confirm | boolean | runtime 確認済み | 高影響 | Skip confirmation for multi-plugin repositories. |
--keep-data | boolean | runtime 確認済み | 読み取り専用 | Preserve the plugin data directory. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin update Update one plugin or all installed plugins.
grok plugin update [OPTIONS] [NAME] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin enable Enable an installed plugin.
grok plugin enable [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin disable Disable an installed plugin.
grok plugin disable [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin details Show plugin metadata and capabilities.
grok plugin details [OPTIONS] <NAME> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin validate Validate a plugin manifest and layout.
grok plugin validate [OPTIONS] [PATH] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin tag Create a release git tag from a plugin manifest version.
grok plugin tag [OPTIONS] [PATH] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--push | boolean | runtime 確認済み | 高影響 | Push the tag to the remote. |
-f, --force | boolean | runtime 確認済み | 高影響 | Tag even when the worktree is dirty or the tag exists. |
--dry-run | boolean | runtime 確認済み | 読み取り専用 | Print the proposed tag without creating it. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin marketplace Manage plugin marketplace sources.
grok plugin marketplace [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin marketplace list List configured marketplace sources and their plugins.
grok plugin marketplace list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin marketplace add Add a marketplace source.
grok plugin marketplace add [OPTIONS] <URL> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--force | boolean | runtime 確認済み | 高影響 | Replace conflicting marketplace state. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin marketplace remove Remove a marketplace source and uninstall its plugins.
grok plugin marketplace remove [OPTIONS] <SOURCE> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok plugin marketplace update Refresh marketplace sources and synchronize their git caches.
grok plugin marketplace update [OPTIONS] [NAME] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
16 sessions 4 Shell コマンド
grok sessions List, search, or delete sessions.
grok sessions [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok sessions list List recent sessions.
grok sessions list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-n, --limit LIMIT | integer | runtime 確認済み | 読み取り専用 | Limit the number of results. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok sessions search Search persisted sessions by keyword.
grok sessions search [OPTIONS] <QUERY> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-n, --limit LIMIT | integer | runtime 確認済み | 読み取り専用 | Limit the number of results. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok sessions delete Permanently delete a session from local history.
grok sessions delete [OPTIONS] <ID> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
17 setup 1 Shell コマンド
grok setup Fetch and install managed configuration.
grok setup [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 要レビュー | Print the served configuration without installing it; review before sharing. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
18 trace 1 Shell コマンド
grok trace Export or upload session trace data.
grok trace [OPTIONS] <SESSION_ID> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--local | boolean | runtime 確認済み | 要レビュー | Save locally and skip remote upload. |
-o, --output OUTPUT | path | runtime 確認済み | 要レビュー | Select the local trace archive path. |
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON status. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
19 update 1 Shell コマンド
grok update Check for updates or install a selected version or channel.
grok update [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--check | boolean | runtime 確認済み | 読み取り専用 | Check without installing. |
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON for an update check. |
--force-reinstall | boolean | runtime 確認済み | 高影響 | Download and reinstall even when already current. |
--version VERSION | string | runtime 確認済み | 高影響 | Install a specific release version. |
--alpha | boolean | runtime 確認済み | 要レビュー | Switch to the faster-moving alpha channel. |
--stable | boolean | runtime 確認済み | 要レビュー | Switch to the stable release channel. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok update --check --json 20 version 1 Shell コマンド
grok version Print detailed version information.
grok version [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok version --json 21 worktree 9 Shell コマンド
grok worktree Manage git worktrees created for sessions.
grok worktree [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree list List tracked worktrees.
grok worktree list [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--repo REPO | path | runtime 確認済み | 読み取り専用 | Filter by repository. |
--type TYPE | string | runtime 確認済み | 読み取り専用 | Filter by worktree type. |
--json | boolean | runtime 確認済み | 読み取り専用 | Emit JSON. |
--all | boolean | runtime 確認済み | 読み取り専用 | Include all tracked worktrees. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree show Show details for one worktree.
grok worktree show [OPTIONS] <ID_OR_PATH> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree rm Remove one or more tracked worktrees.
grok worktree rm [OPTIONS] <IDS>... | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
-f, --force | boolean | runtime 確認済み | 高影響 | Force removal. |
--dry-run | boolean | runtime 確認済み | 読み取り専用 | Show what would be removed. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree rm --dry-run <id> grok worktree gc Garbage-collect orphaned or stale worktrees.
grok worktree gc [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--dry-run | boolean | runtime 確認済み | 読み取り専用 | Show candidates without removing them. |
--max-age MAX_AGE | string | runtime 確認済み | 読み取り専用 | Set the maximum age used for collection. |
-f, --force | boolean | runtime 確認済み | 高影響 | Force garbage collection. |
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree gc --dry-run grok worktree db Maintain the worktree tracking database.
grok worktree db [OPTIONS] <COMMAND> | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree db rebuild Rebuild the tracking database from a filesystem scan.
grok worktree db rebuild [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree db stats Show worktree database statistics.
grok worktree db stats [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok worktree db path Print the worktree database path.
grok worktree db path [OPTIONS] | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
22 wrap 1 Shell コマンド
grok wrap Run a command in a local PTY that forwards OSC 52 clipboard writes.
grok wrap [OPTIONS] <CMD>... | オプション | 型 | 可用性 | リスク | Summary |
|---|---|---|---|---|
--debug | boolean | runtime 確認済み | 要レビュー | Enable debug logging. |
--debug-file FILE | path | runtime 確認済み | 要レビュー | Write debug logs to a file; review logs before sharing them. |
-h, --help | boolean | runtime 確認済み | 読み取り専用 | Print help for this command. |
--leader-socket PATH | path | runtime 確認済み | 読み取り専用 | Use a custom leader socket path. |
grok wrap docker exec -it my-container bash 02 / INTERACTIVE
TUI スラッシュコマンド
対話 token は shell サブコマンドではありません。source のみの項目は preview と表示します。
/new 文書確認済み Start a fresh session.
エイリアス: /clear/resume 文書確認済み Open the session picker.
/dashboard 文書確認済み Open the Agent Dashboard.
エイリアス: /agents-dashboard, /sessions/compact 文書確認済み Compact conversation history with an optional preservation note.
/context 文書確認済み Show context-window usage.
/session-info 文書確認済み Show session, authentication, model, turn, and context metadata.
エイリアス: /status, /info/fork 文書確認済み Branch the current session into a peer agent.
/rewind 文書確認済み Roll back to an earlier turn.
/edit-prompt source preview Open an external editor for the prompt in minimal mode.
/copy 文書確認済み Copy a recent response.
/export 文書確認済み Export the conversation.
/quit 文書確認済み Quit Grok Build.
エイリアス: /exit/help 文書確認済み Browse commands and keyboard shortcuts.
/home 文書確認済み Return to the welcome screen.
エイリアス: /welcome/delete source preview Delete the current session after confirmation.
/rename 文書確認済み Rename the current session.
エイリアス: /title/share 文書確認済み Share the current session through a URL.
/find 文書確認済み Search conversation scrollback.
/transcript 文書確認済み Open the transcript in the configured pager.
/model 文書確認済み Switch the active model.
エイリアス: /m/effort 文書確認済み Set reasoning effort.
/always-approve 文書確認済み Toggle always-approve permission mode.
/auto 文書確認済み Toggle classifier-assisted auto approval when enabled.
/multiline 文書確認済み Toggle multiline prompt entry.
エイリアス: /ml/history source preview Search prompt history.
/compact-mode 文書確認済み Toggle denser rendering.
/vim-mode 文書確認済み Toggle vim-style scrollback navigation.
/minimal source preview Switch to scrollback-native rendering.
/fullscreen source preview Switch to fullscreen rendering.
/plan 文書確認済み Enter plan mode.
/view-plan 文書確認済み Open the saved plan.
エイリアス: /show-plan, /plan-view/memory 文書確認済み Browse or toggle cross-session memory.
エイリアス: /mem/flush 文書確認済み Flush conversation knowledge to memory.
/dream 文書確認済み Run memory consolidation.
/remember 文書確認済み Save a memory note.
/hooks 文書確認済み Open the Hooks extensions tab.
/plugins 文書確認済み Open the Plugins extensions tab.
/marketplace 文書確認済み Open the Marketplace extensions tab.
/skills 文書確認済み Open the Skills extensions tab.
/mcps 文書確認済み Open the MCP extensions tab.
/imagine 文書確認済み Generate an image from a prompt when available.
/imagine-video 文書確認済み Generate a video when available.
/loop 文書確認済み Schedule a recurring prompt.
/goal source preview Start or inspect a goal workflow.
/deep-research source preview Run a deep-research workflow.
/workflow source preview Manage one background workflow.
/workflows source preview Open the workflow run dashboard.
/tasks 文書確認済み List tasks, subagents, and schedules.
/queue 文書確認済み List queued prompts.
/theme 文書確認済み Select the TUI theme.
エイリアス: /t/feedback 文書確認済み Send product feedback.
/btw 文書確認済み Ask a side question without interrupting the main turn.
/doctor source preview Inspect terminal and sandbox support.
エイリアス: /terminal-check, /terminal-info/release-notes 文書確認済み Show release notes.
エイリアス: /changelog/docs source preview Browse bundled or web documentation.
エイリアス: /howto, /guides/tutorial source preview Open the onboarding tutorial.
エイリアス: /tour, /onboarding/import-claude 文書確認済み Open the compatibility-settings import modal.
/config-agents 文書確認済み Manage agent definitions.
エイリアス: /agents/personas 文書確認済み Manage personas.
/login 文書確認済み Sign in.
/logout 文書確認済み Sign out.
/usage 文書確認済み View usage and billing controls.
/privacy 文書確認済み View privacy and retention status.
/settings 文書確認済み Open settings.
エイリアス: /config/timestamps 文書確認済み Toggle message timestamps.
/terminal-setup 文書確認済み Inspect terminal and clipboard support.
03 / PUBLIC SCHEMA
設定スキーマ
公開キー名と値の型だけを掲載し、ローカル値は読み込みません。
| Key | 型 | 既定値 | 可用性 | Summary |
|---|---|---|---|---|
models.default | string | — | 文書確認済み | Default model for new sessions. |
models.web_search | string | — | 文書確認済み | Model used by client-side web search. |
models.default_reasoning_effort | enum: low | medium | high | — | 文書確認済み | Default reasoning effort. |
models.session_summary | string | — | 文書確認済み | Model used for session summaries. |
models.image_description | string | — | 文書確認済み | Model used for image description. |
models.extra_headers | object | — | 文書確認済み | Headers applied to every model. · 機密性 |
models.temperature | number | — | 文書確認済み | Global temperature default. |
models.top_p | number | — | 文書確認済み | Global top-p default. |
models.max_completion_tokens | integer | — | 文書確認済み | Global completion-token limit. |
models.max_retries | integer | — | 文書確認済み | Global inference retry limit. |
models.stream_tool_calls | boolean | — | 文書確認済み | Stream tool-call request content. |
models.allowed_models | array | — | 文書確認済み | Restrict selectable models by glob. |
models.hidden_models | array | — | 文書確認済み | Hide models from the picker. |
models.disabled_models | array | — | 文書確認済み | Remove models from the catalog. |
model.<id>.model | string | — | 文書確認済み | Provider model ID. |
model.<id>.base_url | url | — | 文書確認済み | Provider inference endpoint. |
model.<id>.name | string | — | 文書確認済み | Model-picker label. |
model.<id>.description | string | — | 文書確認済み | Model description. |
model.<id>.api_key | string | — | 文書確認済み | Inline API key; prefer env_key. · 機密性 |
model.<id>.env_key | string | — | 文書確認済み | Name of the environment variable containing the API key. |
model.<id>.api_backend | enum: chat_completions | responses | messages | — | 文書確認済み | Provider protocol. |
model.<id>.temperature | number | — | 文書確認済み | Per-model temperature. |
model.<id>.top_p | number | — | 文書確認済み | Per-model top-p. |
model.<id>.max_completion_tokens | integer | — | 文書確認済み | Per-model completion-token limit. |
model.<id>.context_window | integer | — | 文書確認済み | Context-window size. |
model.<id>.extra_headers | object | — | 文書確認済み | Per-request headers. · 機密性 |
model.<id>.supports_backend_search | boolean | — | 文書確認済み | Whether provider-hosted search is supported. |
model.<id>.supports_reasoning_effort | boolean | — | 文書確認済み | Whether reasoning effort is supported. |
model.<id>.reasoning_effort | enum: low | medium | high | — | 文書確認済み | Per-model reasoning effort. |
model.<id>.stream_tool_calls | boolean | — | 文書確認済み | Per-model tool-call streaming. |
model.<id>.max_retries | integer | — | 文書確認済み | Per-model retry limit. |
model.<id>.inference_idle_timeout_secs | integer | — | 文書確認済み | Inference idle timeout. |
mcp_servers.<name>.command | string | — | 文書確認済み | Executable for a stdio MCP server. |
mcp_servers.<name>.args | array | — | 文書確認済み | Arguments for a stdio MCP server. |
mcp_servers.<name>.env | object | — | 文書確認済み | Environment for a stdio MCP process. · 機密性 |
mcp_servers.<name>.cwd | path | — | 文書確認済み | Working directory for a stdio MCP process. |
mcp_servers.<name>.url | url | — | 文書確認済み | Remote MCP URL. |
mcp_servers.<name>.headers | object | — | 文書確認済み | Remote MCP headers. · 機密性 |
mcp_servers.<name>.bearer_token_env_var | string | — | 文書確認済み | Environment variable used for a bearer token. |
mcp_servers.<name>.enabled | boolean | true | 文書確認済み | Enable the MCP server. |
mcp_servers.<name>.startup_timeout_sec | integer | 30 | 文書確認済み | Startup handshake timeout. |
mcp_servers.<name>.tool_timeout_sec | integer | 6000 | 文書確認済み | Default per-tool timeout. |
mcp_servers.<name>.tool_timeouts | object | — | 文書確認済み | Per-tool timeout overrides. |
tools.respect_gitignore | boolean | false | 文書確認済み | Skip gitignored files in search and read tools. |
toolset.file_toolset | enum: standard | hashline | standard | 文書確認済み | File editing scheme. |
toolset.bash.timeout_secs | integer | 120 | 文書確認済み | Foreground bash timeout. |
toolset.bash.output_byte_limit | integer | 20000 | 文書確認済み | Maximum captured bash output. |
toolset.bash.max_timeout_secs | integer | 36000 | 文書確認済み | Maximum model-requested bash timeout. |
toolset.bash.auto_background_on_timeout | boolean | true | 文書確認済み | Background commands that exceed the foreground timeout. |
toolset.web_fetch.proxy_endpoint | url | — | 文書確認済み | Egress proxy for web_fetch. |
toolset.web_fetch.allowed_domains | array | — | 文書確認済み | Domain allowlist for web_fetch. |
sandbox.profile | enum: off | workspace | devbox | read-only | strict | off | 文書確認済み | Active sandbox profile. |
sandbox.auto_allow_bash | boolean | false | 文書確認済み | Skip bash prompts inside an active sandbox. |
sandbox.toml.profiles.<name>.extends | enum: workspace | devbox | read-only | strict | workspace | 文書確認済み | Built-in profile inherited by a custom profile. |
sandbox.toml.profiles.<name>.restrict_network | boolean | — | 文書確認済み | Restrict network access. |
sandbox.toml.profiles.<name>.read_only | array | — | 文書確認済み | Additional read-only paths. |
sandbox.toml.profiles.<name>.read_write | array | — | 文書確認済み | Additional writable paths. |
sandbox.toml.profiles.<name>.deny | array | — | 文書確認済み | Kernel-enforced denied paths or globs. · 機密性 |
session.auto_compact_threshold_percent | integer | 85 | 文書確認済み | Context percentage that triggers automatic compaction. |
session.load_envrc | boolean | true | 文書確認済み | Inject .envrc variables into bash. · 機密性 |
cli.auto_update | boolean | true | 文書確認済み | Check for updates on launch. |
cli.channel | enum: stable | alpha | stable | 文書確認済み | Release channel. |
cli.show_tips | boolean | — | 文書確認済み | Show startup tips. |
hints.new_session_worktree_mode | enum: ask | always | never | never | 文書確認済み | Whether /new offers a worktree. |
hints.fork_worktree_mode | enum: ask | always | never | ask | 文書確認済み | Whether /fork offers a worktree. |
ui.compact_mode | boolean | false | 文書確認済み | Use denser message padding. |
ui.screen_mode | enum: fullscreen | minimal | fullscreen | 文書確認済み | Default TUI render mode. |
ui.show_timestamps | boolean | true | 文書確認済み | Show message timestamps. |
ui.show_timeline | boolean | false | 文書確認済み | Show a per-turn timeline. |
ui.page_flip_on_send | boolean | true | 文書確認済み | Move the sent prompt to the top of the viewport. |
ui.max_thoughts_width | integer | 120 | 文書確認済み | Maximum thoughts-panel width. |
ui.combine_queued_prompts | boolean | false | 文書確認済み | Merge consecutive queued prompts. |
ui.theme | string | — | 文書確認済み | Color theme. |
ui.auto_dark_theme | string | groknight | 文書確認済み | Theme used for dark system appearance. |
ui.auto_light_theme | string | grokday | 文書確認済み | Theme used for light system appearance. |
ui.simple_mode | boolean | true | 文書確認済み | Use readline prompt editing. |
ui.vim_mode | boolean | false | 文書確認済み | Use vim keys in scrollback. |
ui.prompt_suggestions | boolean | true | 文書確認済み | Show next-prompt suggestions. |
ui.mouse_reporting_toggle | boolean | false | 文書確認済み | Allow Ctrl+R to toggle terminal mouse capture. |
ui.keep_text_selection | enum: flash | hold | word_select | flash | 文書確認済み | In-app selection behavior. |
ui.cursor_blink | boolean | — | 文書確認済み | Override terminal cursor blinking. |
ui.show_thinking_blocks | boolean | true | 文書確認済み | Show reasoning blocks. |
ui.group_tool_verbs | boolean | true | 文書確認済み | Fold consecutive read/search/list rows. |
ui.collapsed_edit_blocks | boolean | false | 文書確認済み | Collapse edit blocks. |
ui.render_mermaid | enum: auto | on | off | auto | 文書確認済み | Mermaid rendering mode. |
ui.scroll_speed | integer | 50 | 文書確認済み | Mouse and trackpad scroll speed. |
ui.scroll_mode | enum: auto | wheel | trackpad | auto | 文書確認済み | Scroll-input interpretation. |
ui.scroll_lines | integer | — | 文書確認済み | Lines per scroll event. |
ui.invert_scroll | boolean | false | 文書確認済み | Invert vertical scrolling. |
ui.permission_mode | enum: default | ask | auto | always-approve | default | 文書確認済み | Default permission mode. |
ui.default_selected_permission | enum: always_allow_all_sessions | allow_command_always | allow_once | reject | always_allow_all_sessions | 文書確認済み | Initially selected permission response. |
ui.remember_tool_approvals | boolean | false | 文書確認済み | Show persistent per-tool approval choices. |
ui.cancel_subagents_on_turn_cancel | enum: ask | always_stop | always_continue | ask | 文書確認済み | Policy for running subagents when cancelling a turn. |
ui.hunk_tracker_mode | enum: agent_only | all_dirty | off | agent_only | 文書確認済み | File-change hunk tracking mode. |
ui.fork_secondary_model | string | — | 文書確認済み | Model used by the secondary fork agent. |
ui.voice_keybind_enabled | boolean | true | 文書確認済み | Enable the voice key binding. |
ui.voice_capture_mode | enum: hold | toggle | hold | 文書確認済み | Voice capture interaction. |
ui.voice_stt_language | string | — | 文書確認済み | Speech-to-text language. |
ui.display_refresh.auto_cadence_enabled | boolean | false | 文書確認済み | Match animation cadence to display refresh. |
ui.contextual_hints.undo | boolean | true | 文書確認済み | Show the undo hint. |
ui.contextual_hints.plan_mode | boolean | true | 文書確認済み | Show the plan-mode hint. |
ui.contextual_hints.image_input | boolean | true | 文書確認済み | Show the image-input hint. |
ui.contextual_hints.send_now | boolean | true | 文書確認済み | Show the queued prompt send-now hint. |
ui.contextual_hints.small_screen | boolean | true | 文書確認済み | Show the compact-mode hint. |
ui.contextual_hints.word_select | boolean | true | 文書確認済み | Show the word-selection hint. |
ui.contextual_hints.ssh_wrap | boolean | true | 文書確認済み | Recommend grok wrap when SSH clipboard integration is unavailable. |
permission.allow | array | — | 文書確認済み | Compact allow rules. · 機密性 |
permission.deny | array | — | 文書確認済み | Compact deny rules. · 機密性 |
permission.ask | array | — | 文書確認済み | Compact ask rules. · 機密性 |
permission.rules | array | — | 文書確認済み | Structured allow, deny, and ask rules. · 機密性 |
features.web_fetch | boolean | — | 文書確認済み | Enable web_fetch. |
features.lsp_tools | boolean | false | 文書確認済み | Enable LSP tools. |
features.write_file | boolean | true | 文書確認済み | Enable the write tool. |
features.tool_search | boolean | true | 文書確認済み | Enable MCP tool discovery. |
subagents.enabled | boolean | — | 文書確認済み | Enable subagents. |
subagents.toggle | object | — | 文書確認済み | Enable or disable named subagent types. |
subagents.models | object | — | 文書確認済み | Select a model for each subagent type. |
memory.enabled | boolean | false | 文書確認済み | Enable cross-session memory. · 機密性 |
skills.paths | array | — | 文書確認済み | Additional skill directories. |
skills.disabled | array | — | 文書確認済み | Discovered skills that must not activate. |
plugins.paths | array | — | 文書確認済み | Additional plugin directories. · 機密性 |
plugins.disabled | array | — | 文書確認済み | Plugins that must not activate. |
plugins.enabled | array | — | 文書確認済み | Explicitly enabled plugins. · 機密性 |
compat.cursor.skills | boolean | true | 文書確認済み | Scan cursor skills. · 機密性 |
compat.cursor.rules | boolean | true | 文書確認済み | Scan cursor rules. · 機密性 |
compat.cursor.agents | boolean | true | 文書確認済み | Scan cursor agents. · 機密性 |
compat.cursor.mcps | boolean | true | 文書確認済み | Scan cursor mcps. · 機密性 |
compat.cursor.hooks | boolean | true | 文書確認済み | Scan cursor hooks. · 機密性 |
compat.claude.skills | boolean | true | 文書確認済み | Scan claude skills. · 機密性 |
compat.claude.rules | boolean | true | 文書確認済み | Scan claude rules. · 機密性 |
compat.claude.agents | boolean | true | 文書確認済み | Scan claude agents. · 機密性 |
compat.claude.mcps | boolean | true | 文書確認済み | Scan claude mcps. · 機密性 |
compat.claude.hooks | boolean | true | 文書確認済み | Scan claude hooks. · 機密性 |
dashboard.enabled | boolean | — | source preview | Enable the Agent Dashboard. |
terminal.alt_screen | boolean | — | source preview | Allow alternate-screen rendering. |
mcp.max_output_bytes | integer | — | source preview | Project-scoped MCP tool-result size cap. |
04 / NAMES, NEVER VALUES
環境変数名
名前と用途のみ。資格情報を含み得る変数は明記し、値は一切読みません。
| Name | 機密性 | 可用性 | Summary |
|---|---|---|---|
GROK_HOME | なし | 文書確認済み | Override the Grok home directory. |
XAI_API_KEY | あり | 文書確認済み | Authenticate a headless or API-key session. |
GROK_DEFAULT_MODEL | なし | 文書確認済み | Override the default model. |
GROK_WEB_SEARCH_MODEL | なし | 文書確認済み | Override the web-search model. |
GROK_MODELS_BASE_URL | なし | 文書確認済み | Override the inference base URL. |
GROK_MODELS_LIST_URL | なし | 文書確認済み | Override the model-list URL. |
GROK_XAI_API_BASE_URL | なし | 文書確認済み | Override the xAI API base URL. |
GROK_DISABLE_AUTOUPDATER | なし | 文書確認済み | Suppress the process auto-updater. |
GROK_SANDBOX | なし | 文書確認済み | Select a sandbox profile. |
GROK_SANDBOX_AUTO_ALLOW_BASH | なし | 文書確認済み | Auto-allow bash inside an active sandbox. |
GROK_RESPECT_GITIGNORE | なし | 文書確認済み | Override gitignore handling for read and search tools. |
GROK_WEB_FETCH | なし | 文書確認済み | Enable web_fetch. |
GROK_WEB_FETCH_PROXY | なし | 文書確認済み | Set the web_fetch egress proxy. |
GROK_MEMORY | あり | 文書確認済み | Enable cross-session memory. |
GROK_SUBAGENTS | なし | 文書確認済み | Enable subagents. |
GROK_AGENT | なし | 文書確認済み | Select an agent name or definition path. |
GROK_WRITE_FILE | なし | 文書確認済み | Enable or disable the write tool. |
GROK_TOOL_SEARCH | なし | 文書確認済み | Enable MCP tool discovery. |
GROK_LSP_TOOLS | なし | 文書確認済み | Enable LSP tools. |
GROK_THEME | なし | 文書確認済み | Select the theme. |
GROK_SHOW_THINKING_BLOCKS | あり | 文書確認済み | Show or hide reasoning blocks. |
GROK_GROUP_TOOL_VERBS | なし | 文書確認済み | Group consecutive tool rows. |
GROK_COLLAPSED_EDIT_BLOCKS | なし | 文書確認済み | Collapse edit blocks. |
GROK_PROMPT_SUGGESTIONS | なし | 文書確認済み | Enable prompt suggestions. |
GROK_SCROLL_SPEED | なし | 文書確認済み | Set scroll speed. |
GROK_SCROLL_MODE | なし | 文書確認済み | Set scroll-input interpretation. |
GROK_SCROLL_LINES | なし | 文書確認済み | Set lines per scroll event. |
GROK_INVERT_SCROLL | なし | 文書確認済み | Invert vertical scrolling. |
GROK_DEFAULT_SELECTED_PERMISSION | なし | 文書確認済み | Select the initial permission response. |
GROK_REMEMBER_TOOL_APPROVALS | なし | 文書確認済み | Show persistent approval choices. |
GROK_MOUSE_REPORTING_TOGGLE | なし | 文書確認済み | Enable the mouse-reporting toggle. |
GROK_DISPLAY_REFRESH_AUTO_CADENCE | なし | 文書確認済み | Match UI cadence to display refresh. |
GROK_MCP_STARTUP_TIMEOUT_SECS | なし | 文書確認済み | Set the MCP startup timeout in seconds. |
MCP_TIMEOUT | なし | 文書確認済み | Set the compatibility MCP timeout in milliseconds. |
GROK_LOG_FILE | あり | 文書確認済み | Write logs to a selected path. |
RUST_LOG | あり | 文書確認済み | Set the runtime log filter. |
GROK_CRASH_HANDLER | あり | 文書確認済み | Write crash reports under GROK_HOME. |
HTTPS_PROXY | なし | 文書確認済み | Set the HTTPS proxy. |
HTTP_PROXY | なし | 文書確認済み | Set the HTTP proxy. |
NO_PROXY | なし | 文書確認済み | Set proxy bypass hosts. |
GROK_CURSOR_SKILLS_ENABLED | なし | 文書確認済み | Enable the cursor skills compatibility scanner. |
GROK_CURSOR_RULES_ENABLED | なし | 文書確認済み | Enable the cursor rules compatibility scanner. |
GROK_CURSOR_AGENTS_ENABLED | なし | 文書確認済み | Enable the cursor agents compatibility scanner. |
GROK_CURSOR_MCPS_ENABLED | なし | 文書確認済み | Enable the cursor mcps compatibility scanner. |
GROK_CURSOR_HOOKS_ENABLED | なし | 文書確認済み | Enable the cursor hooks compatibility scanner. |
GROK_CLAUDE_SKILLS_ENABLED | なし | 文書確認済み | Enable the claude skills compatibility scanner. |
GROK_CLAUDE_RULES_ENABLED | なし | 文書確認済み | Enable the claude rules compatibility scanner. |
GROK_CLAUDE_AGENTS_ENABLED | なし | 文書確認済み | Enable the claude agents compatibility scanner. |
GROK_CLAUDE_MCPS_ENABLED | なし | 文書確認済み | Enable the claude mcps compatibility scanner. |
GROK_CLAUDE_HOOKS_ENABLED | なし | 文書確認済み | Enable the claude hooks compatibility scanner. |
GROK_AGENT_SECRET | あり | runtime 確認済み | Authenticate clients of grok agent serve. |
GROK_AUTH_PROVIDER_COMMAND | なし | source preview | Select an external authentication helper. |
GROK_AUTH_PROVIDER_LABEL | なし | source preview | Label the external authentication provider. |
GROK_AUTH_TOKEN_TTL | なし | source preview | Set external token lifetime. |
GROK_AUTH_EARLY_INVALIDATION_SECS | なし | source preview | Refresh an external token before expiry. |
GROK_OIDC_ISSUER | なし | source preview | Set the OIDC issuer. |
GROK_OIDC_CLIENT_ID | なし | source preview | Set the OIDC client ID. |
GROK_CLI_CHAT_PROXY_BASE_URL | なし | source preview | Override the CLI chat proxy. |
GROK_WORKFLOWS | なし | source preview | Enable background workflows. |
GROK_WEB_FETCH_ALLOW_LOCAL | なし | source preview | Permit explicit loopback web_fetch targets. |
GROK_TELEMETRY_ENABLED | なし | source preview | Enable telemetry. |
GROK_TELEMETRY_TRACE_UPLOAD | なし | source preview | Enable trace upload. |
GROK_TELEMETRY_MIXPANEL_ENABLED | なし | source preview | Enable Mixpanel telemetry. |
GROK_EXTERNAL_OTEL | なし | source preview | Configure external OpenTelemetry export. |
GROK_FEEDBACK_ENABLED | なし | source preview | Enable the feedback system. |
GROK_DEPLOYMENT_KEY | あり | source preview | Authenticate managed configuration setup. |
GROK_AGENT_DASHBOARD | なし | source preview | Enable the Agent Dashboard. |
05 / RUNBOOKS
運用ワークフロー
同じ manifest のエンティティから組み立てた手順です。変更やネットワーク公開を伴う操作にはレビュー境界があります。
Run one bounded prompt
Use -p/--single with a machine-readable format and an explicit turn cap.
- Run a bounded prompt
grok -p "Summarize the changes" --output-format json --max-turns 4The released CLI prints one JSON result and exits.
要レビュー
Embed Grok through ACP
Use the stdio agent transport for an ACP-capable editor or host.
- Start the ACP endpoint
grok agent stdioThe process speaks ACP over standard input and output.
要レビュー
Run a headless relay or WebSocket server
Choose relay headless mode or a locally bound authenticated WebSocket server.
- Prefer loopback binding
grok agent serve --bind 127.0.0.1:2419Let Grok generate a secret and do not publish it in logs.
高影響
Add and diagnose an MCP server
Add the server at an explicit scope, list it, then run doctor.
- Add a project server
grok mcp add --scope project filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/dirProject scope writes .grok/config.toml; review the command and allowed directory.
高影響 - Diagnose
grok mcp doctor --jsonUse machine-readable diagnostics without exposing resolved secrets.
要レビュー
Inspect before installing a plugin
List sources, validate the plugin, and avoid immediate trust until its code is reviewed.
- Inspect available plugins
grok plugin marketplace list --jsonReview the source and capabilities before installation.
要レビュー - Validate a local checkout
grok plugin validate /path/to/pluginValidation is not a security review, but catches structural problems.
要レビュー
Find and resume a session
Search local session metadata, then resume by an unambiguous ID or title.
- Search persisted sessions
grok sessions search "migration" --limit 10Search may expose session titles; review captured output before sharing.
要レビュー - Resume
grok --resume <session-id>Use --fork-session when the original session must remain unchanged.
要レビュー
Review worktrees before cleanup
List and inspect worktrees, then perform a dry-run before removal or garbage collection.
- List worktrees
grok worktree list --jsonConfirm repository and worktree state.
読み取り専用 - Preview cleanup
grok worktree gc --dry-runDo not use --force until dirty and unpushed work has been reviewed.
要レビュー
Diagnose before applying fixes
Capture diagnostics first, then review each automatic fix.
- Collect diagnostics
grok doctor --jsonKeep paths and environment-derived details out of public bug reports.
要レビュー - Review available fixes
grok doctor fixAvoid --yes until the proposed local changes are understood.
要レビュー
Use source-preview TUI workflows conservatively
The public source guide documents /workflow and /workflows, but they are not release-confirmed shell commands.
- Inspect workflow help in the TUI
/workflow helpAvailability depends on feature and release state; do not invoke it as grok workflow.
要レビュー
FIELD MANUAL
フラグ一覧より運用モデルが必要ですか?
完全ガイドでは単発プロンプト、transport、MCP、plugin、session、worktree、診断、設定、TUI を一本につなぎます。
06 / PROVENANCE
証拠台帳
- 01 Grok Build 1.0.0 recursive help runtime-help / release / 1.0.0 / 2026-08-10
- 02 Grok Build CLI reference and headless guide official-docs / reference / reference / 2026-07-31
- 03 Grok Build settings reference official-docs / reference / reference / 2026-07-31
- 04 Grok Build modes and commands official-docs / reference / reference / 2026-07-31
- 05 Grok Build source-preview Clap definitions official-source / preview / 500129c714ad / 2026-07-31
- 06 Grok Build source-preview TUI user guide official-source / preview / 500129c714ad / 2026-07-31