Grok WorldGrok Build CLI field station

TERMINAL + MONTHLY ARCHIVE

Grok Build 野戰手冊

18 份 CLI 手冊與 6 篇 API 指南,現在接上 32 期回顧檔案,涵蓋 API contract、agentic tool、realtime media 與 Grok Build operation。

CHANNEL18 CLI + 06 API + 32 MONTHLY
來源核對日期2026-07-31
ORIGINOFFICIAL DOCS / PRIMARY

PRIMARY TRACK / GROK BUILD

完整 CLI 課程

依序完成 01–18:終端、repository 規則、安全邊界、平行工作、extensions、bounded output、設定、sessions、worktrees 與 maintenance。

MODULE / 01

基礎建置

MODULE / 02

Repository 上下文

MODULE / 03

受控執行

MODULE / 04

Session 操作

MODULE / 05

平行工程

MODULE / 06

擴充系統

MODULE / 07

自動化

MODULE / 08

有界自動化

MODULE / 09

設定控制

MODULE / 10

Agent 組合

MODULE / 11

Repository 隔離

MODULE / 12

CLI 維護

COMPANION ARCHIVE / API

Companion archive / xAI API

A01–A06 保留給 API application builders,不列入 18 份 Grok Build CLI curriculum。

月度訊號檔案 / 32 期

三十二期回顧式工程訊號。

從 API contract、agentic tool,一路到 realtime media 與 Grok Build operation 的官方來源路線。

SIGNALS
32
RANGE
24—26
LANG
03
2024

SIGNAL BANK / SOURCE-CHECKED

12 ISSUES

  1. 2024 / 01 API

    建立單一 xAI API 邊界

    把 authentication、request ID、timeout、normalized error 與 model configuration 集中在 server-owned adapter。

    開啟本期
  2. 2024 / 02 TEXT

    把 text generation 當成 typed product contract

    定義 instruction、user input、expected output、terminal state 與 retention,不要把 raw completion 暴露到整個 app。

    開啟本期
  3. 2024 / 03 PROMPTS

    分開 instruction 與 user data

    版本化 durable behavior、分隔 untrusted input,並指定 acceptance format,讓 prompt change 可 review。

    開啟本期
  4. 2024 / 04 STREAM

    用 state machine 呈現 streaming

    把 start、typed delta、tool activity、completion、cancellation 與 failure 建成獨立 state,而非只累加文字。

    開啟本期
  5. 2024 / 05 REASONING

    依 workload 配置 reasoning budget

    讓 simple extraction、interactive work 與 deep analysis 各有不同 latency、quality 與 cost profile。

    開啟本期
  6. 2024 / 06 TOOLS

    替 custom function 設定窄 schema

    讓 model 只提出 call request,由已驗證 application code 驗證 argument、執行並回傳 typed result。

    開啟本期
  7. 2024 / 07 TOOLS

    只平行執行獨立 tool call

    Tool scheduler 應辨識 dependency、ownership、idempotency、timeout,以及多個 result 如何回到 model loop。

    開啟本期
  8. 2024 / 08 DATA

    讓 schema 成為 machine contract

    Structured output 能移除一類 parsing 歧義,但 value 是否可接受仍由 domain validation 決定。

    開啟本期
  9. 2024 / 09 VISION

    把 image 當成有限證據

    保存 original asset、定義 allowed observation,並把 visual extraction 與高影響 decision 分開。

    開啟本期
  10. 2024 / 10 MODELS

    依 capability profile 路由

    描述 modality、tool support、latency、quality、context 與 budget,再由 configuration 對應 current model。

    開啟本期
  11. 2024 / 11 RELIABILITY

    把 rate limit 變成 admission control

    依 user 與 workload 做 queue、budget、shed 與 retry,不讓所有 request 在 provider edge 碰撞。

    開啟本期
  12. 2024 / 12 CHANGE

    維護 release 與 deprecation ledger

    替每個 volatile dependency 記錄 source date、active assumption、pinned identifier、migration owner、test 與 rollback。

    開啟本期
2025

SIGNAL BANK / SOURCE-CHECKED

12 ISSUES

  1. 2025 / 01 PERFORMANCE

    替 prompt caching 設計 stable prefix

    讓 durable instruction 與 reusable context 保持穩定,volatile user data 放在 request 後段。

    開啟本期
  2. 2025 / 02 ASYNC

    把 deferred work 表示成 job

    保存 request identifier、explicit status、expiry、cancellation、idempotent retrieval 與可見 terminal result。

    開啟本期
  3. 2025 / 03 BATCH

    對帳每個 batch item

    使用 immutable input manifest、stable custom ID、per-item status、bounded replay 與明確 partial-result policy。

    開啟本期
  4. 2025 / 04 FILES

    替 uploaded file 建立 lifecycle

    追蹤 owner、purpose、content type、processing state、retention、expiry、derived index 與 deletion。

    開啟本期
  5. 2025 / 05 RAG

    Retrieval 前先治理 collection

    Document ownership、metadata、access filter、processing status、freshness、citation 與 deletion 都是 retrieval product 的一部分。

    開啟本期
  6. 2025 / 06 SEARCH

    把 web search 當成即時引用證據

    保存 source URL、區分 retrieval time 與 event time,並把 citation 放在支持的 claim 附近。

    開啟本期
  7. 2025 / 07 SEARCH

    把 social search 當成 volatile signal

    分開 post、user、thread、timestamp、engagement 與 model synthesis,避免介面隱藏來源 context。

    開啟本期
  8. 2025 / 08 COMPUTE

    把 code execution 當成 disposable compute

    送入 bounded input、要求 named artifact,並在 execution environment 外驗證 calculation。

    開啟本期
  9. 2025 / 09 EVIDENCE

    分開保存 all citation 與 inline citation

    保留完整 source ledger 供 audit,同時在 reader 需要的位置 render claim-level link。

    開啟本期
  10. 2025 / 10 IMAGINE

    讓 generated image 通過 asset pipeline

    分開 prompt intent、generation、moderation state、storage、metadata、transformation 與 human acceptance。

    開啟本期
  11. 2025 / 11 IMAGINE

    把 video generation 當成 async media job

    以 durable job metadata 建立 queued、generating、moderated、uploaded、accepted、failed、expired 與 cancelled state。

    開啟本期
  12. 2025 / 12 AGENTIC

    用單一 controller 混合 server/client tool

    Controller 區分自動執行的 server tool,以及需暫停等待已驗證 application work 的 client function。

    開啟本期
2026

SIGNAL BANK / SOURCE-CHECKED

08 ISSUES

  1. 2026 / 01 RESPONSES

    以 Responses 處理 stateful agentic work

    Typed output item 與 native server tool 讓 message、reasoning、search、code 與 function call 在單一 request contract 中可觀察。

    開啟本期
  2. 2026 / 02 VOICE

    把 voice 設計成 live session

    Transport、ephemeral access、turn detection、interruption、tool、reconnect 與 playback state 共同定義體驗。

    開啟本期
  3. 2026 / 03 GROK BUILD

    在已知 repository 內啟動 Grok Build

    編輯前確認 installation、authentication、working directory、repository state、task 與 verification。

    開啟本期
  4. 2026 / 04 GROK BUILD

    信任 configuration 前先 inspect

    Environment、user、project、managed 與 requirements scope 都可能提供 setting;current directory 的 effective state 必須可見。

    開啟本期
  5. 2026 / 05 GROK BUILD

    分開 permission 與 sandbox enforcement

    Permission 決定 call 能否執行;sandbox 在 call 獲准後限制 filesystem/network impact。

    開啟本期
  6. 2026 / 06 GROK BUILD

    用窄 trust contract 連接 MCP server

    記錄 server identity、transport、authentication、tool namespace、enabled tool、approval 與 diagnostic behavior。

    開啟本期
  7. 2026 / 07 GROK BUILD

    用 Skills 封裝方法,用 subagent 隔離工作

    Skill 帶 reusable instruction/resource;plugin 封裝 extension;hook 觀察 lifecycle;subagent 擁有獨立 task。

    開啟本期
  8. 2026 / 08 GROK BUILD

    用 session 與 isolated worktree 操作 headless work

    Headless run 需要 fixed task、bounded permission mode、machine-readable output、session identity、isolated write 與 cleanup ownership。

    開啟本期