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 cost-control-mastergit 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/cost-control-master)<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/cost-control-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/cost-control-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.
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/cost-control-master"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/cost-control-master.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.00092 | $0.02095 |
| Opus 5 | $0.00046 | $0.01047 |
| Sonnet 5 | $0.00018 | $0.00419 |
| Haiku 4.5 | $0.00009 | $0.00210 |
Grade A, and why
cost-control-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.
How it starts
The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
加载上下文
首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(成本控制目标/超支标准/升级矩阵)。
/cost-control-master — 成本控制主流程
完整分析流程
Step 1:标准成本差异(快速扫描)
→ 执行 standard-cost-variance
→ 识别主要差异项
Step 2:费用率分析(深入诊断)
→ 执行 expense-ratio-analysis
→ 分析费用率变化原因
Step 3:成本中心绩效(责任落实)
→ 执行 cost-center-performance
→ 评估各中心绩效
Step 4:综合诊断(根因归因)
→ 综合 Step 1-3 发现的问题
→ 归因到具体责任人
Step 5:改善建议与待办
→ 提出可落地的改善建议
→ 输出待办清单
第一步:标准成本差异
执行 Skill: standard-cost-variance
□ 执行状态:[成功/失败/部分成功]
□ 总成本差异:[±XXX万]([±X%])
□ 直接材料差异:[±XXX万](量差/价差)
□ 直接人工差异:[±XXX万](效率/工资率)
□ 制造费用差异:[±XXX万]
□ TOP 差异项:
- [材料A]:[±XXX万]
- [产品A]:[±XXX万]
第二步:费用率分析
执行 Skill: expense-ratio-analysis
□ 执行状态:[成功/失败/部分成功]
□ 销售费用率:[X%](目标 [X%])
□ 管理费用率:[X%](目标 [X%])
□ 研发费用率:[X%](目标 [X%])
□ TOP 超支费用:
- [科目A]:[+XXX万] — 性质 [合理/失控]
- [科目B]:[+XXX万] — 性质 [合理/失控]
□ 战略性投入:[XXX万]
□ 失控性超支:[XXX万]
第三步:成本中心绩效
执行 Skill: cost-center-performance
□ 执行状态:[成功/失败/部分成功]
□ 优秀绩效中心:[X] 个([CC01]/[CC02])
□ 合格绩效中心:[X] 个([CC03])
□ 不合格绩效中心:[X] 个([CC04])
□ 最佳绩效:[CC01] — 单位成本低于标准 [X%]
□ 最差绩效:[CC04] — 单位成本高于标准 [X%]
□ 绩效奖励池:[XXX万](节约额的 [X%])
□ 须改善成本中心:[CC03]/[CC04]
第四步:综合诊断
跨维度综合分析:
问题一:[材料成本超支 — 具体描述]
□ 表现:材料成本率 [X%](目标 [X%]),超支 [XXX万]
□ 标准成本分析:量差 [XXX万] + 价差 [XXX万]
□ 费用率分析:[...]
□ 成本中心绩效:[CC02] 超支最多
□ 综合根因:[...]
□ 责任归属:采购部门 [X%] + 生产部门 [X%]
□ 风险等级:[🔴高/⚠️中/✅低]
问题二:[销售费用失控 — 具体描述]
□ 表现:销售费用率 [X%](目标 [X%]),超支 [XXX万]
□ 标准成本分析:不适用(费用类)
□ 费用率分析:[...]
□ 成本中心绩效:[CC10] 超支最多
□ 综合根因:[...]
□ 责任归属:销售部门 [X%] + 市场部门 [X%]
□ 风险等级:[🔴高/⚠️中/✅低]
第五步:生成成本控制综合报告
═══════════════════════════════════════
成本控制报告
分析期间:[YYYY年MM月]
报告日期:[YYYY-MM-DD]
═══════════════════════════════════════
【核心结论】
✅ 本月成本表现:[一句话总结]
□ 亮点:[...]
□ 问题:[...]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【一、成本绩效概览】
| 本期 | 预算 | 目标 | 执行率 | 状态
--------|----------|----------|----------|----------|------
直接材料| [XXX万] | [XXX万] | — | [X%] | [✅/⚠️/🔴]
直接人工| [XXX万] | [XXX万] | — | [X%] | [✅/⚠️/🔴]
制造费用| [XXX万] | [XXX万] | — | [X%] | [✅/⚠️/🔴]
销售费用| [XXX万] | [XXX万] | [X%]率 | [X%] | [✅/⚠️/🔴]
管理费用| [XXX万] | [XXX万] | [X%]率 | [X%] | [✅/⚠️/🔴]
研发费用| [XXX万] | [XXX万] | [X%]率 | [X%] | [✅/⚠️/🔴]
【二、TOP 成本异常项】
异常 1:[材料成本超支]
□ 金额:[XXX万] 超支
□ 原因:量差 [XXX万] + 价差 [XXX万]
□ 责任:[采购部门 X%] + [生产部门 X%]
□ 改善建议:[...]
异常 2:[销售费用失控]
□ 金额:[XXX万] 超支
□ 原因:[...]
□ 责任:[销售部门 X%] + [市场部门 X%]
□ 改善建议:[...]
【三、成本中心绩效】
| 成本中心 | 绩效等级 | 综合评价 | 奖惩 |
|---------|----------|----------|------|
[CC01] | [A] | 优秀 | 奖励 [X] 万 |
[CC02] | [B] | 良好 | — |
[CC03] | [C] | 合格 | — |
[CC04] | [D] | 不合格 | 改善计划 |
□ 须整改成本中心:[CC04] — 目标单位成本 [X] 元/件
【四、综合诊断】
□ 成本可控项:[X] 项(已落实责任)
□ 成本关注项:[X] 项(须跟进)
□ 成本预警项:[X] 项(须升级)
【五、改善建议】
□ 短期改善(本月内):
- [建议1] — 责任人:[X] — 预期节约 [XXX万]
- [建议2] — 责任人:[X] — 预期节约 [XXX万]
□ 中期改善(季度内):
- [建议3] — 责任人:[X] — 预期节约 [XXX万]
□ 结构性改善(年度):
- [建议4] — 责任人:[X] — 预期节约 [XXX万]
【六、待办清单】
□ 高优先级(本月内须完成):
1. [待办1] — 责任人:[X] — 完成日期:[X]
2. [待办2] — 责任人:[X] — 完成日期:[X]
□ 中优先级(下季度须完成):
1. [待办3] — 责任人:[X] — 完成日期:[X]
□ 下月成本控制目标:
- 总成本执行率:[X]%
- 材料成本率:[X%]
- 销售费用率:[X%]
═══════════════════════════════════════
编制人:[成本会计]
审核人:[财务经理]
批准人:[财务总监]
═══════════════════════════════════════
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 · 237 lines · 92 tokens per session scan A 33eba1fc93fd
cost-control-master is a skill published in the GitHub repository vivy-yi/finance-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 92 tokens to every session and 2,095 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…