Skip to content
Skills Library
Finance & accounting · Analysis

financial-analysis-dcf

/financial-analysis-dcf

DCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".

Licence
MIT
Last repository change
24.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
6
Scripts
5
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 5 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: run.sh, scripts/get_beta.py, scripts/get_dcf.py, scripts/get_fundamentals.py, scripts/get_quote.py

What it does and when to use it

DCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".

Triggers from the description

what is AAPL worthDCF MSFTis NVDA overvaluedintrinsic value of GOOGLfair value Tesla
Original author description

DCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials. Use when asked to: estimate intrinsic value or fair value of a US stock; determine if a stock is overvalued or undervalued; run a discounted cash flow analysis; calculate upside/downside from current price. Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued", "intrinsic value of GOOGL", "fair value Tesla".

How it works

  1. Setup
  2. Workflow
  3. Model Assumptions
  4. Formatting Rules
  5. When NOT to Use
  6. Limitations
Original SKILL.md headings · 97 lines, 607 words
SKILL.md preview
---
name: financial-analysis-dcf
description: >
  DCF (Discounted Cash Flow) valuation for US stocks using SEC EDGAR financials.
  Use when asked to: estimate intrinsic value or fair value of a US stock;
  determine if a stock is overvalued or undervalued; run a discounted cash flow analysis;
  calculate upside/downside from current price.
  Triggers: "what is AAPL worth", "DCF MSFT", "is NVDA overvalued",
  "intrinsic value of GOOGL", "fair value Tesla".
---

# DCF Valuation

Estimate intrinsic value per share using a discounted cash flow model. Data from SEC EDGAR (financials), FRED (risk-free rate), and Yahoo Finance (price, beta).

## Setup

No dependencies required. All scripts use Python standard library only.

## Workflow

### Step 1 — Run the DCF script

```bash
bash run.sh <SYMBOL>
# With custom assumptions:
bash run.sh <SYMBOL> --terminal-growth 3.0 --fcf-growth 15 --projection-years 7
```

The script:
1. Fetches 5 years of 10-K data from SEC EDGAR
2. Computes unlevered FCF = OCF − CapEx + InterestExpense × (1−T)
3. Derives historical FCF growth rate (or uses override)
4. Gets risk-free rate from FRED (10Y Treasury)
5. Gets beta and current price from Yahoo Finance
6. Calculates WACC = Ke × E/V + Kd × (1−T) × D/V
7. Projects FCFs, computes terminal value (Gordon Growth Model)
8. Generates 5×5 sensitivity table (WACC vs terminal growth)

### Step 2 — Section 1: Summary

**First output must be this summary box:**

```
[TICKER] — DCF VALUATION

Intrinsic value:  $XXX.XX  |  Current price: $XXX.XX  |  ▲/▼ XX.X%
WACC:             X.X%     |  Terminal growth: X.X%   |  FCF base: $X.XB
```

### Step 3 — Section 2: Sensitivity Table

Show the full 5×5 sensitivity table from the JSON output:

```
Terminal Growth \\ WACC  |  8.2%   |  9.2%   |  10.2%
------------------------|---------|---------|--------
1.5%                    | $198.4  | $176.2  | $158.1
2.5%                    | $221.3  | $194.5  | $172.6
3.5%                    | $251.7  | $218.0  | $191.4
```

Display `N/A` for null values (WACC ≤ terminal growth).

### Step 4 — Section 3: Interpretation

Note key assumptions and their impact:
- Which inputs drive the most variance (usually WACC and growth rate)
- Whether the beta seems reasonable for the company
- How the historical FCF growth rate compares to analyst expectations
- Any red flags (negative FCF years, volatile cash flows, high debt)

**Disclaimer**: DCF output is highly sensitive to WACC and growth assumptions. It should be used as one input among many, not as a definitive price target. Always present the sensitivity table alongside the point estimate.

---

## Model Assumptions

- **ERP**: 5.5% (Damodaran market average)
- **Tax rate**: derived from SEC filings (IncomeTaxExpense / PreTaxIncome); fallback 21%
- **Cost of debt**: derived from SEC filings (InterestExpense / LongTermDebt); fallback 4%
- **FCF**: Unlevered = OCF − CapEx + InterestExpense × (1−T) from most recent 10-K
- **FCF growth**: per-share UFCF CAGR from historical 10-K data (accounts for buybacks); fallback 3% if insufficient data
- **Beta**: OLS regression on daily returns vs SPY (~5 years); Blume adjustment applied (adjusted = 0.67 × raw + 0.33)
- **Shares outstanding**: from SEC EDGAR; fallback to market cap / price
- **Mid-year convention**: FCFs and terminal value both discounted at mid-year

## Formatting Rules

- Intrinsic value and current price: "$XXX.XX"
- Upside/downside: "▲ +XX.X%" or "▼ −XX.X%"
- WACC and growth rates: one decimal, e.g. "9.2%"
- FCF: B or M, e.g. "$12.3B"

## When NOT to Use

- **Negative or volatile FCF**: companies with negative free cash flow cannot be valued via DCF — the model requires a positive base FCF to project forward
- **Banks and financial institutions**: revenue and cash flow structures differ fundamentally (interest income vs. operating revenue); use price-to-book or dividend discount models instead
- **Insurance companies**: similar to banks — earnings driven by underwriting and investment income, not operating cash flow
- **Pre-revenue or early-stage companies**: no meaningful FCF history to extrapolate

## Limitations

- **US stocks only**: SEC EDGAR data for US-listed equities
- **Backward-looking**: uses historical financials — future may differ significantly
- **No analyst estimates**: growth rates extrapolated from historical data unless user provides one
Files in this package (6)
  • SKILL.md 4 KB
  • run.sh 1 KB
  • scripts/get_beta.py 4 KB
  • scripts/get_dcf.py 10 KB
  • scripts/get_fundamentals.py 12 KB
  • scripts/get_quote.py 6 KB

Versions

The database has no other skills named financial-analysis-dcf.

Database snapshot: 13.11.2026 · package version 7c27c21cd973 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dcf-valuation
    Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?
  • 95dcf-valuation
    Performs discounted cash flow (DCF) valuation analysis to estimate intrinsic value per share for Japanese listed companies. Triggers when user asks for fair value, intrinsic value, DCF, valuation, "what is X worth", price target, undervalued/overvalued analysis, or wants to…
  • 100glaw-company-valuation
    Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth",…
  • 100quantitative-valuation
    Estimate intrinsic value of stocks and companies using DCF, dividend discount models, comparable multiples, and residual income. Use when the user asks about discounted cash flow, DCF models, WACC, terminal value, dividend discount models, comparable multiples, or…
  • 98company-valuation
    Estimate a public company's intrinsic value with DCF, relative (peer multiple), and sum-of-the-parts (SOTP) methods, then blend them into an implied share price with upside/downside vs the market price, a WACC and terminal-growth sensitivity grid, and bull/base/bear scenarios.…
  • 100biz-dcf
    Build Discounted Cash Flow (DCF) valuation models to estimate intrinsic value. Use this skill when the user needs to value a company, evaluate an investment, estimate fair share price, or build financial projections — even if they say 'what is this company worth', 'should we…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.