agentsclimarketplace

Discounted cashflow model

Skill serejaris/kimi-skills/skills/discounted-cashflow-model

Полная коллекция скиллов Kimi (267 built-in + 7 plugin skills), выгруженная из сандбокса агента

Install
npx -y skills add serejaris/kimi-skills --skill discounted-cashflow-model

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Builds a discounted cash flow (DCF) valuation model, calculating enterprise value, equity value, and per-share price with a growth-rate × discount-rate sensitivity analysis matrix. Triggered by requests like 'do a DCF on [company]', 'run a valuation', 'calculate WACC/discount rate', or mentions of free cash flow, terminal value, or sensitivity analysis.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.1 KB, as published. Nobody here has run it

Discounted Cash Flow Valuation Model

A DCF (Discounted Cash Flow) valuation tool that supports full free cash flow projections, terminal value calculation, enterprise value derivation, and automatic generation of a growth rate × discount rate sensitivity analysis matrix.

Quick Start

Basic DCF Valuation

python scripts/dcf_model.py --fcf 1000 --growth 0.15 --discount 0.10

With Sensitivity Analysis Matrix

python scripts/dcf_model.py --fcf 1000 --growth 0.15 --discount 0.10 --sensitivity

Full Equity Valuation + CSV Export

python scripts/dcf_model.py \
    --fcf 5000 --growth 0.12 --discount 0.09 \
    --terminal-growth 0.03 --years 5 \
    --debt 8000 --cash 3000 --shares 10000000 \
    --currency "M USD" \
    --sensitivity \
    --growth-range 0.05,0.25,0.05 \
    --discount-range 0.06,0.14,0.02 \
    --output valuation.csv

Detailed Usage

Core Valuation Workflow

  1. Projected Free Cash Flows: Project FCF for each year based on a base FCF and growth rate
  2. Terminal Value: Calculated using the Gordon Growth Model (perpetuity growth model): TV = FCF_n × (1+g) / (r-g)
  3. Discounting: Discount projected FCFs and terminal value to present value, yielding Enterprise Value
  4. Equity Value: Equity Value = EV - Net Debt + Cash
  5. Per-Share Value: Per Share = Equity Value / Shares Outstanding

Sensitivity Analysis Matrix

Use the --sensitivity flag to automatically generate a two-dimensional matrix showing enterprise value under different combinations of growth rates and discount rates. This helps visualize how changes in key assumptions affect the valuation.

The base case scenario is marked with [brackets] in the matrix.

JSON Output Mode

Add the --json flag to output the full results in JSON format to stdout, useful for programmatic processing:

python scripts/dcf_model.py --fcf 1000 --growth 0.15 --discount 0.10 --json

Parameters

ParameterRequiredDefaultDescription
--fcfYes-Base year free cash flow (positive number)
--growthYes-Annual growth rate, e.g. 0.15 for 15%
--discountYes-Discount rate / WACC, e.g. 0.10 for 10%
--terminal-growthNo0.03Perpetuity growth rate (must be < discount rate)
--yearsNo5Number of projection years (1–30)
--debtNo0Net debt (used for equity value calculation)
--cashNo0Cash and equivalents
--sharesNo0Total shares outstanding (used for per-share value)
--sensitivityNofalseGenerate sensitivity analysis matrix
--growth-rangeNoautoGrowth rate range as min,max,step, e.g. 0.05,0.25,0.05
--discount-rangeNoautoDiscount rate range as min,max,step, e.g. 0.06,0.14,0.02
--outputNo-Output file path (.csv or .json)
--currencyNo""Currency unit label, e.g. M USD, €K
--jsonNofalseOutput results as JSON to stdout

Use Cases

  • Perform DCF valuation on a target company to assess its fair value range
  • Run valuation sensitivity checks before investment decisions (how much do key assumptions need to shift to change the conclusion?)
  • Quickly generate valuation matrix tables for financial modeling
  • Export CSV/JSON results to integrate into larger analysis pipelines or reports

Notes

  • The discount rate must exceed the perpetuity growth rate (a mathematical requirement of the Gordon Growth Model)
  • This tool uses only the Python standard library — no additional dependencies required
  • Cells marked N/A in the sensitivity matrix indicate parameter combinations that violate mathematical constraints

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.