第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) ↩︎