Ap Master logo

Ap Master

Community
vivy-yi
ap-master

应付账款主流程 — 整合付款排期 + 三单匹配 + 供应商审核的完整 AP 周期。 适用情形:每周固定时间(如周二)执行,整合到期应付清单、 三单匹配、付款审核全流程,生成可执行的付款指令。 核心:到期分析 → 三单匹配 → 优先级排序 → 审批 → 付款指令。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill nameap-master
Stars
43
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Ap Master AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/accounts-payable/skills/ap-master
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vivy-yi/finance-skills.git /tmp/finance-skills
mkdir -p .claude/skills
cp -r /tmp/finance-skills/finance-skills/skills/accounts-payable/skills/ap-master .claude/skills/ap-master
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ap Master in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ap Master on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ap Master is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

加载上下文

首次使用时: 读取 ../../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]
═══════════════════════════════════════

第六步:付款执行后跟踪

付款执行确认:
  → [ERP] 中标记为已付款
  → [CASH] 冻结资金释放
  → 供应商付款凭证归档

未成功付款处理:
  → 查明失败原因(账户错误/余额不足/限额)
  → 重新安排付款(下一付款日)
  → 记录失败原因

升级触发条件

  • 付款总额 > [填空:如 500 万元]
  • 单笔付款 > [填空:如 50 万元]
  • 拒绝项涉及欺诈风险
  • 资金缺口 > [填空:如 100 万元]
  • 连续 3 周存在已逾期但未付的应付

Finance Skills — ap-master atomic skill

Frequently asked questions

What does the Ap Master AI skill do?

应付账款主流程 — 整合付款排期 + 三单匹配 + 供应商审核的完整 AP 周期。 适用情形:每周固定时间(如周二)执行,整合到期应付清单、 三单匹配、付款审核全流程,生成可执行的付款指令。 核心:到期分析 → 三单匹配 → 优先级排序 → 审批 → 付款指令。

Why use Ap Master on TypingMind?

Because you install it once and use it with any model. Ap Master is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ap Master in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/accounts-payable/skills/ap-master. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ap Master?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ap Master?

As many as you like. As long as a model supports skills, you can use Ap Master with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ap Master AI skill free?

Yes. It is published on GitHub by vivy-yi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇