dcf-valuation

dcf-valuation is a skill for Claude Code from yennanliu/InvestSkill. It costs 13 tokens per session (1,125 once invoked), scanned A, original, MIT.

A reference for discounted cash flow (DCF) valuation, a method that estimates what a company is worth from the cash it may generate in the future.

In plain words
What is it for?
It is for building or checking DCF models and sensitivity analysis. The instructions say the full method has moved into the stock-valuation skill.
Why use it?
It provides formulas and scenario assumptions for testing how changes in growth, risk, and financing affect an estimated share value.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the us-stock-analysis plugin — 27 skills shipped together

Good fit It is for building or checking DCF models and sensitivity analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yennanliu/investskill/dcf-valuation
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 yennanliu/InvestSkill --skill dcf-valuation
Clone the repo
git clone --depth 1 https://github.com/yennanliu/InvestSkill

Made for: Claude Code.

Or install us-stock-analysis, the plugin that ships this one along with the rest of its 27 skills.

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 dcf-valuation

README.md
[![agentmods](https://agentmods.dev/badge/skills/yennanliu/investskill/dcf-valuation.svg)](https://agentmods.dev/skills/yennanliu/investskill/dcf-valuation)
Your own site
<a href="https://agentmods.dev/skills/yennanliu/investskill/dcf-valuation"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/dcf-valuation.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,125 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.00013 $0.01125
Opus 5 $0.00006 $0.00562
Sonnet 5 $0.00003 $0.00225
Haiku 4.5 $0.00001 $0.00112

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

Security

Grade A, and why

dcf-valuation 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 7d 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.

plugins/us-stock-analysis/skills/dcf-valuation/SKILL.md · 109 lines

How it starts

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

DCF Valuation

This skill has been merged into stock-valuation. Use /us-stock-analysis:stock-valuation for comprehensive valuation including full DCF modeling, WACC decomposition, 3-scenario sensitivity analysis, and comparable company analysis.


Quick DCF Reference

WACC Formula and Components

WACC = Ke × (E/V) + Kd × (D/V)

Where:
  Ke  = Cost of Equity  = Rf + β × (Rm − Rf) + Size Premium
  Kd  = After-Tax Cost of Debt  = (Interest Expense / Total Debt) × (1 − Tax Rate)
  E/V = Equity Weight  = Equity Market Cap / (Equity Market Cap + Total Debt)
  D/V = Debt Weight    = Total Debt / (Equity Market Cap + Total Debt)

Typical WACC Ranges by Risk Profile:
Risk Profile         WACC Range    Examples
─────────────────────────────────────────────────────
Low risk (utility)   6–8%          Regulated utilities, large cap staples
Medium risk          8–11%         Large cap tech, established growth
High risk            11–15%        Small cap, emerging market, cyclical
Very high risk       15–20%+       Early-stage, distressed, pre-revenue

Three-Scenario Names and Default Probabilities

Scenario    Probability    Narrative
Bull         20%           Market share gains, margin expansion, favorable macro
Base         60%           Historical trend continuation, guidance-aligned
Bear         20%           Competitive pressure, margin compression, macro headwinds

Probability-Weighted IV = (20% × Bull IV) + (60% × Base IV) + (20% × Bear IV)

5×5 Sensitivity Table Template

Sensitivity Table — Intrinsic Value per Share ($)
              Terminal Growth Rate
WACC     1.0%    1.5%    2.0%    2.5%    3.0%
6.0%     $xxx    $xxx    $xxx    $xxx    $xxx
7.0%     $xxx    $xxx    $xxx    $xxx    $xxx
8.0%     $xxx    $xxx    $xxx    $xxx    $xxx  ← Base Case
9.0%     $xxx    $xxx    $xxx    $xxx    $xxx
10.0%    $xxx    $xxx    $xxx    $xxx    $xxx

Terminal Value Formula

Gordon Growth Model:  TV = FCF₁₀ × (1 + g) / (WACC − g)
Exit Multiple Method: TV = FCFₙ × (EV / FCF exit multiple)

Rule: Never set g > WACC. Flag if TV > 80% of total Enterprise Value.

Read the full file on GitHub · 109 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. 7d ago First seen · 109 lines · 13 tokens per session scan A 071a726b22fc

Subscribe to this mod's changes

dcf-valuation is a skill published in the GitHub repository yennanliu/InvestSkill (200 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 1,125 once invoked, about $0.0001 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.