officecli-financial-model
它能做什么
这个技能指导智能体在 Excel 中构建财务模型,包括清晰的输入、公式和敏感性表。适合准备预测的财务团队、分析师和创始人。
适用场景
- ✓当你需要把利润表、资产负债表和现金流量表相互关联的三表模型时。
- ✓当你想用折现率和终值做 DCF 估值时。
- ✓当你需要为融资预测做敏感性或情景分析时。
技能链接
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-financial-model/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“能在 Excel 中为一家 SaaS 初创公司做一个简单的三表模型吗?再加一个关于增长率的敏感性表。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体把模型分为输入、计算和输出三个区域,添加公式和检查项,然后用 officecli 生成 Excel 文件。
技术内容(原始 SKILL.md)
作者在 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
常见问题
涵盖哪些模型类型?
技能涵盖三表模型、DCF 估值、LBO 模型和 SaaS 单位经济模型。
输入如何显示?
技能使用颜色编码:蓝色表示输入,黑色表示公式,绿色表示跨工作表的链接。
能处理循环引用吗?
可以。技能包含关于如何规范处理循环引用的指导。
详情
作者的原始描述
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
热度
- GitHub 星标
- 33k
- 排名
- #9133
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/30
评论
- …
同一仓库的更多技能
officecli
33k帮你的智能体用 officecli 工具创建、读取、检查和编辑 Word、Excel、PowerPoint 文件,无需安装 Office。
morph-ppt-3d
33k帮你的智能体制作带有 3D GLB 模型、并在幻灯片之间使用流畅 Morph 切换效果的 PowerPoint 演示文稿。
morph-ppt
33k帮你的智能体制作带有 Morph 流畅切换效果的 PowerPoint 文件,让形状在幻灯片之间移动、放大或旋转。
officecli-academic-paper
33k帮你的智能体把研究论文、学位论文或书稿排版成 Word 文件,包含引用、公式和期刊式版式。