第5章 計劃·定時·瀏覽器·目標 — 用斜槓命令把事情交出去
選讀 需要的時候再讀。跳過也能跟上後面的章節。一句話總結:
/plan是修改之前先做計劃,/schedule是只在這場對話裡執行的定時器,要跨對話持續執行的定時是 Automations。/browser會操作 Chrome 來做網頁上的事,/goal在完成之前不會停下來。這兩個都可能消耗很多用量。
本指南還沒有在應用介面上實際練習過。和你的介面不同時,以你的介面為準。[1]
先要計劃 — /plan
普通的請求會直接開始修改檔案。用了 /plan,它會先瀏覽資料夾,把需要決定的點整理出來給你看。[2] 如果計劃沒問題,就點 Proceed 轉入執行。[3]
/plan 我想在會議紀要·學習總結·每週回顧的模板裡加一個「撰寫日期」欄。先只給我看需要改什麼的計劃。如果需求還很模糊,/grill-me 會有幫助。開始之前,它會一次問一個問題,並附上推薦答案。[4] 這相當於由工具透過提問,替你引出你想要的是什麼(和 Claude Code 第5章的「怎樣把事情交代好」是同一個思路)。
理解檢查
用 /plan 和普通請求有什麼不同?
定時 — /schedule 和 Automations
Antigravity 裡的定時有兩種。
/schedule | Automations | |
|---|---|---|
| 所在位置 | 建立它的對話裡 | 對話之外(應用側邊欄) |
| 持續多久 | 在那場對話期間 | 重新開啟應用也保留 |
| 每次 | 喚醒同一場對話 | 以新對話開始 |
出處:Antigravity 官方文件(僅摘錄一部分)[5]
/schedule 可以建立只響一次的定時器或重複的日程,並且在等待期間不會堵住對話。[6] 但它屬於那場對話,所以像每週五的每週回顧這樣要持續執行的事,要用 Automations。[7]
Automations 會在我不在的時候,也按設好的日程向代理傳送訊息。[8] 在應用側邊欄的 Automations 裡開啟。
建立的方法和測試的方法是分開的。[9]
- Create with Prompt:建立新定時的方法。代理會陪你一步步完成設定。
- Run Now:把已經建好的定時立刻執行一次來測試的功能。
比如,在 Create with Prompt 裡這樣說說看:「每週五下午用 inbox 裡的回顧備忘做每週回顧,儲存到 notes」。
按這個順序做比較穩妥。
- 先在平時的對話裡把同樣的請求跑一遍。
- 建好定時後,用 Run Now 試一次。
- 結果沒問題,就保留這個日程。
代理工作期間,會阻止電腦進入睡眠。[10] 但是,應用關著或電腦睡眠期間 Automations 還會不會執行,官方文件裡沒有寫。 把應用開著、讓電腦保持喚醒會更穩妥(本指南的建議,和 Claude Code·Codex 的桌面定時一樣)。
詳細說明(點選展開)
理解檢查
想讓每週五的每週回顧跨越對話持續執行。該用什麼?
瀏覽器與目標 — /browser·/goal
/browser 會把網頁上的事交給瀏覽器專職子代理。子代理(Subagent)是主代理分出工作交給它做的輔助代理。這個子代理會操作 Google Chrome 來開啟頁面、點選、截圖。[13] 瀏覽器會話都會被錄成影片,留在成果裡。[14] 在頁面裡執行指令碼的操作,預設會詢問許可。[15]
/goal 會讓它在達成目標之前,中途不停地工作。[16] 它沒有重複次數的上限,會一直執行,直到它判斷做完了,或者我讓它停下。[17] 相應地可能消耗很多用量,所以請把**「做完了」的標準寫清楚。** 例如:
/goal 把 inbox 裡的 6 份備忘全部按模板整理到 notes。完成標準:每份備忘都有一個結果檔案,每個檔案最下面有「與原件核對的事項」一節。目標模式只改變停下的方式。 許可權和稽核設定不變,所以平時會詢問許可的事,仍然會問。[18]
理解檢查
使用 /goal 時,這份指南建議怎麼做?
在其他裝置上接著看
整理工具的練習用不到這個功能。只有想在手機或別的電腦上接著看時再讀。
在應用的 Settings → Application → Enable Remote Control 裡開啟,就可以在其他裝置的網頁瀏覽器裡操控我電腦上的 Antigravity。[19][20] 在其他裝置上,也要用和桌面端相同的 Google 帳號登入。[21]
即使遠端使用,事情也是用我電腦裡的檔案·工具·登入資訊來做的。[22] 雖然方便,但遠端操控只請在可信的裝置上開啟。
理解檢查
用 Remote Control 從其他裝置操控時,實際的工作在哪裡進行?
親手試一試
- 用
/plan只拿上面「撰寫日期」欄的計劃,在點 Proceed 之前讀一讀計劃。 - 開啟側邊欄的 Automations 看一看(不建立也可以)。
- 如果要建立定時,先用平時的對話和 Run Now 試一試。
- 如果用
/goal,要把「完成標準」一起寫上。
連續任務:在第6章裡,我們用終端的 agy 來確認同一個整理工具,並看看本指南實際遇到過的陷阱。
小結
/plan先做計劃,/grill-me一次問一個問題,把需求引出來。/schedule只在那場對話裡;要持續執行的事用 Automations。- Automations 在應用關著時還會不會執行,文件裡沒有寫。把應用開著、讓電腦保持喚醒更穩妥。
/browser會操作 Chrome 並錄影。/goal不會停,所以要給它完成標準。- 遠端操控用同一個帳號,事情在我的電腦上做。
術語整理
| 術語 | 中文名稱 | 一句話解釋 |
|---|---|---|
| Automations | 自動化任務 | 跨對話持續執行的定時 |
| Subagent | 子代理 | 主代理把事情分出去交給它的輔助代理 |
| Remote Control | 遠端控制 | 在其他裝置上操控我電腦上的 Antigravity |
這一章讀完了嗎?
學習記錄只儲存在這個瀏覽器中。整體進度可以在 全部目錄中檢視。
下一章:第6章. 在終端裡使用
參考資料(22 則)
這一章依據 2026年11月1日確認的 Antigravity 官方文件編寫。本指南還沒有在應用介面上實際練習過。也沒有真正儲存定時。因為會暴露實際的工作內容,而且會消耗用量(和 Claude Code 第8章是同樣的原因)。 ↩︎
Antigravity 官方文件,《Plan (/plan)》。"While standard prompts immediately begin modifying files,
/planintroduces an intentional planning phase that explores the workspace, identifies dependencies, and surfaces architectural decisions for your review." antigravity.google (確認日期 2026-11-01) ↩︎Antigravity 官方文件,《Plan (/plan)》。"Proceed: Click Proceed to transition the agent into execution mode." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Slash commands overview》。"The agent asks one question at a time and recommends an answer for each." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Schedule command (/schedule)》。"| Lifetime | Current conversation | Persists across sessions and restarts |" / "| Context | Wakes the existing agent with its full conversation history | Starts a fresh agent conversation on each run |" antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Schedule command (/schedule)》。"Set a one-time timer or a recurring cron schedule that wakes the agent with an instruction, without blocking the conversation while it waits." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Schedule command (/schedule)》。"Conversation-scoped: timers and schedules belong to the conversation that created them. For standing jobs that outlive a session, use a persistent sidecar or Automation instead." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"Automations (previously called scheduled tasks) let you plan ahead with your projects by sending messages to your agents on a schedule, even while you’re away." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"Run on demand: Run an automation right away with Run Now from its menu, or select Create with Prompt to have the agent walk you through setting up a new one." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《FAQ》。"If an agent is running, Antigravity prevents your computer from sleeping." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"Model tier: Each automation runs on the model tier you choose: Flash Lite, Flash (the default), or Pro." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"Antigravity spreads them out by up to 10% of the interval, and by no more than 15 minutes." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Browser command (/browser)》。"Hand a web task to the
browsersubagent, which drives Google Chrome to navigate pages, interact with your running app, inspect the console and network, and capture screenshots and recordings." antigravity.google (確認日期 2026-11-01) ↩︎Antigravity 官方文件,《Browser command (/browser)》。"Recorded sessions: every browser session is recorded and saved to the conversation’s artifacts as a WebM video." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Browser command (/browser)》。"Running JavaScript in the page (
evaluate_script) prompts for your approval by default." antigravity.google (確認日期 2026-11-01) ↩︎Antigravity 官方文件,《Goal command (/goal)》。"The agent keeps working, verifying, and fixing until it’s confident the goal is completely fulfilled, instead of yielding back to you after each intermediate step." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Goal command (/goal)》。"Runs until done or cancelled: there’s no iteration cap." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Goal command (/goal)》。"Goal mode changes only the agent’s stopping behavior. It doesn’t change your tool permissions or artifact review policies, so any approvals you’d normally be asked for still apply." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"In Settings, open Application and turn on Enable Remote Control." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Remote Control》。"Antigravity Remote Control allows you to securely connect to and drive your Antigravity desktop sessions and CLI instances running across your machines from any web browser." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Remote Control》。"Sign in with the same Google Account that you used on your desktop application." antigravity.google (確認日期 2026-11-01) ↩︎
Antigravity 官方文件,《Antigravity features》。"Keep your local setup: Agents keep full access to your workstation’s files, toolchains, credentials, and Git worktrees, without a separate environment." antigravity.google (確認日期 2026-11-01) ↩︎