dcf-valuation

dcf-valuation is a skill for Claude Code, Codex from Yijia-Xiao/FinanceHarness. It costs 42 tokens per session (503 once invoked), scanned A, a copy of dcf-valuation, Apache-2.0.

A method for estimating what a public company’s shares may be worth based on its expected future free cash flow. Free cash flow is the money left after the company pays the costs needed to run and maintain the business.

In plain words
What is it for?
Use it to gather company fundamentals, calculate a discount rate, project three to five years of cash flow, and estimate value per share with a discounted-cash-flow model.
Why use it?
It gives investors a transparent model for comparing an estimated intrinsic value with the current share price. It also makes assumptions about growth, risk, debt, cash, and long-term value explicit.

Skill for Claude CodeCodex

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

Good fit Use it to gather company fundamentals, calculate a discount rate, project three to five years of cash flow, and estimate value per share with a discounted-cash-flow model.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yijia-xiao/financeharness/dcf-valuation"><img src="https://agentmods.dev/badge/skills/yijia-xiao/financeharness/dcf-valuation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 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 100% copy Near-identical to another mod 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.00042 $0.00503
Opus 5 $0.00021 $0.00251
Sonnet 5 $0.00008 $0.00101
Haiku 4.5 $0.00004 $0.00050

Measured 12d ago against content hash 1c1540ef4c72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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.

Origin

This is a copy

100% identical to dcf-valuation — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

financeharness/skills/dcf-valuation/SKILL.md · 44 lines

What it actually says

DCF valuation

Estimate intrinsic value per share with a transparent, grounded DCF.

Workflow

  1. Anchor the company. data_equity_reference for shares outstanding, beta, and current price; data_equity_fundamentals for revenue, free cash flow, margins, growth, and total cash/debt.
  2. Discount rate. compute_valuation_wacc — CAPM cost of equity from a risk-free rate, an equity risk premium, and the beta you pulled; add the debt trio for a WACC blend when leverage is material. Use the resulting rate.
  3. Project FCF. Build a short explicit free-cash-flow schedule (typically 3–5 years) from the latest FCF and a growth path grounded in the fundamentals and trend. State the assumptions you used.
  4. Value it. compute_valuation_dcf with the FCF schedule, the discount rate, a terminal method (Gordon growth or exit multiple), net debt (debt − cash), and shares outstanding. Chain bulk inputs with prev: references where a prior tool already produced the series.
  5. Report. Intrinsic value per share vs. the current price, the discount rate and key assumptions, and how much of the value rests on the terminal value.

Principles

  • Make every assumption explicit (growth, discount rate, terminal method) — a DCF is only as credible as its inputs, and the reader needs to see them.
  • Prefer chaining real figures (fundamentals → FCF → DCF) over restating numbers by hand; let the tools carry the arithmetic.
  • A high terminal-value share of enterprise value is worth flagging, not hiding — report the number and let the reader weigh it.
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 · 44 lines · 42 tokens per session scan A 1c1540ef4c72

Subscribe to this mod's changes

dcf-valuation is a skill published in the GitHub repository Yijia-Xiao/FinanceHarness (130 stars, last pushed 20d ago), licensed Apache-2.0. It adds 42 tokens to every session and 503 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to dcf-valuation, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

dcf-valuation

Estimate a public equity's intrinsic value with a discounted-cash-flow model — pull fundamentals, set a discount rate via CAPM/WACC, project free cash flow, and discount it.

google-research/google-research · 42 tokens

equity-deep-dive

A thorough single-equity deep dive — read the recent qualitative picture from the web, then ground it in fundamentals and health ratios, an intrinsic DCF with a sensitivity range, a comparable-company cross-check, and the analyst-consensus view.

google-research/google-research · 55 tokens

dcf-valuation

Build Discounted Cash Flow (DCF) valuation models. Calculate intrinsic value with customizable assumptions. Generate professional valuation reports.

claude-office-skills/skills · 28 tokens

equity-valuation

A framework for creating a stock valuation workbook in Excel, the spreadsheet program used for financial models. It combines data checks, several valuation methods, company-quality scoring, risk analysis, and an investment conclusion.

claude-office-skills/claude-office-plugin · 44 tokens

relative-valuation

Value an equity against its peers — peer-median trading multiples applied to the company's metrics for an implied range, cross-read against its own valuation ratios.

google-research/google-research · 34 tokens

dcf-valuation

An investing method for estimating whether a company's share price is cheap by thinking about its future cash earnings. DCF means discounted cash flow, a way to value future money in today's terms.

kangarooking/duan-yongping-skill · 201 tokens