cashflow-valuation

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

A discounted cash flow (DCF) valuation model that estimates a company’s value from projected future free cash flow. It can calculate terminal value, enterprise value, equity value, and estimated value per share.

In plain words
What is it for?
Use it for company valuation, WACC-based discounting, terminal-value calculations, equity-value estimates, per-share estimates, and CSV or JSON output.
Why use it?
It organizes the calculations needed to turn cash-flow assumptions into a valuation. Its sensitivity matrix shows how the result changes when growth and discount-rate assumptions change.

Skill for Claude CodeCodex

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

Good fit Use it for company valuation, WACC-based discounting, terminal-value calculations, equity-value estimates, per-share estimates, and CSV or JSON output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serejaris/kimi-skills/cashflow-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 serejaris/kimi-skills --skill cashflow-valuation
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 cashflow-valuation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/serejaris/kimi-skills/cashflow-valuation"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/cashflow-valuation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 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.00132 $0.01238
Opus 5 $0.00066 $0.00619
Sonnet 5 $0.00026 $0.00248
Haiku 4.5 $0.00013 $0.00124

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

Security

Grade A, and why

cashflow-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 12d 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/cashflow-valuation/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.

DCF Valuation / 现金流折现估值模型

基于 DCF(Discounted Cash Flow)方法的企业估值工具,支持完整的自由现金流预测、终值计算、企业价值推导,并自动生成 增长率 × 折现率 的敏感性分析矩阵。

Quick Start

基础 DCF 估值

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

带敏感性分析矩阵

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

完整股权估值 + CSV 导出

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 "万元" \
    --sensitivity \
    --growth-range 0.05,0.25,0.05 \
    --discount-range 0.06,0.14,0.02 \
    --output valuation.csv

详细用法

核心估值流程

  1. 预测期自由现金流:基于基准 FCF 和增长率,逐年预测未来 N 年的 FCF
  2. 终值计算:使用 Gordon Growth Model(永续增长模型),TV = FCF_n × (1+g) / (r-g)
  3. 折现求和:将预测期 FCF 和终值折现到当前,得到企业价值(Enterprise Value)
  4. 股权价值Equity Value = EV - Net Debt + Cash
  5. 每股价值Per Share = Equity Value / Shares Outstanding

敏感性分析矩阵

通过 --sensitivity 参数自动生成二维矩阵,展示不同增长率和折现率组合下的企业价值,帮助理解关键假设变化对估值的影响。

矩阵中用 [方括号] 标记基准情景(base case)。

JSON 输出模式

添加 --json 参数可将完整结果以 JSON 格式输出到 stdout,便于程序化处理:

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

参数说明

参数 必填 默认值 说明
--fcf - 基准年自由现金流(正数)
--growth - 年增长率,如 0.15 表示 15%
--discount - 折现率 / WACC,如 0.10 表示 10%
--terminal-growth 0.03 永续增长率(必须 < 折现率)
--years 5 预测年数(1-30)
--debt 0 净负债(用于计算股权价值)
--cash 0 现金及等价物
--shares 0 总股本(用于计算每股价值)
--sensitivity false 生成敏感性分析矩阵
--growth-range 自动 增长率范围 min,max,step,如 0.05,0.25,0.05
--discount-range 自动 折现率范围 min,max,step,如 0.06,0.14,0.02
--output - 输出文件路径(.csv 或 .json)
--currency "" 金额单位标签,如 万元M USD
--json false 以 JSON 格式输出到 stdout

使用场景

  • 对目标公司进行 DCF 估值,评估其合理价格区间
  • 投资决策前的估值敏感性检验(关键假设变化多大会改变结论)
  • 财务建模时快速生成估值矩阵表格
  • 输出 CSV/JSON 结果,嵌入更大的分析流程或报告中

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. 12d ago First seen · 94 lines · 132 tokens per session scan A a369f761de8b

Subscribe to this mod's changes

cashflow-valuation is a skill published in the GitHub repository serejaris/kimi-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 132 tokens to every session and 1,238 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

fiscaliste

Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…

romainsimon/paperasse · 302 tokens

controleur-fiscal

Inspecteur des finances publiques IA. Simule un contrôle fiscal DGFIP complet sur les comptes d'une entreprise française (SASU, EURL, SAS, SARL). Analyse le FEC, la liasse fiscale, les charges déduites, le compte courant d'associé, la TVA, l'IS selon 8 axes de vérification. Identifie les chefs de redressement…

romainsimon/paperasse · 136 tokens

commissaire-aux-comptes

Commissaire aux comptes IA pour l'audit des comptes annuels d'entreprises françaises. Applique la démarche NEP en 7 phases : prise de connaissance, contrôle du FEC, vérification du bilan, du compte de résultat, de la balance, de la liasse fiscale, et contrôles transversaux. Émet une opinion motivée sur la fiabilité…

romainsimon/paperasse · 123 tokens

invest-setup

A first-time setup workflow for openInvest, a system for tracking investments and running portfolio analysis.

longsizhuo/openInvest · 105 tokens

metengine-data-agent

Real-time smart money analytics API for Polymarket prediction markets, Hyperliquid perpetual futures, and Meteora Solana LP/AMM pools. 63 endpoints. Pay-per-request via x402 on Solana Mainnet USDC. No API keys.

sendaifun/skills · 57 tokens

meteora

Complete Meteora DeFi SDK suite for building liquidity pools, AMMs, bonding curves, vaults, token launches, and zap operations on Solana. Use when integrating DLMM, DAMM v2, DAMM v1, Dynamic Bonding Curves, Alpha Vaults, Zap, or Stake-for-Fee functionality.

sendaifun/skills · 69 tokens