银行流水对账虾

v1.0.0

银行流水对账虾 — 自动核对银行流水、发票台账与系统订单,实现财务三方数据闭环。 **当以下情况时使用此 Skill**: (1) 用户上传银行流水文件(Excel/CSV),要求与订单或发票进行核对 (2) 需要识别未匹配条目、金额差异、重复流水、日期偏差等异常 (3) 需要生成对账报告(匹配明细 + 异常清单...

0· 133·0 current·0 all-time
byRicky@tujinsama

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for tujinsama/bank-reconciliation-claw.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "银行流水对账虾" (tujinsama/bank-reconciliation-claw) from ClawHub.
Skill page: https://clawhub.ai/tujinsama/bank-reconciliation-claw
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install bank-reconciliation-claw

ClawHub CLI

Package manager switcher

npx clawhub@latest install bank-reconciliation-claw
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
技能名称、描述、SKILL.md 与 scripts/reconcile.py 中的对账、字段映射、脱敏与报告生成功能是一致的;所需库(pandas、openpyxl)与处理 Excel/CSV 的用途相符。没有要求与用途不相关的系统权限或凭据。
Instruction Scope
SKILL.md 明确指导在本地加载用户提供的 Excel/CSV、标准化字段、执行匹配并生成报告;脚本实现也反映这些步骤。唯一需要注意的点是文档和 CLI 提到可将报告“写入飞书多维表格(--bitable-url)”,这会把数据发送到外部端点 — 文档同时声明脱敏会用于写入,但导出具体网络交互的实现(是否仅发送脱敏数据、是否发送原始文件)在提供的脚本片段中未完整展示。
Install Mechanism
没有 install spec(instruction-only + included script)。依赖为常见 Python 包,通过 pip 安装(pandas、openpyxl),这是与功能成比例的常规要求;没有看到来自不可信 URL 的下载或可疑安装步骤。
Credentials
技能不请求任何环境变量、凭据或配置路径。导出到飞书需用户显式提供 URL 参数(--bitable-url) — 没有隐式或静默的凭据使用。脱敏规则在 references 中有说明。
Persistence & Privilege
flags 显示 always: false,技能不会强制常驻或自动越权。脚本在本地读取用户指定文件并写出报告文件,未修改其他技能或系统配置。
Assessment
这项技能总体一致且看起来用于本地对账: - 如果你只在本地运行对账并保存本地报告,行为与描述一致;在运行前安装 pandas 和 openpyxl。 - 注意导出(--bitable-url)会把数据发送到你提供的外部 URL:在使用导出功能前,审查或测试脚本中导出实现,确认仅发送脱敏展示字段而非未脱敏的原始数据,且只向你信任的飞书/多维表格 URL 发送。 - 若对隐私敏感,可在隔离环境中运行(离线或在受控网络下),并手动审查脚本 export 部分以验证网络交互细节。 - 若你希望更高信心,要求作者/发布者提供完整的 export 函数实现或在本地审计完整脚本(当前提交片段在结尾处被截断,导出实现未完全显示)。

Like a lobster shell, security has layers — review code before you run it.

latestvk971a1a7ndj08vmgcaa0d43jc5856q2m
133downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

银行流水对账虾

自动核对银行流水、系统订单、发票台账,秒级定位差异,对账时间从半天压缩到分钟级。全程本地处理,财务数据不外传。

工作流程

  1. 数据接收 — 接收用户上传的 Excel/CSV 文件(流水、订单、发票)
  2. 字段标准化 — 统一日期格式(YYYY-MM-DD)、金额格式(两位小数)、编号格式
  3. 智能匹配 — 精确匹配 + 模糊匹配 + 多对一匹配(见 references/reconciliation-rules.md
  4. 差异识别 — 标记四类异常:🔴未匹配 / 🟡金额差异 / 🟠重复条目 / 🔵日期偏差
  5. 输出报告 — 生成匹配汇总、明细表、异常清单;可选写入飞书多维表格

使用方式

快速对账(两表)

用户说:"帮我核对这份银行流水和订单表",然后提供文件路径或上传文件。

调用核心脚本:

python3 scripts/reconcile.py reconcile \
  --bank <bank_file.xlsx> \
  --orders <orders_file.csv> \
  --output report.xlsx

三表全核

python3 scripts/reconcile.py reconcile \
  --bank <bank_file.xlsx> \
  --orders <orders_file.csv> \
  --invoices <invoices_file.xlsx> \
  --date-tolerance 3 \
  --output report.xlsx

预览数据解析

python3 scripts/reconcile.py preview --file <any_file.xlsx>

写入飞书多维表格

python3 scripts/reconcile.py export \
  --report report.xlsx \
  --bitable-url <飞书多维表格URL>

输入要求

文件类型必填字段说明
银行流水交易日期、金额、流水号支持主流银行格式,见 field-mapping.md
系统订单支付时间、金额、订单号支持金蝶/用友/SAP 导出格式
发票台账开票日期、开票金额、发票号增值税发票标准格式
  • 文件编码建议 UTF-8
  • 金额列不含货币符号(脚本会自动清理 ¥ $ ,)
  • 单文件建议不超过 50MB(约 10 万行)

参考资料

  • references/reconciliation-rules.md — 匹配规则、容差配置、异常分级
  • references/field-mapping.md — 各银行/ERP/开票平台字段映射
  • references/desensitization-rules.md — 脱敏规则(账号、姓名等)

依赖

Python 3.8+
pandas
openpyxl

安装:pip install pandas openpyxl

与其他虾的协作

  • cross-platform-messenger-claw — 对账完成后推送报告摘要到财务群
  • auto-data-analysis-claw — 对对账结果做趋势分析、异常归因
  • feishu-bitable — 将对账报告写入飞书多维表格供团队协作处理

Comments

Loading comments...