triple-match-automation

triple-match-automation is a skill for Claude Code from vivy-yi/finance-skills. It costs 102 tokens per session (1,946 once invoked), scanned A, original, MIT.

An automated three-way check for purchase-related expenses, comparing the contract or purchase order, receiving record, and supplier invoice. It checks amounts, dates, parties, and other details for inconsistencies.

In plain words
What is it for?
Use it to review invoices for office supplies, equipment, services, and other purchases against orders, contracts, receiving records, and payment information.
Why use it?
It helps catch unsupported purchases, incorrect invoices, and mismatched payment details before reimbursement or payment. It also flags differences that need an explanation or further checking.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to review invoices for office supplies, equipment, services, and other purchases against orders, contracts, receiving records, and payment information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/triple-match-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vivy-yi/finance-skills --skill triple-match-automation
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/finance-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triple-match-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triple-match-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/triple-match-automation"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/triple-match-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,946 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.01946
Opus 5 $0.00051 $0.00973
Sonnet 5 $0.00020 $0.00389
Haiku 4.5 $0.00010 $0.00195

Measured 12d ago against content hash 2e5d124c072a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

triple-match-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

finance-skills/skills/expense-review/skills/triple-match-automation/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(数据源状态/升级门槛)。


/triple-match-automation — 三单匹配自动化

Examples

→ 示例:用户说"采购发票到了,帮我做三单匹配,看看和 PO、收货单是否一致",系统应调用本技能,执行三单匹配验证。

→ 示例:用户说"三单匹配发现差异,帮我判断是接受还是需要重新核对",系统应调用本技能,评估三单匹配差异的处理建议。

→ 示例:用户说"供应商说他们的发货记录和我们收货单一致,为什么还有差异",系统应调用本技能,核查跨系统数据差异原因。

三单定义

单据 说明 来源
合同/订单(PO) 采购协议或采购订单 OA 合同审批记录或 ERP 采购订单
收货单(GR) 仓库或需求部门确认的收货证明 OA 收货确认记录或入库单
发票(Invoice) 供应商开具的增值税发票 员工提交附件

匹配检查逻辑

第一层:金额匹配

核心公式:

差异率 = |发票金额 - 合同金额| / 合同金额
差异率 结论 操作
≤ [填写:2%] 合理误差范围 ✅ 通过
2% - 5% 轻微差异 ⚠️ 标注,要求员工说明原因
> 5% 显著差异 ❌ 驳回,要求核实后重新提交
金额完全相同 完美匹配 ✅ 通过

注意: 差异判断以合同金额为基准,非以发票金额为基准。


第二层:日期逻辑

检查项:

检查1:合同签订日期 ≤ 发票开具日期
  → 发票日期早于合同日期 → ❌ 逻辑矛盾,驳回

检查2:收货日期 ≥ 合同签订日期
  → 收货日期早于合同签订 → ❌ 逻辑矛盾,驳回

检查3:发票日期 ≥ 收货日期
  → 发票日期早于收货日期 → ⚠️ 要求说明(如在途物资/跨月结算可接受)

检查4:出差天数与住宿天数逻辑(差旅类)
  → 住宿天数 = 出差天数 - 1(到达当天不住宿)
  → 超出此逻辑 → ⚠️ 要求说明

第三层:主体一致性

检查项:

检查1:合同签约方 = 发票开具方
  → 不一致 → ⚠️ 要求提供代理授权书或分包协议

检查2:合同签约方 = 付款收款方
  → 不一致 → ⚠️ 要求说明(如第三方收款须提供授权)

检查3:发票购买方 = 公司全称
  → 须与公司营业执照名称一致
  → 不一致(如开给子公司/母公司)→ ⚠️ 确认内部调拨或要求重开

采购类型特殊规则

办公用品/耗材类(小额,<5000元)

处理逻辑:
- 通常无正式合同 → 审核重点转为"发票与采购申请一致性"
- 要求附采购申请截图或部门负责人确认
- 差异率阈值放宽至 10%(因无正式合同,误差空间大)

设备/资产类(≥5000元,须走固定资产)

处理逻辑:
- 必须有合同 + 收货确认 + 发票三单
- 发票品名须体现设备规格型号(与合同一致)
- 三单不一致 → ❌ 驳回,不予报销
- 三单一致 → 自动创建固定资产卡片号,写入审核报告

服务类(咨询/IT/市场服务)

处理逻辑:
- 合同服务内容须与发票品名一致
- 服务周期须与合同约定一致(如年度服务 vs 月度服务)
- 部分服务完成后开具发票 → 审核里程碑节点与合同节点是否匹配

异常处理路径

金额轻微差异(2%-5%)

处理:
1. 标注异常,生成说明模板
2. 提示申请人填写"差异原因说明"(系统内置模板)
3. 直属上级加签确认后 → ✅ 可通过
4. 如上级拒绝 → ❌ 驳回,要求重新换开发票

供应商主体不一致

处理:
1. 查询[ERP]供应商主数据,确认是否为同一主体(曾用名/集团关联)
2. 如为集团内部调拨 → ⚠️ 要求提供集团内部调拨授权证明
3. 如为代理/分包 → 要求提供代理协议或分包授权
4. 无法提供 → ❌ 驳回,不予报销

疑似拆分发票(规避审批)

识别特征:
- 同一合同项下,发票分多张开具(拆单)
- 拆分后每张金额均低于审批权限阈值(如低于 5000 元)
- 开票日期集中在同一周内

处理:
→ ❌ 驳回
→ 标注"疑似拆单"
→ 升级至财务经理核查
→ 如确认为故意拆单,记录诚信档案

Read the full file on GitHub · 220 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 220 lines · 102 tokens per session scan A 2e5d124c072a

Subscribe to this mod's changes

triple-match-automation is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 102 tokens to every session and 1,946 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wealth-structure

A framework for thinking about wealth through ownership, responsibility, leverage, and avoiding risks that could end your progress.

kangarooking/cangjie-skill · 141 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

hedgefundmonitor

Query the OFR (Office of Financial Research) Hedge Fund Monitor API for hedge fund data including SEC Form PF aggregated statistics, CFTC Traders in Financial Futures, FICC Sponsored Repo volumes, and FRB SCOOS dealer financing terms. Access time series data on hedge fund size, leverage, counterparties, liquidity…

foryourhealth111-pixel/Vibe-Skills · 123 tokens

edgartools

Python library for accessing, analyzing, and extracting data from SEC EDGAR filings. Use when working with SEC filings, financial statements (income statement, balance sheet, cash flow), XBRL financial data, insider trading (Form 4), institutional holdings (13F), company financials, annual/quarterly reports (10-K…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

fred-economic-data

Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources. Access GDP, unemployment, inflation, interest rates, exchange rates, housing, and regional data. Use for macroeconomic analysis, financial research, policy studies, economic forecasting, and academic research requiring…

foryourhealth111-pixel/Vibe-Skills · 75 tokens