mcpbeat Sign in

Build Model Skill for Codex

Build a multi-tab Excel financial model

2k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
4915
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openai/plugins --skill build-model

What comes with it

210 bytes besides the instruction
agents/openai.yaml

The instruction itself

7 sections, as written by the author

Build a comprehensive Excel financial model (.xlsx) for the company named in the user's request. If no ticker or company is provided, ask for one before proceeding.

Before starting, read ../data-access.md for data access methods and ../design-system.md for formatting conventions. Follow the data access detection logic and design system throughout this skill.

This skill gathers all available financial data and builds a multi-tab Excel model saved as reports/{TICKER}_model.xlsx.

Phase 1 — Company Setup

Look up the company by ticker using discover_companies. Capture:

  • company_id
  • latest_calendar_quarter — anchor for all period calculations (see ../data-access.md Section 1.5)
  • latest_fiscal_quarter
  • Firm name for report attribution (default: "Daloopa") — see ../data-access.md Section 4.5

Get current stock price, market cap, shares outstanding, beta, and trading multiples for {TICKER}. Use the 3-step resolution: (1) MCP market data tools if available, (2) web search, (3) sensible defaults (see ../data-access.md Section 2).

Phase 2 — Comprehensive Data Pull

Calculate periods backward from latest_calendar_quarter. Pull as much data as Daloopa has for this company. Target 8-16 quarters.

Income Statement — search and pull all available:

  • Revenue / Net Sales
  • Cost of Revenue / COGS
  • Gross Profit
  • Research & Development
  • Selling, General & Administrative
  • Total Operating Expenses
  • Operating Income
  • Interest Expense / Income
  • Pre-tax Income
  • Tax Expense
  • Net Income
  • Diluted EPS
  • Diluted Shares Outstanding
  • EBITDA (or compute from Op Income + D&A)
  • D&A

Balance Sheet — search and pull all available:

  • Cash and Equivalents
  • Short-term Investments
  • Accounts Receivable
  • Inventory
  • Total Current Assets
  • PP&E (net)
  • Goodwill
  • Total Assets
  • Accounts Payable
  • Short-term Debt
  • Long-term Debt
  • Total Liabilities
  • Total Equity

Cash Flow — search and pull all available:

  • Operating Cash Flow
  • Capital Expenditures
  • Depreciation & Amortization
  • Acquisitions
  • Dividends Paid
  • Share Repurchases
  • Free Cash Flow (compute if not direct)

Segments:

  • Revenue by segment
  • Operating income by segment (if available)

KPIs:

  • All company-specific operating metrics

Guidance:

  • All guidance series and corresponding actuals

Phase 3 — Market Data & Peers

  • Identify 5-8 peers and get their trading multiples using the same 3-step resolution: (1) MCP market data tools, (2) web search, (3) sensible defaults
  • Get risk-free rate using the same 3-step resolution
  • If consensus forward estimates are available (../data-access.md Section 3), include NTM estimates for peers

Phase 4 — Projections

Build forward estimates using the following methodology:

  • Revenue: Start with latest guidance (if available), then decay to long-term growth rate (industry average or historical trend). Apply quarterly seasonality patterns from trailing data.
  • Gross Margin: Mean-revert to trailing 8-quarter average, with adjustment for recent trends or guidance commentary.
  • Operating Expenses: Project as % of revenue, trending toward trailing averages. R&D and SG&A may have different trajectories.
  • CapEx: Project as % of revenue based on trailing 4-8 quarter average and guidance.
  • D&A: Project based on trailing average as % of revenue or PP&E.
  • Tax Rate: Use trailing effective tax rate or guidance.
  • Share Count: Project dilution/buyback based on trailing trends and guidance.
  • Working Capital: Project DSO, DIO, DPO based on trailing averages.

Calculate all quarterly projections, then sum to annual. Project 4-8 quarters forward.

Phase 5 — DCF Inputs

Calculate:

  • WACC: Use CAPM for cost of equity (Rf + Beta × ERP, where ERP = 6.0%). Cost of debt = Interest Expense / Total Debt. WACC = (E/V × Re) + (D/V × Rd × (1 - Tax Rate)).
  • 5-year FCF projections: Annualize from quarterly projections (FCF = Op Cash Flow - CapEx).
  • Terminal Value: Use perpetuity growth at 2.5-3.0%.
  • Sensitivity Matrix: WACC (7 values: -3% to +3% from base) × Terminal Growth (6 values: 1.5% to 4.0%).

Phase 6 — Build Excel Model

Generate the .xlsx file directly using the best available spreadsheet-generation workflow. For Codex, prefer bundled spreadsheet tooling or Python/openpyxl when available. The workbook should:

  • Create 8 tabs with the following structure:

Tab 1: Income Statement

  • Rows: Revenue, COGS, Gross Profit, R&D, SG&A, Total OpEx, Op Income, Interest, Pre-Tax Income, Tax, Net Income, Diluted EPS, Shares
  • Columns: Historical periods (8-16Q) + Projected periods (4-8Q)
  • Sub-rows: YoY growth %, margin % where applicable
  • Header: Company name, ticker, report date
  • Formatting: Numbers with commas/decimals, percentages, bold headers, frozen panes

Tab 2: Balance Sheet

  • Rows: Assets section (Cash, Investments, AR, Inventory, Current Assets, PP&E, Goodwill, Total Assets), Liabilities section (AP, ST Debt, LT Debt, Total Liabilities, Equity)
  • Columns: Historical + Projected periods
  • Sub-rows: % of Total Assets for key line items
  • Same formatting standards

Tab 3: Cash Flow

  • Rows: Op Cash Flow, CapEx, Free Cash Flow, Acquisitions, Dividends, Buybacks, Net Change in Cash
  • Columns: Historical + Projected periods
  • Sub-rows: FCF yield %, CapEx as % Revenue
  • Same formatting standards

Tab 4: Segments

  • Rows: Revenue by segment, Op Income by segment (if available)
  • Columns: Historical + Projected periods
  • Sub-rows: Segment as % of total, segment growth rates
  • Same formatting standards

Tab 5: KPIs

  • Rows: All company-specific operating metrics discovered
  • Columns: Historical + Projected periods
  • Sub-rows: YoY growth or relevant unit economics
  • Same formatting standards

Tab 6: Projections

  • Editable assumption inputs (yellow highlighting): Revenue growth %, Gross margin %, Op margin %, CapEx % revenue, Tax rate %, Buyback rate QoQ
  • Calculated outputs: Projected P&L, BS, CF driven by assumptions
  • Commentary box explaining methodology
  • Same formatting standards

Tab 7: DCF

  • Inputs: WACC, Terminal Growth, Risk-Free Rate, ERP, Beta, Cost of Debt
  • FCF Projection (5 years annualized)
  • Terminal Value calculation
  • PV calculations
  • Enterprise Value → Equity Value → Implied Share Price
  • Sensitivity table: WACC (rows) × Terminal Growth (cols) showing implied price
  • Color scale: green (upside) to red (downside) vs current price
  • Same formatting standards

Tab 8: Summary

  • Company overview (name, ticker, sector, description)
  • Current market data (price, market cap, shares, beta)
  • Valuation summary: DCF implied price, peer-implied range, current price, upside/downside %
  • Peer trading multiples table
  • Key model outputs: Trailing revenue, Projected revenue growth, Trailing/Projected margins
  • Same formatting standards
  • Apply ../design-system.md formatting conventions:
  • Number format: $X.Xbn for large numbers, X.X% for percentages, X.Xx for multiples
  • Color palette: Navy #1B2A4A (headers), Steel Blue #4A6FA5 (sub-headers), Gold #C5A55A (highlights), Green #27AE60 (positive), Red #C0392B (negative)
  • Bold headers, frozen top row and left column
  • Yellow fill (#FFEB3B) for editable input cells
  • Save the workbook as reports/{TICKER}_model.xlsx

Output

Save the generated workbook to reports/{TICKER}_model.xlsx and tell the user:

  • Summary of what tabs were built
  • Key model outputs: trailing revenue, projected revenue growth, implied DCF value, peer-implied range
  • Note that yellow cells in the Projections tab are editable inputs
  • Instruction to open the saved .xlsx file

All financial figures gathered must use Daloopa citation format: $X.XX million

Other skills for the same job

different authors, same section of the catalogue
Invoice Organizer
by frostant
×5

Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key information, renaming them consistently, and sorting them into logical folders. Turns hours of manual bookkeeping into minutes of automated organization.

3k tokens
Backtest Expert
by BaggaT236
×3

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

15k tokens scripts
Analyzing Financial Statements
by anthropics
vendor ×2

This skill calculates key financial ratios and metrics from financial statement data for investment analysis

8k tokens scripts
Creating Financial Models
by anthropics
vendor ×2

This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

8k tokens scripts
Earnings Calendar
by nicepkg
×2

This skill retrieves upcoming earnings announcements for US stocks using the Financial Modeling Prep (FMP) API. Use this when the user requests earnings calendar data, wants to know which companies are reporting earnings in the upcoming week, or needs a weekly earnings review. The skill focuses on mid-cap and above companies (over $2B market cap) that have significant market impact, organizing the data by date and timing in a clean markdown table format. Supports multiple environments (CLI, Desktop, Web) with flexible API key management.

17k tokens scripts
Agentic Wallet
by coinbase
vendor ×2

Crypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to discover paid services, pay for API calls, monetize an API, or query onchain data. Use whenever the user mentions signing in, login, authentication, wallet status, balance, address, sending money, paying someone, transferring tokens, ENS names, swapping/trading/converting tokens, funding/topping up/onramp, USDC, ETH, POL, SOL, the x402 bazaar, paid APIs, monetizing an endpoint, or querying onchain data on Base.

14k tokens
Alpha Vantage
by christophacham
×2

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market news/sentiment, insider transactions, GDP, CPI, treasury yields, gold/silver/oil prices, Bitcoin/crypto prices, forex exchange rates, or calculating technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands). Requires a free API key from alphavantage.co.

13k tokens
Braintree Automation
by christophacham
×2

Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions

2k tokens needs MCP

How to use it

Copy the folder

Take openai/build-model from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.