Financial Modeling

Financial Modeling is a skill for Claude Code, Codex from Ruinius/financial-analyst-skills. It costs 37 tokens per session (644 once invoked), scanned A, original, MIT.

A financial-modeling step that calculates WACC, discounted-cash-flow assumptions, projected free cash flows, enterprise value, and intrinsic value per share.

In plain words
What is it for?
Use it to fetch market data, build ten-year projections, estimate terminal value, bridge enterprise value to equity value, and update the company metadata.
Why use it?
It turns historical, market, and qualitative company data into a repeatable valuation model instead of requiring these calculations by hand. DCF means estimating value from future cash flows.

Skill for Claude CodeCodex

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

Good fit Use it to fetch market data, build ten-year projections, estimate terminal value, bridge enterprise value to equity value, and update the company metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruinius/financial-analyst-skills/financial_modeling
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 Ruinius/financial-analyst-skills --skill financial_modeling
Clone the repo
git clone --depth 1 https://github.com/Ruinius/financial-analyst-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 Financial Modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruinius/financial-analyst-skills/financial_modeling/github.svg)](https://agentmods.dev/skills/ruinius/financial-analyst-skills/financial_modeling)
Your own site
<a href="https://agentmods.dev/skills/ruinius/financial-analyst-skills/financial_modeling"><img src="https://agentmods.dev/badge/skills/ruinius/financial-analyst-skills/financial_modeling/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 Financial Modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruinius/financial-analyst-skills/financial_modeling"><img src="https://agentmods.dev/badge/skills/ruinius/financial-analyst-skills/financial_modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 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.00037 $0.00644
Opus 5 $0.00018 $0.00322
Sonnet 5 $0.00007 $0.00129
Haiku 4.5 $0.00004 $0.00064

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

Security

Grade A, and why

Financial Modeling 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 11d ago.

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

How it starts

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

Financial Modeling (Phase 6)

All modeling logic is consolidated into a single script that executes the complete sequence: WACC → Assumptions → DCF → Intrinsic Value.

  1. Execute the script: python skills/financial_modeling/scripts/calculate.py {TICKER} {TICKER_metadata_path}
  2. Verify it threw no errors.

What the Script Does

Step Action Details
1 Fetch Market Data Calls tools/market_data.py profile {TICKER} for share price, beta, market cap
2 Read Historical Data Parses Financial History table from metadata for L4Q averages
3 Read Qualitative Data Parses Economic Moat, Margin Outlook, Growth Outlook from metadata
4 Calculate WACC CAPM with Blume-adjusted beta, capital structure weights
5 Generate Assumptions Three-stage DCF assumptions blending historical trends + qualitative outlook
6 Run DCF Projections 10-year projections with interpolated growth/margin, terminal value via Gordon Growth
7 Compute Intrinsic Value Equity bridge: EV + Cash - Debt → Per Share
7b FX & ADR Conversion If reporting currency != USD, convert IVPS to USD. Apply ADR ratio to share count if applicable
8 Update Metadata Replaces WACC, Assumptions, DCF Model, and Intrinsic Value sections in markdown

Prerequisites

  • output_data/TICKER/TICKER_metadata.md must exist with Financial History and Qualitative Assessment sections
  • Internet access required for Yahoo Finance market data lookup
  • Python 3.10+ with yfinance installed

Key Parameters

Parameter Source Default
Risk-Free Rate Hardcoded (TODO: fetch 10Y Treasury) 4.20%
Equity Risk Premium Hardcoded 5.00%
Terminal Growth Moat rating: Wide=4%, Narrow=3%, None=2.5% 3.00%
MCT Derived from IC, default if negative IC 100.0x
Tax Rate (statutory) Hardcoded for WACC 25%
Tax Rate (NOPAT) L4Q average adjusted tax rate Varies
WACC Bounds Floor 6%, Cap 15%
FX Rate market_data.py if Currency != USD 1.0
ADR Ratio Parsed from metadata header 1.0

Read the full file on GitHub · 50 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. 11d ago First seen · 50 lines · 37 tokens per session scan A 932f012da567

Subscribe to this mod's changes

Financial Modeling is a skill published in the GitHub repository Ruinius/financial-analyst-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 644 once invoked, about $0.0002 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.