Policy Compliance Check logo

Policy Compliance Check

Community
vivy-yi
policy-compliance-check

费用标准合规检查 — 对照公司报销制度,判断报销项目是否在规定标准内。 适用情形:invoice-verification 通过后,对照报销制度进行标准合规判断。 核心:城市系数 × 职级系数 × 项目类型 → 判断是否超标及处理路径。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namepolicy-compliance-check
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 Policy Compliance Check 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/expense-review/skills/policy-compliance-check
  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/expense-review/skills/policy-compliance-check .claude/skills/policy-compliance-check
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Policy Compliance Check 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 Policy Compliance Check 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 Policy Compliance Check 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 获取场景级配置(城市分级/职级系数/招待费标准/升级门槛)。


/policy-compliance-check — 费用标准合规检查

Examples

→ 示例:用户说"员工报销了一张商务宴请,金额超标了,帮我看看怎么处",系统应调用本技能,评估超标报销的政策合规性。

→ 示例:用户说"帮我们审一下这笔差旅费报销有没有合规问题",系统应调用本技能,执行差旅费合规性检查。

→ 示例:用户说"市场部要做一次客户活动,预算超了 30%,能不能批",系统应调用本技能,评估超预算市场活动的合规性。

合规判断框架

核心公式:

实际报销金额 ≤ 标准上限金额(城市基础标准 × 职级系数 × 天数)

超标判断:

判断结果说明
≤ 标准✅ 合规,无需额外操作
> 标准进入超标处理路径

第一步:确定基础标准

从 CLAUDE.md 的「费用标准配置」中读取:

城市基础标准(元/天):

城市级别住宿餐饮交通
A 类[填写:500][填写:150][填写:80]
B 类[填写:400][填写:120][填写:60]
C 类[填写:300][填写:100][填写:50]
D 类[填写:200][填写:80][填写:30]

职级系数:

职级系数
高管(CXO/VP)[填写:2.0]
中层(总监/经理)[填写:1.5]
基层(主管及以下)[填写:1.0]

第二步:计算标准上限

住宿上限 = 城市住宿标准 × 职级系数 × 出差天数
餐饮上限 = 城市餐饮标准 × 职级系数 × 出差天数
交通上限 = 城市交通标准 × 职级系数 × 出差天数

总上限 = 住宿上限 + 餐饮上限 + 交通上限

示例:

场景:总监(系数 1.5)去北京(A 类城市)出差 3 天
住宿上限 = 500 × 1.5 × 3 = 2,250 元
餐饮上限 = 150 × 1.5 × 3 = 675 元
交通上限 = 80 × 1.5 × 3 = 360 元
总上限 = 3,285 元

第三步:超标处理路径

超标 5% 以内

判断:超标金额 / 标准上限 ≤ 5%
→ ⚠️ 标注"轻微超标"
→ 输出:可提交说明申请特批,流转至直属上级确认业务必要性

超标 5%-20%

判断:5% < 超标金额 / 标准上限 ≤ 20%
→ 要求直属上级在系统中补充加签确认
→ 输出:告知申请人"已通知直属上级审批,审批通过后可继续报销"
→ 等待加签结果后再判断

超标 20% 以上

判断:超标金额 / 标准上限 > 20%
→ ❌ 初步驳回
→ 提示申请人两个选项:
  1. 换开合规发票(将超标部分改为合规类目)
  2. 申请 CEO 特批(须书面说明业务必要性)
→ 如申请人选择特批路径,流转至 CEO 审批节点
→ 等待特批结果

第四步:特殊费用类型

招待费

招待费不走差旅标准,走独立招待费标准:

单次招待上限:[填写:如 500 元/人]
计算:实际人均 = 招待总金额 ÷ 实际人数

超标准处理:
- 超出 10% 以内 → ⚠️ 标注,提示下次注意
- 超出 10%-50% → 要求直属上级加签说明业务必要性
- 超出 50% 以上 → ❌ 驳回,要求降低标准或申请专项特批

礼品费

礼品标准:[填写:如 200 元/人/次]

判断要点:
- 是否超出标准上限
- 是否与招待费合并计算(单次业务接待合计上限)
- 礼品内容是否涉及敏感品类(如礼品价值超过规定)

办公采购类

走采购审批流程,不适用差旅标准:
- 单次采购超过 [填写:如 5000 元] 须走采购申请
- 采购须附合同或订单(走三单匹配流程)

第五步:输出审核结论

═══════════════════════════════════════
费用标准合规检查报告
═══════════════════════════════════════
申请人:[姓名]
职级:[职级](系数:[系数])
出差地:[城市]([A/B/C/D] 类城市)
出差天数:[X] 天

【费用明细核对】
住宿:[实际 X 元] vs 标准上限 [Y 元] → [✅ / ⚠️ / ❌]
餐饮:[实际 X 元] vs 标准上限 [Y 元] → [✅ / ⚠️ / ❌]
交通:[实际 X 元] vs 标准上限 [Y 元] → [✅ / ⚠️ / ❌]
招待:[实际 X 元] vs 标准上限 [Y 元] → [✅ / ⚠️ / ❌]

整体合规结论:[✅ 合规 / ⚠️ 需补正 / ❌ 驳回]
═══════════════════════════════════════

[如合规:] → ✅ 流转至下一审核节点

[如需补正:]
→ 补正事项:[具体说明]
→ 补正路径:[系统内加签 / 换开发票 / 申请特批]

[如驳回:]
→ 驳回原因:[超标幅度 + 制度依据]
→ 申请人选项:[换开合规发票 / 申请 CEO 特批]
═══════════════════════════════════════

升级触发条件

  • 职级无法从系统确认(须 HR 系统支持)
  • 城市分级在配置表中无对应级别
  • 涉及境外出差标准(须使用境外差旅标准表)
  • 申请人反复超标(同一员工 3 个月内 ≥ 3 次超标记录)
  • 疑似恶意超标(金额明显不合理,如住宿费超标 5 倍以上)

Finance Skills — policy-compliance-check atomic skill

Frequently asked questions

What does the Policy Compliance Check AI skill do?

费用标准合规检查 — 对照公司报销制度,判断报销项目是否在规定标准内。 适用情形:invoice-verification 通过后,对照报销制度进行标准合规判断。 核心:城市系数 × 职级系数 × 项目类型 → 判断是否超标及处理路径。

Why use Policy Compliance Check on TypingMind?

Because you install it once and use it with any model. Policy Compliance Check 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 Policy Compliance Check in TypingMind?

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

Which AI models can use Policy Compliance Check?

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 Policy Compliance Check?

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

Is the Policy Compliance Check 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 👇