ap-master

ap-master is a skill for Claude Code from vivy-yi/finance-skills. It costs 103 tokens per session (1,510 once invoked), scanned A, original, MIT.

A payables workflow for managing money owed to suppliers from due-date review through approval and payment instructions. It combines payment scheduling, three-way invoice matching, and supplier checks.

In plain words
What is it for?
Use it for weekly or monthly supplier-payment runs: find upcoming bills, check invoices against purchase orders and receipts, rank payments by urgency, review them, and prepare payment instructions.
Why use it?
It brings the main payment checks into one repeatable process, helping prevent late, duplicate, incorrect, or non-compliant payments.

Skill for Claude Code

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

Good fit Use it for weekly or monthly supplier-payment runs: find upcoming bills, check invoices against purchase orders and receipts, rank payments by urgency, review them, and prepare payment instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/ap-master
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 ap-master
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 ap-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/ap-master/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/ap-master)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/ap-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/ap-master/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 ap-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/ap-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/ap-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,510 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.00103 $0.01510
Opus 5 $0.00051 $0.00755
Sonnet 5 $0.00021 $0.00302
Haiku 4.5 $0.00010 $0.00151

Measured 11d ago against content hash 7100c6c555cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ap-master 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 11d 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/accounts-payable/skills/ap-master/SKILL.md · 200 lines

How it starts

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

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(供应商分级/付款条款/审批层级/合规规则)。


/ap-master — 应付账款主流程

完整 AP 周期

Step 1:获取到期应付清单
  → 从 [ERP] 获取所有未清应付(到期日 ≤ +30 天)

Step 2:获取可用资金
  → 从 [CASH] 获取各账户可用余额

Step 3:付款排期
  → 执行 payment-scheduling
  → 按优先级生成付款计划

Step 4:三单匹配(有发票待匹配的项)
  → 执行 triple-match-automation-ap
  → 对每笔待付发票执行三单匹配
  → 匹配通过方可进入付款清单

Step 5:付款审核
  → 执行 supplier-payment-review
  → 对每笔付款复核供应商信息/金额/合规

Step 6:生成付款指令
  → 汇总审批通过的付款
  → 生成付款指令文件
  → 提交审批

第一步:获取到期应付清单

从 [ERP] 查询未清应付:

查询条件:
  - 到期日:今天至 +30 天
  - 供应商:所有
  - 状态:未清

导出字段:
  供应商 | 金额 | 到期日 | 逾期天数 | PO号 | 发票号 | 合同条款

汇总:
  - 已逾期:[X] 笔 / [XXX万]
  - 本周到期:[X] 笔 / [XXX万]
  - 下周到期:[X] 笔 / [XXX万]

第二步:三单匹配(发票核查)

对每笔有待匹配发票的应付执行匹配:

执行 Skill:triple-match-automation-ap

发票匹配结果:
  - 通过:[X] 笔 / [XXX万]
  - 待处理:[X] 笔 / [XXX万]
  - 不通过:[X] 笔 / [XXX万]

不通过项处理:
  → 暂停付款
  → 联系供应商处理
  → 记录在下期待付款清单中

第三步:付款排期

执行 Skill:payment-scheduling

资金充足时:
  → 所有到期应付均可安排付款

资金不足时:
  → 按优先级排序
  → P0(已逾期)→ P1(A级供应商)→ P2(本周到期)→ P3(下周到期)
  → 延迟 P4(未到期)项

第四步:付款审核

对每笔待付款执行审核:

执行 Skill:supplier-payment-review

审核结果:
  - 通过:[X] 笔 / [XXX万]
  - 拒绝:[X] 笔 / [XXX万]
  - 待补充:[X] 笔 / [XXX万]

拒绝项:
  → 记录拒绝原因
  → 不放入付款指令
  → 如有欺诈风险,升级至财务经理 + 法务

第五步:生成付款指令

═══════════════════════════════════════
付款指令
付款日期:[YYYY-MM-DD]
生成时间:[YYYY-MM-DD HH:MM]
付款笔数:[X] 笔
付款总额:[XXX万]
═══════════════════════════════════════

【已通过付款清单】

序号 | 供应商 | 金额 | 收款账户 | 摘要 | PO号
-----|--------|------|---------|------|----
1    | [供应商A] | [XX万] | [账户] | [摘要] | [PO号]
2    | [供应商B] | [XX万] | [账户] | [摘要] | [PO号]
...  | ...      | ...   | ...    | ...  | ...

合计 | —       | [XXX万] | —      | —    | —

【拒绝/暂停项】

序号 | 供应商 | 金额 | 原因 | 状态
-----|--------|------|------|----
1    | [供应商C] | [XX万] | [三单不匹配] | 暂停
2    | [供应商D] | [XX万] | [账户变更待核实] | 拒绝

合计 | —       | [XX万] | —      | —

【付款指令明细】

付款方式:银企直连 / 网银转账
付款账户:[账户]
批量付款文件:[文件名]
网银密钥责任人:[姓名]

═══════════════════════════════════════
审批层级:AP主管 → 财务经理 → [财务总监]
指令生成人:[姓名]
指令生成时间:[YYYY-MM-DD HH:MM]
═══════════════════════════════════════

Read the full file on GitHub · 200 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. 11d ago First seen · 200 lines · 103 tokens per session scan A 7100c6c555cc

Subscribe to this mod's changes

ap-master is a skill published in the GitHub repository vivy-yi/finance-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 103 tokens to every session and 1,510 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

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

reconcile

Reconcile today's fulfilments against the ledger and report any mismatches.

RiggdAI/uniqent · 17 tokens

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

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

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

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