Agent skill

Build Model

by daloopa in daloopa/investing

“Build a multi-tab Excel financial model”

— description from SKILL.md by daloopa
Apache-2.0Auto-check passedBusiness, Finance & HR

Install Build Model

skills CLI
$ npx skills add daloopa/investing --skill build-model -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install daloopa/investing build-model --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/daloopa/investing.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/build-model .claude/skills/build-model && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
build-model
GitHub stars
489
Token cost
~1.3k tokens
SKILL.md length
497 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • Works in 6 steps: Company Setup → Comprehensive Data Pull → Market Data & Peers → …
  • SKILL.md covers Phase 1 — Company Setup, Phase 2 — Comprehensive Data…, Phase 3 — Market Data & Peers and Phase 4 — Projections, plus 3 more sections
  • Calls python

About this skill

Build Model is a skill in daloopa/investing (489 stars). Its SKILL.md is about 1.3k tokens. Licence: Apache-2.0.

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Company Setup
  2. Comprehensive Data Pull
  3. Market Data & Peers
  4. Projections
  5. DCF Inputs
  6. Build Excel Model

What it can do on your machine

Read from SKILL.md and the folder at commit e2dd01d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • daloopa.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Build Model loads about 1.3k tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 497 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~13
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from daloopa/investing at commit e2dd01d, republished under its Apache-2.0 licence (© daloopa). 497 words, ~1,261 tokens.

Download SKILL.mdSave it as .claude/skills/build-model/SKILL.md (or your agent's skills folder).
name
build-model
description
Build a multi-tab Excel financial model
argument-hint
TICKER

Build a comprehensive Excel financial model (.xlsx) for the company specified by the user: $ARGUMENTS

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 from scratch using openpyxl.

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} (see ../data-access.md Section 2 for how to source market data).

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 (see ../data-access.md Section 2)
  • Get risk-free rate (see ../data-access.md Section 2)
  • If consensus forward estimates are available (../data-access.md Section 3), include NTM estimates for peers
Show full SKILL.md (190 more words)Show less

Phase 4 — Projections

Build forward estimates. If a projection engine is available (see ../data-access.md Section 5), use it. Otherwise, project manually:

  • Revenue: guidance + decay to long-term growth
  • Margins: mean-revert to trailing averages
  • CapEx, D&A, tax rate, share count: trailing trends

Project 4-8 quarters forward.

Phase 5 — DCF Inputs

Calculate:

  • WACC (CAPM: Rf + Beta × ERP; cost of debt from interest/debt)
  • 5-year FCF projections (annualized from quarterly)
  • Terminal value (perpetuity growth at 2.5-3%)
  • Sensitivity matrix: WACC (7 values) × terminal growth (6 values)

Phase 6 — Build Excel Model

Write the complete context to reports/.tmp/{TICKER}_model_context.json, then run: python infra/excel_builder.py --context reports/.tmp/{TICKER}_model_context.json --output reports/{TICKER}_model.xlsx

The context JSON should include ALL of these sections (each optional — the builder handles missing data):

json
{
  "company": {name, ticker, exchange, currency},
  "market_data": {price, market_cap, shares_outstanding, beta, trailing_pe, forward_pe, ev_ebitda, ...},
  "periods": ["2023Q1", ...],
  "projected_periods": ["2026Q1", ...],
  "income_statement": {"Revenue": {"2023Q1": value, ...}, ...},
  "balance_sheet": {"Total Assets": {...}, ...},
  "cash_flow": {"Operating Cash Flow": {...}, ...},
  "segments": {"Revenue by Segment": {"iPhone": {...}, ...}},
  "kpis": {"Metric Name": {...}, ...},
  "guidance": {"series": {...}, "actuals": {...}},
  "projections": {"Revenue": {...}, ...},
  "projection_assumptions": {revenue_growth, gross_margin, op_margin, capex_pct_revenue, tax_rate, buyback_rate_qoq},
  "dcf": {wacc, terminal_growth, risk_free_rate, equity_risk_premium, projected_fcf, terminal_value, enterprise_value, implied_share_price, sensitivity},
  "comps": {"peers": [{ticker, name, trailing_pe, ev_ebitda, ...}, ...]}
}

If the Excel builder fails, report the error. The context JSON is still saved for debugging.

Output

Tell the user:

  • Where the .xlsx was saved: reports/{TICKER}_model.xlsx
  • Where the context JSON was saved: reports/.tmp/{TICKER}_model_context.json
  • Summary of what tabs were built
  • Key model outputs: trailing revenue, projected revenue growth, implied DCF value, peer-implied range
  • Remind user that yellow cells in the Projections tab are editable inputs

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

© daloopa, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/build-model of daloopa/investing.

Open the folder on GitHubat commit e2dd01d

Compare with similar skills

Build Model next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Build Model compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Build Model this skilldaloopa/investing489—~1.3kAutomated safety check: PassApache-2.0
Excel Dcf Modelerjeremylongshore/tons-of-skills-marketplace2.8k—~593Automated safety check: PassMIT
Three-Statement Model Builderginlix-ai/LangAlpha1.8k—~5.4kAutomated safety check: PassApache-2.0
Dcf ModelWind-Alice/AliceMarket1303 repos~12kAutomated safety check: PassNone
Startupblueprintbuildfastwithai/gen-ai-experiments785—~2.2kAutomated safety check: PassMIT
Dcf ModelLuciole-Studio/Misaka-Agent1392 repos~12kAutomated safety check: PassApache-2.0

Similar skills

  • Excel Dcf Modeler

    jeremylongshore/tons-of-skills-marketplace

    Build discounted cash flow (DCF) valuation models in Excel. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~593 tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Builds or repairs an integrated income statement, balance sheet and cash flow model in Excel with live formulas, supporting schedules, scenarios and a Checks sheet.

    1.8k GitHub stars~5.4k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Dcf Model

    Wind-Alice/AliceMarket

    Real DCF (Discounted Cash Flow) model creation for equity valuation.

    130 GitHub starsUsed in 3 repos~12k tokens
    Business, Finance & HRAuto-check passed
  • Startupblueprint

    buildfastwithai/gen-ai-experiments

    Turn a startup, SaaS, app, developer tool, website, repository, or product idea into an evidence-backed business plan, monetization strategy, pricing architecture, editable 12-month financial model…

    785 GitHub stars~2.2k tokensUpdated 16 days ago
    Business, Finance & HRAuto-check passed
  • Dcf Model

    Luciole-Studio/Misaka-Agent

    Build discounted cash flow valuation workbooks in Excel. An agent skill from Luciole-Studio/Misaka-Agent.

    139 GitHub starsUsed in 2 repos~12k tokens
    Business, Finance & HRAuto-check passed
  • Officecli Financial Model

    FerroxLabs/wayland

    A skill your agent uses when the user wants to build a financial model - 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising…

    608 GitHub starsUsed in 4 repos~12k tokens
    Business, Finance & HRAuto-check passed

More from daloopa/investing

All 22 skills in this repo
  • Capital Allocation

    daloopa/investing

    Deep dive into capital deployment, buybacks, dividends, and shareholder yield

    489 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Comp Sheet

    daloopa/investing

    Build an industry comp sheet Excel model with deep operational KPIs

    489 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Comps

    daloopa/investing

    Trading comparables analysis with peer multiples and implied valuation

    489 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Dcf

    daloopa/investing

    Discounted cash flow valuation with sensitivity analysis. An agent skill from daloopa/investing.

    489 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Earnings Flash

    daloopa/investing

    Rapid first-read earnings flash for a given company. An agent skill from daloopa/investing.

    489 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Guidance Tracker

    daloopa/investing

    Track management guidance accuracy over time for a given company

    489 GitHub stars~2.5k tokensUpdated today
    Auto-check passed

Works with

Questions about Build Model

How do I install Build Model in Claude Code?

Run `npx skills add daloopa/investing --skill build-model -a claude-code`. Or copy the skill folder (.claude/skills/build-model in daloopa/investing) into .claude/skills/build-model in your project. Claude Code loads it when a task matches its description.

How do I install Build Model in Codex?

Run `npx skills add daloopa/investing --skill build-model -a codex`. Or copy the skill folder (.claude/skills/build-model in daloopa/investing) into .agents/skills/build-model in your project. Codex loads it when a task matches its description.

Can I use Build Model in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daloopa/investing --skill build-model -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/build-model, .gemini/skills/build-model, .github/skills/build-model and .opencode/skills/build-model in your project.

What does Build Model need to run?

Going by SKILL.md and its folder, Build Model needs the command-line tools its instructions call (python).

Does Build Model access the network?

SKILL.md names 1 domain. As links in the text: daloopa.com. This is read from the text; nothing was executed.

Is Build Model safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Build Model use?

Build Model is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Build Model use?

About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Build Model?

Skills that share tags, products or a category with Build Model: Excel Dcf Modeler (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Three-Statement Model Builder (ginlix-ai/LangAlpha, 1.8k stars), Dcf Model (Wind-Alice/AliceMarket, 130 stars) and Startupblueprint (buildfastwithai/gen-ai-experiments, 785 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Build Model?

daloopa (a GitHub organization) maintains it in daloopa/investing, which has 489 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 7, 2026.

Source: daloopa/investing on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.