Copy library / What got built / Grok Bot
InfoStation adds a Grok Bot handoff mode and X posts as a source
# InfoStation 加入 Grok Bot 交接模式和 X 帖子来源 Source: https://github.com/mawwalker/infostation/pull/1 Author: mawwalker InfoStation 的一个 PR,让 Grok Bot 无需 HTTP LLM API 也能按计划运行它:每次 LLM 调用写出带完整提示词和 JSON schema 的请求文件后退出,由 Agent 写回答案,再由同一次运行校验并继续。X 帖子可作为选题和脚本的来源,并附带署名;只出现在推文里的数字不进入事实核查。盘前流程只用 CPU。
- What it does
- A PR that lets Grok Bot run InfoStation on a schedule without an HTTP LLM API: each LLM call writes a request file with the full prompt and JSON schema and exits, the agent writes the answer, and the same run validates it and continues. X posts can feed story selection and scripts with attribution, while numbers found only in tweets are excluded from fact-checking. Premarket runs CPU-only.
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Add grokbot LLM handoff and X posts as a source
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
Grok Bot can operate InfoStation on a schedule without an HTTP LLM API, and X posts can feed story selection and scripts.
## LLM handoff (`agy` stays the default)
`llm.provider: grokbot`, `INFOSTATION_LLM=grokbot`, or `--llm grokbot`. Each LLM call writes `runs/<id>/handoff/<name>.request.json` (full prompt + JSON schema) and exits **75**. The agent writes the response; the same `infostation run` validates it and continues. Schema errors exit **76** and name the broken fields. A valid answer is cached under `runs/<id>/llm/<name>/result.json`, so a fact-check rewrite or shortening pass is a separate handoff. Fact-check still runs on grokbot-written copy.Show full post
`infostation handoff status|list|path|submit` is the operator loop. Full premarket and recap steps, file schemas, and CPU-only setup are in `docs/GROKBOT.md` (linked from README and AGENTS.md).
## X as a source
- Agent file: `runs/<id>/inputs/x_posts.json` (optional `x.inbox`). In grokbot mode, collect/screen first writes `handoff/x_request.json` with cashtags, accounts, and the time window, then waits until that file exists.
- Optional collector: X API v2 recent search only when `X_BEARER_TOKEN` is set. Unset → `x_api` is **skipped** in doctor and `review.md`, not failed.
- Buzz is a screening score term. Posts are quotable context in the editor/script/thread prompts, with attribution. `review.md` lists the posts that were fed in. Numbers that appear only in tweets (or like/follower counts) are excluded from fact-check.
## CPU-only premarket
Premarket never calls IndexTTS, Whisper, or ComfyUI. `doctor` warns on a missing GPU / IndexTTS instead of failing. Recap voice still needs a GPU, or `tts.provider: edge`.
## Fixes from the 2026-10-21 grokbot premarket run
- `run --force`mawwalker · · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
The original post is in Chinese and is shown on the Chinese pages; open the source link to read it.
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/mawwalker/infostation/pull/1 ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- Reads and writes your mailbox: grant read-only and draft access first, and approve before anything is sent
- Scheduled runs keep consuming usage: start at a low frequency and raise it once it is stable
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator