officecli-financial-model
What it does
This skill guides the AI agent in building financial models in Excel with clear inputs, formulas and sensitivity tables. It is for finance teams, analysts and founders preparing projections.
When to use it
- βWhen you need a three-statement model with income, balance sheet and cash flow linked together.
- βWhen you want a DCF valuation with a discount rate and terminal value.
- βWhen you need sensitivity or scenario analysis for a fundraising projection.
Skill link
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-financial-model/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you build a simple three-statement model in Excel for a SaaS startup, with a sensitivity table on growth rate?β
5 new skills a week. 1 minute to read.
How it works
The agent lays out the model in input, calculation and output areas, adds formulas and checks, and builds the Excel file with officecli.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
OfficeCLI Financial-Model Skill
This skill is a scene layer on top of officecli-xlsx. Every xlsx hard rule β shell quoting, incremental execution, Help-First Rule, visual delivery floor, CFO 4-color code (blue input / black formula / green cross-sheet / yellow-fill assumption), number-format standards (years as text, zero as -, % one decimal, negatives in parens), assumption-cell discipline, CSV batch import, chart data-feed forms (a/b/c), the 5-gate Delivery cycle, cache-drift guidance, Known Issues (the cross-sheet ! trap, batch + resident for formulas, renderer caveats) β is inherited, not re-taught. This file adds only what a financial model requires on top: three-zone architecture, 3 model-type recipes (3-statement / DCF / LBO), sensitivity + scenario protocols, financial-function patterns, circular-reference discipline, and model-specific Delivery Gates 4β6.
When the xlsx base rules cover it, the text here says β see xlsx v2 Β§X. Read skills/officecli-xlsx/SKILL.md first if you have not.
Setup
If officecli is missing:
- macOS / Linux:
curl -fsSL https://d.officecli.ai/install.sh | bash - Windows (PowerShell):
irm https://d.officecli.ai/install.ps1 | iex
Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.
Help-First Rule
This skill teaches what a financial model requires, not every CLI flag. When a prop name / alias / enum is uncertain, consult help BEFORE guessing: officecli help xlsx [element] [--json]. Help is authoritative for the installed version β when this skill and help disagree, help wins. Every --prop X= below was verified against officecli help xlsx <element>.
Mental Model & Inheritance
Inherits xlsx v2. Read skills/officecli-xlsx/SKILL.md first. This skill assumes you know create / open / close, set values/formulas, batch heredocs for cross-sheet formulas, /SheetName/A1 paths, named ranges, the 5-gate Delivery cycle, the cross-sheet ! trap, and that cross-sheet formulas go non-resident (single batch OR individual set), never batch-while-resident.
Shell & Execution Discipline
Shell quoting, incremental execution, $FILE convention β see xlsx v2 Β§Shell & Execution Discipline. Same rules: quote every [N] path, single-quote any prop containing $ (every number format here β $#,##0;($#,##0);"-" β needs single quotes), no hand-written \$/\t/\n, one command at a time. Examples below use $FILE (FILE="model.xlsx").
Core Principles (identity)
A financial model is an xlsx with a decision-grade, formula-driven layer: every output traces an unbroken chain to blue-font assumptions, every statement balances every period, every valuation is re-auditable. Eight deltas on top of a general xlsx:
- Three-zone architecture mandatory: Inputs β Calc β Outputs. Collapsing zones β unauditable.
- Assumptions live in cells, never inside formulas.
=B5*(1+Assumptions!GrowthRate), never=B5*1.05. - Statements balance every period.
Assets β Liab β Equity = 0,CF.EndingCash = BS.Cash. Gate 4 fails onIMBALANCED. - Hardcodes audited. Calc sheets carry zero hardcoded numbers; Gate 6 counts.
- Sensitivity / scenario is first-class. 2-axis grid, dropdown
INDEX/MATCHswitch, or Base/Upside/Downside cols. Excel Data Tables not reliably supported β manual grids only. - Cached values on valuation cells load-bearing. A valuation cell that ships with no cached result (or the
#OCLI_NOTEVAL!sentinel) sends a blank/wrong number to non-recalculating readers. The evaluator now computes NPV / XNPV / IRR / XIRR; verify the cached value with a readback. Gate 5 spot-checks. - Circularity is a design choice. Legitimate rings (interest β cash, revolver plug β ending cash) use
calc.iterate=true. Accidental circularity is broken algebra β never papered withiterate. - Named ranges for β₯ 3-use assumptions.
WACC,TaxRate,TerminalGrowth,ExitMultiple,ChurnRate. Declared-unused names are dead decoration β Gate 6 flags.
Reverse handoff β when to go BACK to xlsx base
Stay in xlsx base for: budget trackers, CSV-to-report dumps, operational KPI sheets, simple templates, cap tables without forecast logic. Use this skill only when the ask mentions: 3-statement / DCF / WACC / NPV / TV / LBO / debt schedule / MOIC / IRR / unit economics / AR
FAQ
What model types are covered?
The skill covers three-statement models, DCF valuations, LBO models and SaaS unit economics.
How are inputs shown?
The skill uses a color code, with blue for inputs, black for formulas and green for cross-sheet links.
Does it handle circular references?
Yes. The skill includes guidance on circular reference discipline.
Details
Original description by the author
Use this skill 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 projections β in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value', 'LBO', 'debt schedule', 'cash sweep', 'MOIC', 'IRR / XIRR', 'sensitivity table', 'scenario analysis', 'ARR model', 'unit economics', 'CAC / LTV', 'cap table forecast'. Output is a single formula-driven .xlsx. This skill is a scene layer on top of officecli-xlsx β it inherits ever
repo: iOfficeAI/OfficeCLI
Popularity
- GitHub stars
- 33k
- Ranking position
- #9133
- License
- Apache-2.0
- Updated
- 10/30/2026
Comments
- β¦
More skills from this repository
officecli
33kLets your agent create, read, check and edit Word, Excel and PowerPoint files with the officecli tool, without needing Office installed.
morph-ppt-3d
33kHelps your agent build a PowerPoint deck with a 3D GLB model and smooth Morph transitions between slides.
morph-ppt
33kHelps your agent make a PowerPoint file with smooth Morph transitions, where shapes move, grow or rotate between slides.
officecli-academic-paper
33kHelps your agent format a research paper, thesis or manuscript as a Word file with citations, equations and journal-style layout.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.