Wacc Calculation logo

Wacc Calculation

Community
vivy-yi
wacc-calculation

加权平均资本成本(WACC)计算 — 计算公司的 WACC, 用于折现率设定、投资评估和价值管理。 适用情形:年度 WACC 更新、投资评估、估值建模时,或用户要求"计算 WACC"时执行。 核心:权益成本 + 债务成本 + 资本结构 + WACC 组装。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namewacc-calculation
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 Wacc Calculation 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/capital-allocation/skills/wacc-calculation
  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/capital-allocation/skills/wacc-calculation .claude/skills/wacc-calculation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Wacc Calculation 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 Wacc Calculation 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 Wacc Calculation 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 获取场景级配置(WACC 计算标准/Beta 来源/风险溢价参数)。


/wacc-calculation — WACC 计算

Examples

→ 示例:用户说"帮我算一下我们公司的 WACC,要用于 DCF 估值",系统应调用本技能,执行 WACC 计算。

→ 示例:用户说"评级下调后我们的 WACC 会变吗,帮我测算一下",系统应调用本技能,评估评级变化对 WACC 的影响。

→ 示例:用户说"不同业务的 WACC 应该一样吗,还是要根据风险调整",系统应调用本技能,制定风险调整 WACC 方法论。

第一步:资本结构确定

当前资本结构:

□ 数据截止:[YYYY-MM-DD]
□ 数据来源:[财务系统/年报]

□ 资本结构明细:
| 项目 | 金额(万) | 占比 |
|------|-----------|------|
| 短期借款 | [X] | [X]% |
| 长期借款 | [X] | [X]% |
| 债券 | [X] | [X]% |
| 债务合计(D) | [X] | [X]% |
| 普通股权益 | [X] | [X]% |
| 少数股东权益 | [X] | [X]% |
| 权益合计(E) | [X] | [X]% |
| **合计(V = D+E)** | **[X]** | **100%** |

□ 市场价值 vs 账面价值:
  → 债务通常使用账面价值(接近市场价值,除非利率大幅变动)
  → 权益优先使用市场价值(如为上市公司)

资本结构权重:

□ E/V = [X]%(权益权重)
□ D/V = [X]%(债务权重)
□ 资本结构类型:[保守/均衡/激进]

第二步:权益成本计算

CAPM 模型:

□ 无风险利率(Rf):
  → 参考基准:10 年期国债收益率
  → 当前值:[X]%([YYYY-MM-DD])
  → 数据来源:[Wind/Choice/彭博]

□ 市场风险溢价(ERP = Rm - Rf):
  → 历史 ERP([X] 年均值):[X]%
  → 当前市场隐含 ERP:[X]%
  → 推荐使用:[X]%([理由])

□ Beta 计算:
  → 方法 1:历史 Beta([X] 年,周/月)=[X]
  → 方法 2:行业 Beta(无杠杆)=[X]
  → 调整 Beta = 2/3 × 历史 + 1/3 × 1.0 = [X]

  → 推荐 Beta:[X]
  → 数据来源:[Bloomberg/FactSet/Wind]

□ 权益成本(CAPM):
  → Ke = Rf + Beta × ERP
  → = [X]% + [X] × [X]%
  → = [X]%

□ 权益成本附加调整(如适用):
  → 规模溢价:[+/-X]%(小市值公司附加)
  → 特定风险溢价:[+/-X]%(公司特定风险)
  → 调整后权益成本 = [X]%

权益成本汇总:

□ 最终权益成本(Ke):[X]%
□ 计算依据:[CAPM + 附加调整]
□ 置信度:[高/中/低]

第三步:债务成本计算

债务成本计算:

□ 税前债务成本:
  → 方法 1:现有债务利率加权 = [X]%
    (短期借款利率 [X]% × 权重 + 长期借款利率 [X]% × 权重)

  → 方法 2:当前新增借款利率 = [X]%
    (参考银行贷款基准利率 / 债券发行利率)

  → 推荐使用:[方法 1/2] — [理由]

□ 税率:
  → 公司所得税率:[X]%
  → 地方优惠税率(如适用):[X]% → 平均有效税率 [X]%

□ 税后债务成本:
  → Kd(after-tax) = 税前成本 × (1 - T)
  → = [X]% × (1 - [X]%)
  → = [X]%

债务成本调整(如有必要):

□ 债务评级(如有):
  → 公司债券评级:[AA/BBB/...]
  → 评级对应利差:[X] bps
  → 调整后债务成本 = 无风险利率 + 利差 = [X]%

□ 最终债务成本:[X]%

第四步:WACC 组装

WACC 计算:

□ WACC = E/V × Ke + D/V × Kd(after-tax)

  = [X]% × [X]% + [X]% × [X]%
  = [X]% + [X]%
  = [X]%

□ WACC = [X]%

WACC 分项贡献:

□ 权益贡献:E/V × Ke = [X]% × [X]% = [X]%(贡献 WACC 的 [X]%)
□ 债务贡献:D/V × Kd(after-tax) = [X]% × [X]% = [X]%(贡献 WACC 的 [X]%)

WACC 敏感性分析:

□ WACC 对关键参数敏感性:
| 参数 | 变化 | WACC 变化 |
|------|------|----------|
| 无风险利率 +/-50bps | [+/-50bps] | [+/-X bps] |
| ERP +/-50bps | [+/-50bps] | [+/-X bps] |
| Beta +/-0.1 | [+/-0.1] | [+/-X bps] |
| 资本结构 D/E +/-10% | [+/-10%] | [+/-X bps] |

第五步:历史与对标

WACC 历史:

□ 过去 5 年 WACC:
  → [Year-4]:[X]%
  → [Year-3]:[X]%
  → [Year-2]:[X]%
  → [Year-1]:[X]%
  → [Year-0]:[X]%

□ 变化驱动因素:
  → [Year-1] → [Year-0] 变化:[+/-X] bps
  → 主因:[描述]

行业对标:

□ 同业 WACC 对比:
| 公司 | WACC | Beta | D/E | 备注 |
|------|------|------|-----|------|
| [同业A] | [X]% | [X] | [X] | ... |
| [同业B] | [X]% | [X] | [X] | ... |
| **行业中位数** | **[X]%** | — | — | — |

□ 我司 vs 行业中位数:[+/-X bps]
□ 差异原因:[分析]

第六步:生成 WACC 计算报告

═══════════════════════════════════════
WACC 计算报告
计算日期:[YYYY-MM-DD]
参考利率:[X]%(10 年国债)
═══════════════════════════════════════

【资本结构】
□ 债务(D):[X] 万([X]%)
□ 权益(E):[X] 万([X]%)
□ 合计(V):[X] 万

【权益成本】
□ 无风险利率(Rf):[X]%
□ 市场风险溢价(ERP):[X]%
□ Beta:[X]([历史/行业/调整])
□ 规模/特定溢价:[+/-X]%
□ 权益成本(Ke):[X]%

【债务成本】
□ 税前债务成本:[X]%
□ 有效税率:[X]%
□ 税后债务成本(Kd):[X]%

【WACC 结果】
═══════════════════════════════════════
□ WACC = [X]%
═══════════════════════════════════════

【WACC 贡献分解】
□ 权益贡献:[X]%([X] bps)
□ 债务贡献:[X]%([X] bps)

【历史趋势】
□ 上期 WACC:[X]% → 本期 WACC:[X]% = [+/-X] bps

【行业对标】
□ 行业中位数:[X]%
□ vs 行业:[+/-X] bps

【敏感性分析】
□ 最关键参数:[参数名](+/-50bps 导致 WACC +/-[X] bps)

【适用场景建议】
□ DCF 折现率:[✅ 直接使用 / ⚠️ 建议调整]
□ 投资评估门槛率:[建议 WACC +/-X bps]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
WACC 稳定性:[✅ 稳定 / ⚠️ 波动]
═══════════════════════════════════════

升级触发条件

  • 无风险利率发生重大变化(> [X] bps)
  • Beta 计算基础(股价/指数)发生结构性变化
  • 资本结构发生重大变化(> [X]% 变动)
  • 公司评级发生调整(影响债务成本估算)
  • 须使用 WACC 进行重大投资决策(> [X] 万)
  • WACC 计算与市场共识存在重大分歧(> [X] bps)

Finance Skills — wacc-calculation atomic skill

Frequently asked questions

What does the Wacc Calculation AI skill do?

加权平均资本成本(WACC)计算 — 计算公司的 WACC, 用于折现率设定、投资评估和价值管理。 适用情形:年度 WACC 更新、投资评估、估值建模时,或用户要求"计算 WACC"时执行。 核心:权益成本 + 债务成本 + 资本结构 + WACC 组装。

Why use Wacc Calculation on TypingMind?

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

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

Which AI models can use Wacc Calculation?

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 Wacc Calculation?

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

Is the Wacc Calculation 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 👇