discounted-cashflow-model

discounted-cashflow-model is a skill for Claude Code, Codex from serejaris/kimi-skills. It costs 82 tokens per session (1,094 once invoked), scanned A, original, MIT.

A discounted cash flow valuation tool, which estimates what a company or investment is worth from the present value of its expected future cash flows.

In plain words
What is it for?
Use it to project free cash flow, calculate terminal value, run sensitivity tables, and export valuation results to CSV.
Why use it?
It turns cash-flow assumptions into enterprise value, equity value, and per-share estimates while showing how results change under different growth and discount rates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to project free cash flow, calculate terminal value, run sensitivity tables, and export valuation results to CSV.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serejaris/kimi-skills/discounted-cashflow-model
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 serejaris/kimi-skills --skill discounted-cashflow-model
Clone the repo
git clone --depth 1 https://github.com/serejaris/kimi-skills

Made for: Claude Code, Codex.

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 discounted-cashflow-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/serejaris/kimi-skills/discounted-cashflow-model/github.svg)](https://agentmods.dev/skills/serejaris/kimi-skills/discounted-cashflow-model)
Your own site
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/discounted-cashflow-model"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/discounted-cashflow-model/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 discounted-cashflow-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/discounted-cashflow-model"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/discounted-cashflow-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,094 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.00082 $0.01094
Opus 5.5 $0.00033 $0.00438
Sonnet 5.5 $0.00016 $0.00219
Haiku 4.5 $0.00008 $0.00109

Measured 2mo ago against content hash 30a10d5282a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

discounted-cashflow-model 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/dcf_model.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/discounted-cashflow-model/SKILL.md · 94 lines

How it starts

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

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

Parameter Required Default Description
--fcf Yes - Base year free cash flow (positive number)
--growth Yes - Annual growth rate, e.g. 0.15 for 15%
--discount Yes - Discount rate / WACC, e.g. 0.10 for 10%
--terminal-growth No 0.03 Perpetuity growth rate (must be < discount rate)
--years No 5 Number of projection years (1–30)
--debt No 0 Net debt (used for equity value calculation)
--cash No 0 Cash and equivalents
--shares No 0 Total shares outstanding (used for per-share value)
--sensitivity No false Generate sensitivity analysis matrix
--growth-range No auto Growth rate range as min,max,step, e.g. 0.05,0.25,0.05
--discount-range No auto Discount rate range as min,max,step, e.g. 0.06,0.14,0.02
--output No - Output file path (.csv or .json)
--currency No "" Currency unit label, e.g. M USD, €K
--json No false Output results as JSON to stdout

Read the full file on GitHub · 94 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 94 lines · 82 tokens per session scan A 30a10d5282a7

Subscribe to this mod's changes

discounted-cashflow-model is a skill published in the GitHub repository serejaris/kimi-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 82 tokens to every session and 1,094 once invoked, about $0.0003 per session on Opus 5.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

discounted-cashflow-model compared with skills from other repositories

discounted-cashflow-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
discounted-cashflow-modelserejaris/kimi-skillsSkill134mo agoMITA82Claude Code, Codex
fiscalisteromainsimon/paperasseSkill2.6k18d agoMITA306Claude Code
commissaire-aux-comptesromainsimon/paperasseSkill2.6k18d agoMITA123Claude Code
kyc-escalationmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA93Claude Code
bookkeeping-categorizationmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA91Claude Code
ai-roi-auditmohitagw15856/pm-claude-skillsSkill1.6ktodayMITA118Claude Code
credit-memomohitagw15856/pm-claude-skillsSkill1.6ktodayMITA83Claude Code