Skip to content
Skillpedia
Analysis & spreadsheets33k Β· #9133

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.md

Copy 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

Use this skill to help me: https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-financial-model/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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:

  1. Three-zone architecture mandatory: Inputs β†’ Calc β†’ Outputs. Collapsing zones β†’ unauditable.
  2. Assumptions live in cells, never inside formulas. =B5*(1+Assumptions!GrowthRate), never =B5*1.05.
  3. Statements balance every period. Assets βˆ’ Liab βˆ’ Equity = 0, CF.EndingCash = BS.Cash. Gate 4 fails on IMBALANCED.
  4. Hardcodes audited. Calc sheets carry zero hardcoded numbers; Gate 6 counts.
  5. Sensitivity / scenario is first-class. 2-axis grid, dropdown INDEX/MATCH switch, or Base/Upside/Downside cols. Excel Data Tables not reliably supported β€” manual grids only.
  6. 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.
  7. Circularity is a design choice. Legitimate rings (interest ↔ cash, revolver plug ↔ ending cash) use calc.iterate=true. Accidental circularity is broken algebra β€” never papered with iterate.
  8. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills