Budget Variance Analysis logo

Budget Variance Analysis

Community
vivy-yi
budget-variance-analysis

预算差异分析 — 对超预算科目进行根因分析,区分"战略性超支"与"失控超支"。 适用情形:budget-execution-monitor 发现超预算项后, 对重点超预算科目执行差异分析,找出原因并给出处理建议。 核心:差异分解(量差/价差)+ 原因归类 + 决策建议。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namebudget-variance-analysis
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 Budget Variance Analysis 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/budget-management/skills/budget-variance-analysis
  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/budget-management/skills/budget-variance-analysis .claude/skills/budget-variance-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Budget Variance Analysis 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 Budget Variance Analysis 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 Budget Variance Analysis 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 获取场景级配置(预算科目体系/可控性分类)。


/budget-variance-analysis — 预算差异分析

Examples

→ 示例:用户说"帮我分析一下这个月销售费用超预算的主要原因",系统应调用本技能,执行销售费用预算差异分析。

→ 示例:用户说"毛利率差了预算 3 个点,业务说是产品结构变化,帮我验证",系统应调用本技能,区分产品结构和价格因素对毛利率的影响。

→ 示例:用户说"帮我们对比一下三个事业部的预算执行情况,做一个横向比较",系统应调用本技能,执行跨事业部预算执行横向对比分析。

差异分解原理

总差异 = 实际 - 预算

费用类差异分解:
  总差异 = 开支差异 + 效率差异

  开支差异 = 实际开支 - 预算开支
  → 反映价格/单价变化(预算里单位价格 vs 实际单位价格)

  效率差异 = 预算单价 × (实际用量 - 预算用量)
  → 反映用量变化(预算用量 vs 实际用量)

制造类差异分解:
  总差异 = 销量差异 + 价格差异

  销量差异 = (实际销量 - 预算销量) × 预算单价
  价格差异 = 实际销量 × (实际单价 - 预算单价)

  → 注:费用分析时,"销量"替换为"业务量"(如服务次数/项目数)

第一步:计算差异

获取数据:

从 [ERP] 获取:
  - 实际发生额(Total Actual)
  - 实际用量(如有,数量级数据)
  - 实际单价

从 [BK] 获取:
  - 预算金额
  - 预算用量
  - 预算单价

计算差异:

总差异 = 实际发生额 - 预算金额

开支差异 = 实际发生额 - 预算单价 × 实际用量
  → 如果为正:实际比预算"贵"了

效率差异 = 预算单价 × (实际用量 - 预算用量)
  → 如果为正:实际用量比预算"多"了

验证:开支差异 + 效率差异 = 总差异(允许 ±1 元误差)

第二步:原因归类

常见差异原因库

可控原因(管理层可干预):

1. 采购策略变化(未及时货比三家)
2. 人员加班过多(加班费超预算)
3. 供应商涨价(合同到期后新合同价格更高)
4. 业务范围扩大(原预算未覆盖新业务)
5. 审批不严(超标采购未经充分审批)

不可控原因(外部因素):

1. 市场价格上涨(原材料/汇率/租金等)
2. 政策法规变化(社保基数调整/新税收政策)
3. 突发业务需求(重要客户紧急需求)
4. 不可抗力(疫情/自然灾害影响)

预算编制原因(原预算本身有问题):

1. 预算编制时数据不准确(基数错误)
2. 预算假设过于乐观(市场环境变化)
3. 预算覆盖不完整(遗漏必要支出项)

第三步:判断超支性质

判断流程

第一步:差异原因归类

原因属于"不可控"还是"可控"?
  → 不可控:倾向于接受超支,但须记录说明
  → 可控:倾向于要求整改

第二步:判断是否有业务回报

有明确业务回报(战略性超支):
  → 评估超支金额 vs 预期回报
  → 回报 > 超支金额:可接受
  → 回报 ≤ 超支金额:需重新评估

无明确业务回报:
  → 不可接受,须整改

第三步:给出处理建议

战略性超支(可接受):
  → 附条件批准超支
  → 须在年内通过其他科目弥补
  → 下期预算时调整基数

失控超支(不可接受):
  → 不批准新的超支申请
  → 要求提交整改计划
  → 可能影响该部门下期预算

第四步:输出分析报告

═══════════════════════════════════════
预算差异分析报告
分析科目:[部门/科目名称]
分析期间:[YYYY年MM月]
═══════════════════════════════════════

【数据汇总】

预算金额:[X,XXX万元]
实际发生额:[X,XXX万元]
总差异:[XXX万元]([+X% / -X%])

差异分解:
  开支差异:[XXX万元] — [超支/节约]
  效率差异:[XXX万元] — [超支/节约]
  合计验证:✅ 差异匹配 / ❌ 差异不匹配

【差异原因分析】

主要原因:[最核心的原因]
次要原因:[次要原因]

原因归类:
  [X%] 可控原因:[原因描述]
  [X%] 不可控原因:[原因描述]
  [X%] 预算编制原因:[原因描述]

超支性质判断:
  [ ] 战略性超支(有明确业务回报)
  [ ] 失控超支(无正当理由)
  [ ] 混合超支(部分可控)

【业务回报评估】(如为战略性超支)

超支金额:[XXX万元]
预期回报:[具体业务回报描述]
回报评估:[回报 > 超支 / 回报 ≤ 超支]

【处理建议】

建议类型:
  [ ] 批准超支(附条件)
  [ ] 不批准超支
  [ ] 提交整改计划
  [ ] 提交预算调整申请

具体建议:
  1. [建议一]
  2. [建议二]

补救措施(如批准超支):
  → 建议从以下科目弥补:[科目名称] [金额]
  → 弥补时限:[YYYY-MM-DD]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
处理结论:[✅ 可批准 / ⚠️ 附条件批准 / ❌ 不批准]
═══════════════════════════════════════

升级触发条件

  • 超预算金额 > [填空:如 50 万元]
  • 差异 > 20% 且无可控原因
  • 连续 3 个月同一科目超预算
  • 疑似预算舞弊(执行率刚好 100% 附近,或季度末集中花钱)
  • 超支性质判断分歧(部门与财务经理意见不一致)

Finance Skills — budget-variance-analysis atomic skill

Frequently asked questions

What does the Budget Variance Analysis AI skill do?

预算差异分析 — 对超预算科目进行根因分析,区分"战略性超支"与"失控超支"。 适用情形:budget-execution-monitor 发现超预算项后, 对重点超预算科目执行差异分析,找出原因并给出处理建议。 核心:差异分解(量差/价差)+ 原因归类 + 决策建议。

Why use Budget Variance Analysis on TypingMind?

Because you install it once and use it with any model. Budget Variance Analysis 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 Budget Variance Analysis in TypingMind?

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

Which AI models can use Budget Variance Analysis?

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 Budget Variance Analysis?

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

Is the Budget Variance Analysis 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 👇