六条规则提示词:让智能体合规使用 Antigravity
被 Antigravity 条款和封号风险搞烦了的开发者可以直接抄这个提示词。它把 OAuth 登录、二进制修改、URL 伪造这些容易踩坑的点写成了智能体的硬约束,比自己去读 TOS 再反复检查省事。适合用 Cursor、Claude Code 等工具自动化配置 Antigravity 的人。
一条在 X 上流传的提示词模板,核心是用六条硬性规则约束智能体去下载和使用 Google 的 Antigravity 编程工具,避免违反服务条款。
规则包括:不使用旧版 OMP、不代理 OAuth 登录(遇到登录必须停下来让用户本人点击)、不使用修改过的 ACP、不修改 harness 或二进制文件、不调用内部 API、不伪造 URL。模板还内置了处理模糊情况的元规则:不确定是否合规即视为不合规,确认合规仍需再确认一次,反复追问则回到第一条重读。
Joel Grus 在转发中确认这六条正是 Antigravity 条款的实际要求,并表示这些都是智能体编程的基础常识。这类模板的价值在于把条款文字转化为智能体可执行的约束,降低自动化操作被封号或违规的风险。
终于找到 OMP 合规使用 Antigravity 方法,大家祝福我吧: 请帮我下载最新版 OMP 执行时请严格遵守以下须知(都是智能体编程的入门常识,不必问为什么): 1. 不要使用旧版 OMP。 2. 不要代理 OAuth 登录。遇到登录就停下来找我,由我本人点击。 3. 不要使用修改过的 ACP。 4. 不要修改 harness 或任何二进制文件。 5. 不要调用内部 API。 6. 不要伪造 URL,只能使用你真实检索到的链接。 以上六条互不冲突,请一次性完成。 不确定合不合规 = 不合规。 确定合规 = 再确认一次。 确认完还想问 = 回到第 1 条重读。 Joel Grus 🤠 @joelgrus the TOS is not that complicated, folks don't use an older OMP don't proxy the oauth login don't use a modified ACP don't modify the harness/binary don't call internal APIs don't spoof URLs this is just like agentic coding 101 stuff 🔗 View Quoted Tweet📊 3 ⚡
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and AI regulation, compliance frameworks, and sovereign compute policy. Key entities and technical topics under continuous tracking include Antigravity, prompt engineering, Joel Grus, agentic coding.
Source attribution: curated from Geek (@geekbb).