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.
npx skills add vivy-yi/finance-skills --skill budget-variance-analysisgit clone --depth 1 https://github.com/vivy-yi/finance-skillsWrote 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.
[](https://agentmods.dev/skills/vivy-yi/finance-skills/budget-variance-analysis)<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/budget-variance-analysis"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/budget-variance-analysis/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.
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/budget-variance-analysis"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/budget-variance-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.01819 |
| Opus 5 | $0.00049 | $0.00910 |
| Sonnet 5 | $0.00020 | $0.00364 |
| Haiku 4.5 | $0.00010 | $0.00182 |
Grade A, and why
budget-variance-analysis 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.
How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
加载上下文
首次使用时: 读取 ../../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]
═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
处理结论:[✅ 可批准 / ⚠️ 附条件批准 / ❌ 不批准]
═══════════════════════════════════════
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.
- 11d ago First seen · 226 lines · 99 tokens per session scan A 4a380ccc5d10
budget-variance-analysis is a skill published in the GitHub repository vivy-yi/finance-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 1,819 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.
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.
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…
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…
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…
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.
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…