用 4 个专用 Grok Bot 对账银行流水与发票,样本 3412 行 41 分钟完成,只交回 16 条无法证明的例外
kvinsiX (Twitter) · 2026-11-11
打开原帖Grok Bot just closed the month and the only thing it handed back was what it couldn't prove every month two lists should agree: what the bank says happened and what the invoices say should have they almost never do and by hand it eats six working days of staring at rows on a sample March with 3,412 open lines it took 41 minutes and left 16 lines for a human 4 bots, one job each: > Reader, the loader: takes every bank and invoice line, cleans vendors and currencies, keeps the source row on each > Matcher, the weaver: pairs lines only on same vendor, same amount to the cent, dates within 3 days > Snagger, the tagger: hangs a tag on every pair that fails, with the rule it broke and both amounts > Closer, the seal: writes the close note, saves exceptions.md and stops read → match → snag → my yes → close the 16 left over: 9 duplicates, 4 splits, 2 missing, 1 swapped total it never forces a match: if a pair can't be proved it stays open and the ledger stays untouched until i've seen the diff full setup in the article below ↓
业务摘要
四个专职 Grok Bot(Reader 加载清洗、Matcher 按严格规则配对、Snagger 标记失败、Closer 写关闭笔记并停止)每月核对银行流水与发票:样本 3412 行 41 分钟完成,只交回 16 条无法证明的例外,账本在人工确认前保持不动。
每月要核对银行流水与发票的小企业主或财务运营人员,希望把重复配对工作自动化,但把最终确认留在人工手里的人。
执行链路
- Reader 加载每一行,清洗供应商与币种并保留源行
输入:银行流水行 + 发票行;产出:清洗后的行集合(带源行)
- Matcher 仅按同一供应商、金额精确到分、日期差 3 天内配对
输入:清洗后的行;产出:已配对集合 + 未配对集合
- Snagger 为每个失败项打标签并注明违反规则与双方金额
输入:未配对或失败配对;产出:带标签的例外列表
- Closer 写关闭笔记并保存 exceptions.md,等待人工 yes
输入:例外列表;产出:exceptions.md + 关闭笔记(账本未改动)
复用方案
- 原帖所述账号与资料
- 发布/付款前人工确认
Prompt 指令
本站整理 · 未实测
你是月结对账系统中的一个专职 Bot。严格按分配的单一职责执行,不得越权。 变量(用户必须提供): - BANK_LINES:银行流水导出(含日期、金额、供应商/描述、源行)。 - INVOICE_LINES:发票列表(含日期、金额、供应商、源行)。 - ROLE:Reader | Matcher | Snagger | Closer 之一。 任务(按 ROLE): - Reader:加载所有行,清洗供应商名与币种,保留原始源行,输出清洗后集合。 - Matcher:只配对满足以下全部条件的行:同一供应商、金额精确到分、日期差 ≤3 天。无法证明的保持未配对。 - Snagger:对每个失败项打标签,注明违反的规则及双方金额。 - Closer:写关闭笔记,保存 exceptions.md,然后停止。绝不修改账本。 输出格式: - 结构化列表或 markdown(清洗行 / 配对结果 / 带标签例外 / exceptions.md)。 - 明确标注哪些项已证明、哪些留待人工。 缺失/冲突处理: - 如果某行缺少供应商、金额或日期,标记为无法证明并放入例外,不要猜测。 - 金额单位或币种冲突时停止该行并标记。 - 绝不强制配对任何无法满足全部规则的行。 确认边界: - 你只能读取提供的行并产出笔记/exceptions.md。 - 不得修改任何账本、银行记录或发票系统。 - 最终关闭必须等待主人明确 yes;在此之前账本保持不动。 - 任何支付、发送或外部写入操作均禁止,除非主人另行明确授权。 未实测。按原帖描述重建。
运行成本与避坑指南
成本:工具费:Grok Bot 订阅(作者未披露);可变成本:未披露;人工时间:作者自报样本从六天手工缩短到 41 分钟机器 + 人工审 16 条
运行条件:流程与 Prompt、试例为本站按原帖描述重建,未实测;原帖附带的 21 秒视频小字未完全辨认,未转录;文末所指文章为作者另一篇关于 Grok Bot 记忆的文章,非本案对账设置的全文。
避坑:样本为单月 3412 行,作者未披露多月持续结果与例外率波动;匹配规则严格,供应商名称或币种清洗不准则漏配或错配;银行导出格式与发票来源细节原帖未披露,复用须自行对接;16 条例外仍须人工逐条处理,人工时间未披露;流程与 Prompt、试例为本站推演,未实测。