OpenBot drives Grok Bot via a webhook Routine; the $30 tier's weekly quota now holds
Overview
The author, a Chinese-language X user on Grok Bot's 30 USD per month tier, kept burning the weekly allowance within about three days, and had OpenBot connect to Grok Bot through grok-bot-cli and a webhook-triggered Routine, leaving Grok Bot with only X search, morning reports and cloud-side tasks.
Workflow
- Trigger: The weekly Grok Bot allowance kept burning out in three days. The author pays for the 30 USD per month Grok Bot tier, where the allowance is issued weekly. Daily routine tasks could not stop, and the whole week's allowance was often gone in the first three days, leaving the last four days with efficiency and work progress interrupted. Early on, every task except code work went to Grok Bot because it worked smoothly, could be called from many devices and had no 5-hour allowance limit; over time the 30 USD allowance could not carry that load.
- By hand: Reverse the direction and hand the integration to OpenBot. Saving allowance from inside Grok Bot was not enough: letting Grok Bot call Codex and DeepSeek still was not enough, and other personal agents could take the work but lacked Grok Bot's own abilities, such as X search and the cloud-side online environment. After seeing someone on X use Grok Bot to call T3 Code, the author flipped the idea: let OpenBot call Grok Bot and treat it as one MCP tool, so work that does not need Grok Bot's unique abilities is outsourced to OpenBot and Grok Bot is called only when truly needed. Research found an existing open-source project, grok-bot-cli (github.com/ScriptedAlchemy/grok-bot-cli), which ships the gbot command line and an MCP server interface. Relaying between the two tools by daily manual copy-paste would be abandoned within two days, so the link had to let OpenBot call the cloud Grok Bot directly and bring the result back automatically. The author did not tune this link by hand — the problem was thrown straight to OpenBot, and the article carries the research brief for this handoff. Meaning: the brief sets the goal of wrapping Grok Bot as an MCP tool mounted on OpenBot for dispatching tasks and retrieving results automatically; the research scope is to evaluate grok-bot-cli and the gbot CLI and to confirm Grok Bot's routine/webhook triggering and result return; acceptance requires OpenBot to load the MCP tool and pass an end-to-end run that wakes Grok Bot and retrieves the result; the constraints put credentials in environment variables with no hard-coding and reuse existing code without breaking OpenBot's original MCP configuration.
目标:将 Grok Bot 封装为 MCP 工具挂载至 OpenBot,实现任务派发与结果自动取回。
调研范围:
- 评估 grok-bot-cli(github.com/ScriptedAlchemy/grok-bot-cli)与
gbotCLI 适配方案。 - 确认 Grok Bot 的 routine/webhook 触发及结果回传机制。
验收标准:
- OpenBot 成功加载该 MCP 工具。
- 端到端实测通过:OpenBot 唤醒 Grok Bot 执行并自动取回结果。
约束:
- 凭据走环境变量,严禁硬编码。
- 复用已有实现,不破坏 OpenBot 原有 MCP 配置。
- Bot: Try the gbot CLI and hit HTTP 409 on direct messages. OpenBot first tried Grok Bot's gbot command line: it could list the bots in the cloud and read conversation history, but sending a message to a server-side cloud bot failed with HTTP 409. OpenBot traced the cause: cloud bots normally sleep on the server side, and the direct-message route did not accept external calls at that time.
- Bot: Enter through a webhook-triggered Routine. With the front door blocked, OpenBot went through Grok Bot's automation entries and found the opening in Routines — the Webhook trigger. The chain has two steps. Calling the bot to work: give the target bot a webhook-triggered Routine, and an external POST request wakes the sleeping cloud bot and starts the work. Fetching the result: when the bot finishes, the reply lands in its own conversation, and
gbot threadreads it back. - Bot: Wrap the chain as an MCP tool and let it run unattended. OpenBot measured about one minute from trigger to reading back the reply — asynchronous task dispatch rather than instant chat, but stable enough for cross-tool handoffs. OpenBot then wrapped the whole chain into an MCP tool mounted on itself, with the open-source grok-bot-cli underneath. Since then, for X search and the morning report, one tool call from OpenBot wakes the cloud bot, runs the work and brings the result back automatically, with nothing left for the author to do.
- By hand: Split the daily work so Grok Bot does less. After the link worked, the author's first move was the opposite of a fancier linkage: cut Grok Bot's load. Every daily task given to AI was split by one question — does only Grok Bot have the unique ability for this? The article includes a three-stage prompt for this split; the source does not state that the author ran this exact prompt. Meaning: the prompt casts the model as an AI workflow consultant that guides a three-stage reallocation — stage one inventories every task handed to AI in a week across fixed, scheduled and ad-hoc work; stage two reviews each task and asks whether it depends on a specific tool's unique ability, then marks it A, strongly bound, or B, migratable to any capable tool; stage three outputs the division of labor, keeping only A tasks on quota-limited tools, moving B tasks to tools with spare quota and designing the lightest handoff, and ends with a division list, the estimated usage change on the limited tool and the manual steps that remain.
你是一名 AI 工作流顾问。我的目标:重新分配我在多个 AI 工具之间的任务,降低对单一限额工具的依赖。请严格按以下三个阶段引导我完成,每个阶段结束后等待我的回答,确认后再进入下一阶段,不要一次性抛出所有问题。
【阶段一:任务盘点】 要求我列出一周内实际交给 AI 执行的全部任务。提醒我覆盖三类来源:固定例行任务、定时或自动触发的任务、临时发起的任务。将我列出的内容整理为一张任务清单,不要遗漏。
【阶段二:能力依赖判定】 带我逐条审查清单中的每项任务,对每一项提问:「这项任务是否依赖某个特定工具的独有能力(例如特定平台的原生检索、专属云端环境、独有数据源)?离开该工具是否无法执行,或成本显著升高?」 根据回答将每项任务标记为两类: A. 强绑定——依赖某工具独有能力; B. 可迁移——不依赖特定平台,任何具备相应模型能力的工具均可完成。
【阶段三:分工方案输出】 基于标记结果输出分工方案,遵循以下原则:
- 有额度或配额限制的工具,仅保留标记为 A 的任务;
- 所有标记为 B 的任务,迁移至额度宽裕、可自由指定模型的工具;
- 若两个工具间需要传递结果,将交接方式设计为最轻量,明确触发方、传递内容和取回方式。
最终输出:
- 一张分工清单:每个工具保留的任务及判定理由;
- 迁移前后限额工具的预估用量变化;
- 交接链路中需要我手动确认或配置的环节。
The split left each side with a clean list. Grok Bot keeps three things: X search, morning-report information collection, and the cloud computer and cloud-side tasks — these rely on the native X ecosystem or the cloud online environment, which local tools cannot easily replace. OpenBot takes all other daily work: self-media topic selection, writing, knowledge-base organization, notes, development task assignment, and multi-device invocation.
- Check: The author's check is continued real use: on the same 30 USD per month tier, the weekly allowance now covers the whole week and the daily routine tasks no longer stop (author's claim, not reproduced). The about-one-minute trigger-to-reply time is OpenBot's own end-to-end measurement relayed by the author, not an independent check, and the source gives no usage figures for Grok Bot after the split.
Key points and results
- The root cause was one basket, not too much work. The author's realization: the problem was not that each day had too many tasks, but that a whole workflow was tied to Grok Bot alone, so a 30 USD monthly tier burned its weekly allowance in about the first three days and stalled the rest of the week.
- Saving allowance from inside Grok Bot was not enough. Letting Grok Bot call Codex and DeepSeek still was not enough, and other personal agents lacked X search and the cloud-side online environment, which pushed the setup in the reverse direction.
- Direct messages to cloud bots fail; the working entry is a Routine webhook. The gbot command line could list cloud bots and read conversations, but sending to a server-side bot returned HTTP 409 because cloud bots sleep server-side and the direct-message route did not accept external calls at that time; a webhook-triggered Routine plus
gbot threadto read the reply back worked (author's claim, not reproduced). - The round trip runs about one minute and is asynchronous. OpenBot measured about one minute from webhook trigger to reading back the reply — task dispatch, not instant chat, but stable enough for cross-tool handoffs (author's claim, not reproduced).
- The fix was the split of work, not a trick. Grok Bot keeps only X search, morning-report collection and the cloud computer and cloud-side tasks; OpenBot takes topic selection, writing, knowledge-base organization, notes, development task assignment and multi-device calls. The author reports that the same 30 USD tier now has a weekly allowance that covers the week — this is the author's claim; the source gives no comparison figures.
- When the direct route is blocked, the entry is often in routines and automation triggers. The author's stated takeaway from watching OpenBot build the chain: in cross-tool integration, if the direct-message route fails, there is no need to force it, because the real external entry is often hidden in the product's routines or automation triggers.
- Missing figures. The source gives no usage numbers for Grok Bot after the split and no comparison figures for the earlier Codex and DeepSeek attempts.
Contributions from others
Added by others (not the author)
- @yaoyao368345 replied that under this scheduling the 30 USD tier's advantages narrow to native X search and 7×24 cloud work, which makes Grok Bot feel like a feature bundled with a Premium subscription; the author answered that this works well for someone already active on X (https://x.com/yaoyao368345/status/2125470746751422763).
- @zhu1894341 replied and quote-posted the article: Grok's allowance is indeed not enough, and the plan there is also to let another agent drive Grok and use only its strongest ability, the X information source (https://x.com/zhu1894341/status/2125610946748117146).
- @longhaiqwe123 quote-posted background: the author is one of the Grok Bot meetup lecturers in Changsha and still a university student, and the two sat side by side at that event and talked about the Grok Bot allowance problem (https://x.com/longhaiqwe123/status/2125478394842530015).
Source
- Platform
- X
- Author
- loic_洛伊客
- Published
- Categories
- Getting started, Limits
What this evidence label means
Author's claim, unverified
The method and results come from the author's own account. This site has not reproduced them.