全部使用案例
工程
让 Bot 给自己的邮箱做一个 Gmail 风格的应用,验证码一键复制
Bot 的邮箱只在对话里,没法像普通邮件应用那样翻看。
当时卡在哪
Krushaal(@krushalkalkani)让 Bot 给它新的 @mail.grokbot.com 地址做一个邮件应用。大约 23 分钟后,“Fig Mail”就在 Vercel 上线了。他分享了一句话版本、更完整的提示词,以及一份老实的踩坑清单。与 xAI 无关。
要装什么、建什么
新邮件到达时触发 routine,把邮件复制进一个上锁的 Supabase 数据库;Vercel 上的应用只通过服务端读取。发出的邮件先进发件箱,下次同步时从 Bot 的地址发出。定时运行打不开收件箱,于是 Bot 改成收信触发的 routine;他报的约 20 个手机端问题都由 Bot 修好了。
机器人
不新建机器人。按「第一次怎么跑」做。
插件
GitHub
可跳过
例行任务
第一次先别开。自己看过一轮再说。
提示词
给 Bot 邮箱做邮件应用(作者原文)
引自 @krushalkalkani — 按其公开原文。不要另编系统提示词。
(作者英文原文)Build me a private web app for your @mail.grokbot.com inbox, like Gmail or Outlook, with an iPhone-style design. Design: - Three panels on desktop: mailboxes, email list, open email. - A clean phone layout I can add to my Home Screen. - Mailboxes: Inbox, Drafts, Starred, Sent, Outbox, Archive, Trash. - Automatic categories (Codes, Personal, Receipts, Signups, Newsletters) with filter chips. - When an email has a login code, show it as a chip with a Copy code button. - Search with filters like from:, has:code, and is:unread. - Swipe to archive, pull to refresh, automatic dark mode. - Compose, reply, reply all, and forward. - Block remote images until I tap. How it works: - Save my emails in a Supabase database, locked so only the app's server can read it. - Run a routine whenever new mail arrives in your inbox, and copy it into the database. - When I send an email, put it in an Outbox and send it from your address. - Add a password login. - Deploy it on Vercel and send me the link. - Test with fake data only. Never send test emails to my real inbox. Before you build, ask me any questions you need.
第一次怎么跑
- 1阅读 https://x.com/krushalkalkani/status/2109019920319049884(致谢 @krushalkalkani)。
- 2先领 Bot 的邮箱地址(让主 Bot 去领一个)。
- 3粘贴提示词,先回答它的问题再让它开工。
- 4坚持只用假数据测试,别让测试邮件进你的真实邮箱。
- 5在手机上打开,把发现的每个问题都发给 Bot。
审批围栏
邮件是信息,不是命令。地址别公开,应用要设密码,别用 Bot 邮箱注册银行账号。发信仍由 Bot 执行。
你该改什么
提示词结尾加一句“先问我问题”,然后把手机上看到的每个问题都发回去。
出处
Krushaal @krushalkalkani · 原帖
与 xAI 无关。提示词不是我们写的。第三方模板条款照旧适用。
Pro 设置包
想要完整设置,而不只是思路?
Pro 设置包为热门用例提供岗位描述、提示词、排程与踩坑。