dcf-model

A tool for building discounted cash flow, or DCF, valuation models in Excel. DCF estimates what a company may be worth by converting projected future cash into a value today.

In plain words
What is it for?
Use it to create equity-valuation workbooks with projections, discount factors, present values, and sensitivity analysis.
Why use it?
It removes the need to assemble projections, discounting calculations, and sensitivity checks manually while keeping calculations as editable Excel formulas.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/aivrar/portable-hermes-agent/dcf-model
Any agent
npx skills add aivrar/portable-hermes-agent --skill dcf-model
Clone the repo
git clone --depth 1 https://github.com/aivrar/portable-hermes-agent

Made for: Claude Code, Codex.

Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.12790
Opus 5 $0.00007 $0.06395
Sonnet 5 $0.00003 $0.02558
Haiku 4.5 $0.00001 $0.01279

Measured yesterday against content hash bd6f6c023da4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dcf-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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_dcf.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.

Origin

This is a copy

100% identical to dcf-model — 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.

optional-skills/finance/dcf-model/SKILL.md · 1,271 lines

How it starts

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

Environment

This skill assumes headless openpyxl — you are producing an .xlsx file on disk. Follow the excel-author skill's conventions for cell coloring, formulas, named ranges, and sensitivity tables. Recalculate before delivery: python /path/to/excel-author/scripts/recalc.py ./out/model.xlsx.

DCF Model Builder

Overview

This skill creates institutional-quality DCF models for equity valuation following investment banking standards. Each analysis produces a detailed Excel model (with sensitivity analysis included at the bottom of the DCF sheet).

Tools

  • Default to using all of the information provided by the user and MCP servers available for data sourcing.

Critical Constraints - Read These First

These constraints apply throughout all DCF model building. Review before starting:

Formulas Over Hardcodes (NON-NEGOTIABLE):

  • Every projection, margin, discount factor, PV, and sensitivity cell MUST be a live Excel formula — never a value computed in Python and written as a number
  • When using openpyxl: ws["D20"] = "=D19*(1+$B$8)" is correct; ws["D20"] = calculated_revenue is WRONG
  • The only hardcoded numbers permitted are: (1) raw historical inputs, (2) assumption drivers (growth rates, WACC inputs, terminal g), (3) current market data (share price, debt balance)
  • If you catch yourself computing something in Python and writing the result — STOP. The model must flex when the user changes an assumption.

Verify Step-by-Step With the User (DO NOT build end-to-end):

  • After data retrieval → show the user the raw inputs block (revenue, margins, shares, net debt) and confirm before projecting
  • After revenue projections → show the projected top line and growth rates, confirm before building margin build
  • After FCF build → show the full FCF schedule, confirm logic before computing WACC
  • After WACC → show the calculation and inputs, confirm before discounting
  • After terminal value + PV → show the equity bridge (EV → equity value → per share), confirm before sensitivity tables
  • Catch errors at each stage — a wrong margin assumption discovered after sensitivity tables are built means rebuilding everything downstream

Read the full file on GitHub · 1,271 lines

Files

What ships with it

3 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. yesterday First seen · 1,271 lines · 14 tokens per session scan A bd6f6c023da4

Subscribe to this mod's changes

dcf-model is a skill published in the GitHub repository aivrar/portable-hermes-agent (212 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 12,790 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to dcf-model, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

huashu-design

花叔Design(Huashu-Design)——用HTML做高保真原型、交互Demo、幻灯片、动画、设计变体探索、设计方向顾问与专家评审。HTML是工具不是媒介,根据任务embody UX设计师/动画师/幻灯片设计师/原型师,避免web design tropes。触发词:做原型、设计Demo、交互原型、HTML演示、动画Demo、设计变体、hi-fi设计、UI mockup、prototype、设计探索、做个HTML页面、app原型、iOS原型、导出MP4/GIF、60fps视频、设计风格、配色方案、视觉风格、评审、review this…

zhukunpenglinyutong/desktop-cc-gui · 295 tokens

vercel-react-view-transitions

Guide for implementing smooth, native-feeling animations using React's View Transition API ( component, addTransitionType, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components…

zhukunpenglinyutong/desktop-cc-gui · 127 tokens

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

zhukunpenglinyutong/desktop-cc-gui · 57 tokens

oh-my-ppt-data-anim

Must be read before adding or modifying Oh My PPT slide animations. Defines exportable data-anim usage, trigger decisions, and how to replace unsupported scripted/anime.js animation.

arcsin1/oh-my-ppt · 43 tokens

mountain-green-literary

采用山野文艺绘本风,整体以层次分明的深绿山峦和被阳光晒亮的黄绿草地为主,搭配粗笔手写大字和竖排诗句,营造自然、自由、诗意、充满童年野趣的视觉氛围——像把"把夏天的橘子汽水,卖给颜料用完的梵高"那种带着文学性的夏天。它跟"夏日晴朗蓝绿"的区别在于:没有大片蓝天,绿(山)和黄(草)是绝对主角,气质更"野"、更"文艺"、更"有故事"。.

arcsin1/oh-my-ppt · 0 tokens

children-warm-orange

采用儿童节童趣绘本风,整体以暖橙渐变打底,搭配明亮的草绿和粉嫩点缀色,营造活泼、可爱、充满节日欢乐的视觉氛围——像幼儿园六一联欢会海报那种热热闹闹、甜甜暖暖的感觉。它跟"夏日晴朗蓝绿"的区别在于:橙是主调,蓝退到点缀位,整体更"暖"更"甜",是儿童节的专属气质。.

arcsin1/oh-my-ppt · 0 tokens