financing-cost-calculation

financing-cost-calculation is a skill for Claude Code from vivy-yi/finance-skills. It costs 92 tokens per session (1,878 once invoked), scanned A, original, MIT.

A financial analysis process for calculating the cost of borrowing, issuing shares, or using mixed financing, including WACC—the average cost of all company funding.

In plain words
What is it for?
Use it to compare loans, bonds, equity, and hybrid funding, calculate after-tax costs, and run sensitivity analysis.
Why use it?
It gives financing decisions a consistent cost comparison and shows how assumptions such as interest rates, taxes, and risk affect the result.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to compare loans, bonds, equity, and hybrid funding, calculate after-tax costs, and run sensitivity analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vivy-yi/finance-skills/financing-cost-calculation
Install

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.

Any agent
npx skills add vivy-yi/finance-skills --skill financing-cost-calculation
Clone the repo
git clone --depth 1 https://github.com/vivy-yi/finance-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for financing-cost-calculation

README.md
[![agentmods](https://agentmods.dev/badge/skills/vivy-yi/finance-skills/financing-cost-calculation/github.svg)](https://agentmods.dev/skills/vivy-yi/finance-skills/financing-cost-calculation)
Your own site
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/financing-cost-calculation"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/financing-cost-calculation/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.

agentmods 80×15 button for financing-cost-calculation

Your own site · 80×15
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/financing-cost-calculation"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/financing-cost-calculation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,878 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01878
Opus 5 $0.00046 $0.00939
Sonnet 5 $0.00018 $0.00376
Haiku 4.5 $0.00009 $0.00188

Measured 9d ago against content hash 7ea226c79d3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

financing-cost-calculation 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 9d 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.

finance-skills/skills/financing-structure/skills/financing-cost-calculation/SKILL.md · 209 lines

How it starts

The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(WACC 模型/融资渠道/利率假设)。


/financing-cost-calculation — 融资成本计算

Examples

→ 示例:用户说"帮我算一下我们目前加权平均的融资成本,和行业比是高还是低",系统应调用本技能,执行 WACC 计算和行业对标。

→ 示例:用户说"新的银行贷款审批下来了,帮我评估这笔钱的实际成本",系统应调用本技能,计算新融资工具的实际成本。

→ 示例:用户说"发行美元债的融资成本要怎么算,需要考虑哪些因素",系统应调用本技能,执行外币融资成本全成本测算。

第一步:融资结构拆解

融资结构输入:

□ 目标融资规模:[X] 万
□ 融资结构(各方式占比):
| 融资方式 | 占比 | 金额 | 备注 |
|---------|------|------|------|
| 银行贷款 | [X]% | [X]万 | [类型] |
| 债券 | [X]% | [X]万 | [期限/利率类型] |
| 股权融资 | [X]% | [X]万 | [增发/引入战投] |
| 混合工具 | [X]% | [X]万 | [可转债/永续债] |

第二步:债务成本计算

银行贷款成本:

□ 贷款条件:
  → 贷款金额:[X] 万
  → 贷款期限:[X] 年
  → 利率类型:[固定/浮动]
  → 基准利率:[X]%
  → 利差:[X] bps([X]%)
  → 实际利率:[X]%(基准 + 利差)

□ 浮动利率调整假设(如适用):
  → 利率重设周期:[每年/每半年]
  → 预期利率变动:[+/-X] bps/年

□ 税前债务成本:[X]%
□ 税率:[X]%
□ 税后债务成本:[X]%(税前 × (1 - 税率))

债券融资成本:

□ 债券条件:
  → 金额:[X] 万
  → 期限:[X] 年
  → 票面利率:[X]%
  → 发行价格:[X](折价/平价/溢价)
  → 到期收益率(YTM):[X]%
  → 信用评级:[AAA/AA/A/BBB]
  → 担保/信用支持:[有担保/无担保]

□ 税后债券成本:[X]%(YTM × (1 - 税率))

第三步:股权成本计算

CAPM 模型计算股权成本:

□ 无风险利率(Rf):[X]%(10 年期国债收益率)
□ 市场风险溢价(ERP):[X]%(历史/前瞻)
□ Beta(β):[X](可比公司均值/调整后)
□ 特定风险溢价:[X]%(如适用)

□ 股权成本(CAPM):
  = Rf + β × ERP + 特定风险
  = [X]% + [X] × [X]% + [X]%
  = [X]%

□ DCF 隐含股权成本(交叉验证):
  → 当前股价:[X]
  → 预期 DPS:[X]
  → 永续增长率:[X]%
  → 隐含成本:[X]%

第四步:WACC 组装

WACC 计算:

□ 权重计算:
  → 债务市值(D):[X] 万
  → 股权市值(E):[X] 万
  → 总市值(V = D + E):[X] 万
  → D/V:[X]% | E/V:[X]%

□ WACC 组装:
WACC = (D/V) × Kd × (1-t) + (E/V) × Ke
     = [X]% × [X]% × [1-X]% + [X]% × [X]%
     = [X]%

□ WACC 敏感性:
  → 股权成本 +/- 100bps → WACC +/- [X] bps
  → 债务成本 +/- 100bps → WACC +/- [X] bps
  → D/V 比例 +/- 10% → WACC +/- [X] bps

第五步:边际融资成本

边际融资成本分析:

□ 新增债务边际成本:
  → 金额:[X] 万
  → 预计利率:[X]%
  → 税后边际成本:[X]%

□ 新增股权边际成本:
  → 金额:[X] 万
  → 预计发行折价:[X]%
  → 边际股权成本:[X]%

□ 边际 WACC:
  → 新增融资边际 WACC:[X]%
  → vs 当前 WACC:[+/-X] bps

第六步:生成融资成本报告

═══════════════════════════════════════
融资成本计算报告
场景:[新融资/再融资/WACC更新]
计算日期:[YYYY-MM-DD]
═══════════════════════════════════════

【融资结构】
□ 总规模:[X] 万
□ 债务占比:[X]% | 股权占比:[X]%

【债务成本】
□ 银行贷款:税后 [X]%([利率类型])
□ 债券:YTM [X]%,税后 [X]%
□ 综合债务成本(加权):[X]%

【股权成本】
□ CAPM:[X]%(Rf=[X]%,β=[X],ERP=[X]%)
□ DCF 隐含成本(验证):[X]%
□ 采用股权成本:[X]%

【WACC】
□ 当前 WACC:[X]%
□ D/V:[X]% | E/V:[X]%

【边际融资成本】
□ 新增债务边际成本:[X]%
□ 新增股权边际成本:[X]%
□ 边际 WACC:[X]%(vs 当前 [+/-X] bps)

【WACC 敏感性】
| 变动因素 | 变动幅度 | WACC 变动 |
|---------|---------|---------|
| 股权成本 | +/-100bps | [+/-X]bps |
| 债务成本 | +/-100bps | [+/-X]bps |
| D/V 比例 | +/-10% | [+/-X]bps |

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
适用决策:[投资评估/融资决策/并购定价]
═══════════════════════════════════════

Read the full file on GitHub · 209 lines

Changes

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.

  1. 9d ago First seen · 209 lines · 92 tokens per session scan A 7ea226c79d3f

Subscribe to this mod's changes

financing-cost-calculation is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 92 tokens to every session and 1,878 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-09-03.

Related

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.

kangarooking/cangjie-skill · 141 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 123 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 110 tokens

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.

rorkai/app-store-connect-cli-skills · 45 tokens

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…

foryourhealth111-pixel/Vibe-Skills · 75 tokens