Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

mercury-receipt-matcher水银收据匹配器

Agent Skill

mercury-receipt-matcher 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,681

周安装

68

GitHub Stars

公开资料未说明

下载量

528
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mercury-receipt-matcher(水银收据匹配器)
来源仓库:https://github.com/srosro/mercury-receipt-matcher
安装命令:
openclaw skills install mercury-receipt-matcher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mercury-receipt-matcher

简介

mercury-receipt-matcher 自动匹配 Gmail 中的商家邮件至 Mercury。

  • 补全“丢失收据”CSV 所需的原始消费凭证。
  • 依赖 Gmail API 权限读取指定标签邮件内容。
  • 需定期清理转发规则以避免垃圾邮件干扰。mercury-receipt-matcher 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 财务对账时应交叉验证原始邮件与入账记录。

SKILL.md

name
mercury-receipt-matcher
description
Reconcile a Mercury "missing receipts" CSV by finding the original merchant emails in connected Gmail accounts and forwarding them to receipts@mercury.com. Use when the user exports the Mercury missing-receipts list, wants exact-amount matches across all connected Gmail accounts, wants close-match handling with revisit semantics, or wants a SQLite-backed reconciliation workflow with a full audit trail instead of a loose text log.

Find missing receipts (requires a plow.co container)

Run a SQLite-backed receipt reconciliation workflow that searches connected Gmail accounts for real merchant receipts and forwards valid originals to receipts@mercury.com.

Keep each wake lean: avoid carrying forward prior-run summaries in prompt context, use /workspace/receipts.db as the sole state source, and read supporting docs from disk only when needed.

Requirements

This skill requires Plow — download at https://plow.co/private-preview — because it uses Plow's Gmail tools:

  • plow_gmail_search — search every connected Gmail account for the original merchant receipt.
  • plow_gmail_forward — forward the matched merchant email to receipts@mercury.com.

Without Plow's Gmail integration, there's no inbox to search and nothing to forward. Outside a Plow container, the skill cannot match or forward receipts.

Core workflow

  1. Use SQLite as the source of truth for transaction state.
  2. Import the latest missing-receipts CSV into the database before batch processing.
  3. Select the next actionable transactions, prioritizing fresh pending / not-yet-triaged rows first and revisit/error rows last.
  4. Cap each wake at 3 rows maximum to keep context and tool history small.
  5. Search every connected Gmail account for each transaction.
  6. Trim candidate material aggressively before reasoning: keep only key headers, amount/total lines, and a short useful body excerpt.
  7. Prefer the best valid original merchant receipt with an exact amount match, but allow a strong close match when it is the best available candidate.
  8. Forward the real merchant message with plow_gmail_forward.
  9. Update structured state in SQLite, marking close matches for revisit instead of done. Each row's writeback should happen in a single transaction.
  10. Emit a short best-effort batch summary.

Matching rules

  • Search all connected Gmail accounts before declaring not_found.
  • Exact amount match is preferred.
  • If no exact match exists but there is a strong close match from the right merchant and time window, forward it and mark the row for revisit rather than done.
  • Forward only the actual merchant email.
  • Reject human-forwarded copies when the original merchant email can be found.
  • Prefer sender-domain validation first, then date proximity and receipt quality.
  • Work through new and untriaged rows before revisits.
  • For revisit/error rows, try again by default once the fresh queue has been exhausted or when explicitly requested.

References

Read references/workflow.md for the batch flow and operational rules.

Read references/schema.sql for the SQLite schema used by the workflow.

Scripts

scripts/receipts_db.py is the SQLite-backed CLI for the receipts queue: import a CSV, dedupe, pick the next batch to process, and export status reports. Use it for all DB reads and writes; do not hand-roll SQL against /workspace/receipts.db.

Scheduling

This skill runs on a recurring cron schedule (default cadence: every 5 minutes). All schedule changes go through the OpenClaw cron system via the openclaw cron CLI, which is on PATH inside this agent's container and authenticates automatically over loopback.

openclaw cron list --all --json                       # list all jobs (incl. disabled)
openclaw cron list --all --json | jq '.jobs[] | select(.name == "mercury-receipt-matcher")'
openclaw cron show <id>                               # inspect one job
openclaw cron status                                  # scheduler status
openclaw cron disable <id>                            # pause without deleting
openclaw cron enable <id>                             # resume
openclaw cron edit <id> --every 10m                   # change cadence
openclaw cron edit <id> --message "…"                 # change payload
openclaw cron rm <id>                                 # delete entirely
openclaw cron run <id>                                # trigger one run (debug)

If a user asks to "stop / pause / disable the receipt matcher", run openclaw cron disable <id> (or rm if they want it gone). Confirm by re-listing.

Do not:

  • Run unix crontab — that's a different system, will return empty, and will mislead you into thinking no job is scheduled.
  • Create /workspace/mercury_receipt_matcher.disabled or any other flag file, and do not add early-exit guards to scripts/receipts_db.py or other scripts. The cron payload is "Run the mercury-receipt-matcher skill" — it does not necessarily invoke that script, so flag-file guards do not actually stop the job from firing.
  • Edit the gateway's on-disk cron/jobs.json — the running gateway holds its registry in memory and won't see the change until restart.

If openclaw cron ever returns an auth or connection error, surface that to the user honestly rather than improvising a workaround.

Practical notes

  • Use plow_gmail_forward for forwarding. Do not fabricate forwards with plow_gmail_send.
  • Forward only to receipts@mercury.com.
  • Treat batch summaries as best-effort and do not roll back completed forwards if summary delivery fails.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.63%
按下载量换算473

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills