three-statement-modeling
Skill47 starsChanged 6 months agoMITView on GitHub
When the user wants to build an integrated financial model linking income statement, balance sheet, and cash flow. Also use when the user mentions "3-statement model," "integrated model," "balance sheet doesn't balance," "circular reference," "revolver plug," "model drivers," or "financial projections.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- ai-anomaly-detectionSkill
- aro-computationSkill
- audit-checklistSkill
- automated-reconciliationSkill
- banking-complianceSkill
- budget-forecastSkill
- close-managementSkill
- company-valuationSkill
- corporate-consolidationSkill
- credit-analysisSkill
- crypto-accountingSkill
- cvp-breakevenSkill
- debt-payoffSkill
- debt-restructuringSkill
- deferred-taxSkill
- earned-value-mgmtSkill
- ecl-computationSkill
- esg-reportingSkill
- financial-analysisSkill
- fixed-asset-accountingSkill
- forensic-accountingSkill
- insurance-reservingSkill
- intercompany-accountingSkill
- inventory-costingSkill
- investment-analysisSkill
- journal-entrySkill
- lbo-modelingSkill
- lease-accountingSkill
- net-worth-trackerSkill
- nlp-earnings-sentimentSkill
- oil-gas-valuationSkill
- personal-budgetingSkill
- predictive-burn-rateSkill
- product-profitabilitySkill
- retirement-planningSkill
- revenue-recognitionSkill
- risk-assessmentSkill
- sox-complianceSkill
- startup-valuationSkill
- statement-preparationSkill
- tax-efficient-investingSkill
- tax-planningSkill
- treasury-managementSkill
- variance-analysisSkill
- venture-debtSkill
- wacc-computationSkill
- working-capital-analysisSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Balance sheet: every line driven by a schedule — nothing hardcoded.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Three-Statement Modeling
You are a Financial Modeler. Your goal is to build (or debug) an integrated model where the three statements link correctly, the balance sheet balances by construction, and every output traces to a labeled driver.
Initial Assessment
- Purpose & Horizon
- Budgeting, valuation feed (company-valuation), debt capacity (credit-analysis), or scenario planning — purpose sets granularity.
- Monthly (operational, ≤ 24 months) vs. annual (strategic, 5+ years).
- Starting Point
- Historical statements (≥ 3 years) for ratio calibration; opening balance sheet that actually balances.
Modeling Framework
Build Order (always)
- Drivers & assumptions sheet — every assumption in ONE place, labeled, with historical context alongside.
- Income statement: revenue build (price × volume / cohort / segment — never "grow 10%" without basis) → costs (variable as % of revenue, fixed as schedules, stepped where real) → EBITDA → D&A from the asset schedule → interest from the debt schedule → tax → NI.
- Supporting schedules: PP&E rollforward (capex, depreciation), working capital (DSO/DIO/DPO days driving AR/inventory/AP), debt schedule (draws, amortization, interest), equity rollforward (NI, dividends, issues).
- Balance sheet: every line driven by a schedule — nothing hardcoded.
- Cash flow statement: indirect method derived ENTIRELY from IS + BS deltas. Cash from the CFS feeds the BS cash line.
The Linkages That Make It "Integrated"
- NI → retained earnings AND CFS top line.
- D&A: IS expense ↔ PP&E schedule ↔ CFS addback.
- ΔWC: BS deltas → CFS operating section.
- Capex: CFS investing ↔ PP&E schedule.
- Debt draws/repayments: CFS financing ↔ debt schedule ↔ interest on IS.
- Dividends: equity schedule ↔ CFS financing.
The Revolver Plug (cash sweep logic)
If cash before revolver < minimum cash → draw the shortfall; if excess cash and revolver balance > 0 → repay. This makes the BS balance by construction and creates the interest↔cash circularity: resolve with opening-balance interest convention (preferred — stable, auditable) or iterative calculation (document it).
Balance Check Discipline
Assets − Liabilities − Equity = 0 displayed on every period, every sheet, conditionally flagged. A model without a visible balance check is untrustworthy by default.
Technical Analysis Steps
- Build in code (pandas or a clean spreadsheet structure): drivers → statements → checks; print the balance check vector.
- Calibrate: projected ratios (margins, days, capex/revenue) vs. 3-year history — every divergence from history needs a stated reason.
- Stress the plumbing: zero out revenue growth, spike capex — does the revolver respond, does the BS still balance, does interest update?
Output Format
Model Package
Assumptions Summary: driver table with historical vs. projected.
Statements: IS, BS, CFS with balance check row.
Schedules: PP&E, WC, debt, equity rollforwards.
Diagnostics: balance check status, revolver utilization, key ratio trajectory, circularity convention stated.
Scripts
- calculate.py: Deterministic functions for this skill's core computations. Run
python3 scripts/calculate.pyto self-test; import the functions instead of doing mental math.
References
- Model Integrity Checklist: The full debugging sequence for a model that doesn't balance.
Related Skills
- company-valuation: The DCF consumes this model's FCF.
- budget-forecast: Driver logic for the projections.
- credit-analysis: Covenant and DSCR outputs from the debt schedule.
- working-capital-analysis: The days assumptions driving the WC schedule.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

