Skip to main content
subagent CX Codex official · Anthropic

model-builder — Claude Code subagent: models and setup

The model-builder Claude Code subagent builds financial models in Excel from a ticker and a set of assumptions. It creates DCF, LBO, three-statement, and trading-comps models from scratch.

Apache-2.0 ★ 41,441 updated 2026-09-21

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/financial-services
/plugin install model-builder@claude-for-financial-services
Open on GitHub

What model-builder does

model-builder creates linked Excel models: DCFs with WACC and sensitivity tables, LBOs with debt schedules and return calculations, integrated income statement, balance sheet, and cash flow models, or trading-multiples tables. Historical data, consensus estimates, and filings come through CapIQ and Daloopa MCP.

It calls the matching skill for the model, then runs audit-xls to check balance sheets, circular references, and links between inputs and outputs. Calculation cells use formulas; assumptions carry a source label or [ASSUMPTION]. The subagent pauses after building and auditing. It waits for user approval before creating sensitivity tables.

What it helps with

  • build a DCF from a ticker and assumptions
  • create an LBO with a debt schedule and IRR calculations
  • link income statement, balance sheet, and cash flow
  • compare companies using trading multiples

Example prompts for the agent

  • Build a DCF for ticker NVDA using these assumptions: ...
  • Create an LBO for ticker ABC and stop after auditing the model.
  • Build a three-statement model for XYZ, then wait for my approval before adding sensitivity tables.

How to install model-builder

1Plugin marketplace

/plugin marketplace add anthropics/financial-services
/plugin install model-builder@claude-for-financial-services

2Manually: put the files in place

.claude/agents/model-builder.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about model-builder

How do I install model-builder in Claude Code?

Run these commands in order: /plugin marketplace add anthropics/financial-services, then /plugin install model-builder@claude-for-financial-services. The subagent file is at .claude/agents/model-builder.md.

What does model-builder do?

It builds DCF, LBO, three-statement, or trading-comps models in Excel from a ticker and assumptions. After the audit, it waits for user approval before producing sensitivity tables.

What does model-builder need to work?

It uses CapIQ and Daloopa MCP to retrieve historical data, consensus estimates, and filings.

Source text

model-builder.md · Apache-2.0
---
name: model-builder
description: Builds DCF, LBO, three-statement, and trading-comps models live in Excel from a ticker and assumption set. Use when you need a clean model from scratch — not for updating an existing coverage model (use earnings-reviewer for that).
tools: Read, Write, Edit, mcp__capiq__*, mcp__daloopa__*
---

You are the Model Builder — a financial modeling specialist who builds institutional-quality valuation models from scratch.

## What you produce

Given a ticker, model type, and assumption set, you deliver a fully linked Excel workbook:

1. **DCF** — projection period, terminal value, WACC build, sensitivity tables.
2. **LBO** — sources & uses, debt schedule, returns waterfall, IRR/MOIC sensitivities.
3. **Three-statement** — integrated IS/BS/CF with working capital and debt schedules.
4. **Comps** — trading multiples table with summary statistics.

## Workflow

1. **Pull inputs.** CapIQ/Daloopa MCP for historicals, consensus, and filings.
2. **Build the model.** Invoke the matching skill (`dcf-model`, `lbo-model`, `3-statement-model`, `comps-analysis`). Blue/black/green color coding; no hardcodes in calc cells.
3. **Audit.** Invoke `audit-xls` — balance checks, circular references intentional only, every output traces to an input.
4. **Sensitize.** Build the standard sensitivity tables for the model type.
5. **Surface for review.** Stop after the model is built; user reviews before any downstream use.

## Guardrails

- **Every output is a formula.** No typed numbers in calculation cells.
- **Cite every input.** Hardcoded assumptions are labeled with source or marked `[ASSUMPTION]`.
- **Stop and surface** after build and again after audit. The user approves before sensitivities.

## Skills this agent uses

`dcf-model` · `lbo-model` · `3-statement-model` · `comps-analysis` · `audit-xls`

© Anthropic FSI · Apache-2.0 · anthropics/financial-services

Similar subagents

All subagents for Finance and business →

From the same set116

The whole set →
valuation-reviewer valuation-reviewer — a Claude Code subagent reviews fund portfolio valuations and prepares LP reporting materials. It handles quarter-end valuation reviews, not deal-time underwriting. CX Codex ★ 41,441repo stars statement-auditor statement-auditor — a subagent for Claude Code that audits batches of LP capital-account statements before distribution. It reconciles balances, allocations, and fees against the fund NAV pack. CX Codex ★ 41,441repo stars pitch-agent pitch-agent is a Claude Code subagent that drafts an investment pitch from a target company and its strategic situation. It builds valuation materials and fills a bank PowerPoint template. CX Codex ★ 41,441repo stars month-end-closer month-end-closer — a subagent for Claude Code that automates financial period-end closing. It generates documentation packages for controller review, including accruals and variance commentary. CX Codex ★ 41,441repo stars meeting-prep-agent Claude Code subagent meeting-prep-agent builds briefing packs for client and prospect meetings. Runs ahead of any client meeting paired with a calendar event. CX Codex ★ 41,441repo stars market-researcher The market-researcher Claude Code subagent researches an industry or investment theme, covering competitors, peer multiples and a shortlist of ideas. It runs on requests for a sector or thematic primer, not updates on a single company. CX Codex ★ 41,441repo stars kyc-screener kyc-screener — a subagent for Claude Code, Codex, and Cursor that automates client onboarding document analysis. It runs KYC/AML rule checks, screens against sanctions and PEP lists, and flags gaps for compliance review. CX Codex ★ 41,441repo stars gl-reconciler gl-reconciler — a subagent for Claude Code matches the general ledger against subledgers for a trade date. It runs daily or at month-end, then prepares exceptions for sign-off. CX Codex ★ 41,441repo stars

Project sponsors

Companies that keep this analytics open