跳到正文
Skillpedia
分析与电子表格41k · #6581

3-statement-model

它能做什么

这个技能引导 AI 智能体完成一个财务模型模板,使利润表、资产负债表和现金流量表相互链接。适合需要可运行三表模型的分析师。

适用场景

  • ✓当你有一个部分填写的三表模板需要完成的时候。
  • ✓当你需要将利润表、资产负债表和现金流量表链接在一起的时候。
  • ✓当你希望用公式而不是手动输入的数字来构建预测的时候。

技能链接

https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/model-builder/skills/3-statement-model/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/model-builder/skills/3-statement-model/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请用我已有的历史数据完成这个三表模型模板,并链接各项预测?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会用公式而不是手动输入的数字填写每项预测,链接三张报表,并检查资产负债表是否平衡。它可以在已打开的 Excel 加载项中工作,也可以生成文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

3-Statement Financial Model Template Completion

Complete and populate integrated financial model templates with proper linkages between Income Statement, Balance Sheet, and Cash Flow Statement.

⚠️ CRITICAL PRINCIPLES — Read Before Populating Any Template

Environment — Office JS vs Python:

  • If running inside Excel (Office Add-in / Office JS): Use Office JS directly. Write formulas via range.formulas = [["=D14*(1+Assumptions!$B$5)"]] — never range.values for derived cells. No separate recalc; Excel computes natively. Use context.workbook.worksheets.getItem(...) to navigate tabs.
  • If generating a standalone .xlsx file: Use Python/openpyxl. Write ws["D15"] = "=D14*(1+Assumptions!$B$5)", then run recalc.py before delivery.
  • Office JS merged cell pitfall: Do NOT call .merge() then set .values on the merged range — throws InvalidArgument because the range still reports its pre-merge dimensions. Instead write value to top-left cell alone, then merge + format the full range: ws.getRange("A1").values = [["INCOME STATEMENT"]]; const h = ws.getRange("A1:G1"); h.merge(); h.format.fill.color = "#1F4E79";
  • All principles below apply identically in either environment.

Formulas over hardcodes (non-negotiable):

  • Every projection cell, roll-forward, linkage, and subtotal MUST be an Excel formula — never a pre-computed value
  • When using Python/openpyxl: write formula strings (ws["D15"] = "=D14*(1+Assumptions!$B$5)"), NOT computed results (ws["D15"] = 12500)
  • The ONLY cells that should contain hardcoded numbers are: (1) historical actuals, (2) assumption drivers in the Assumptions tab
  • If you find yourself computing a value in Python and writing the result to a cell — STOP. Write the formula instead.
  • Why: the model must flex when scenarios toggle or assumptions change. Hardcodes break every downstream integrity check silently.

Verify step-by-step with the user:

  1. After mapping the template → show the user which tabs/sections you've identified and confirm before touching any cells
  2. After populating historicals → show the user the historical block and confirm values/periods match source data
  3. After building IS projections → run the subtotal checks, show the user the projected IS, confirm before moving to BS
  4. After building BS → show the user the balance check (Assets = L+E) for every period, confirm before moving to CF
  5. After building CF → show the user the cash tie-out (CF ending cash = BS cash), confirm before finalizing
  6. Do NOT populate the entire model end-to-end and present it complete — break at each statement, show the work, catch errors early

Formatting — Professional Blue/Grey Palette (Default unless template/user specifies otherwise)

Keep colors minimal. Use only blues and greys for cell fills. Do NOT introduce greens, yellows, oranges, or multiple accent colors — a clean model uses restraint.

Element Fill Font
Section headers (IS / BS / CF titles) Dark blue #1F4E79 White bold
Column headers (FY2024A, FY2025E, etc.) Light blue #D9E1F2 Black bold
Input cells (historicals, assumption drivers) Light grey #F2F2F2 or white Blue #0000FF
Formula cells White Black
Cross-tab links White Green #008000
Check rows / key totals Medium blue #BDD7EE Black bold

That's 3 blues + 1 grey + white. If the template has its own color scheme, follow the template instead.

Font color signals what a cell is (input/formula/link). Fill color signals where you are (header/data/check).

Model Structure

Identifying Template Tab Organization

Templates vary in their tab naming conventions and organization. Before populating, review all tabs to understand the template's structure. Below are common tab names and their typical contents:

Common Tab Names Contents to Look For
IS, P&L, Income Statement Income Statement
BS, Balance Sheet Balance Sheet
CF, CFS, Cash Flow Cash Flow Statement
WC, Working Capital Working Capital Schedule
DA, D&A, Depreciation, PP&E Depreciation & Amortization Schedule
Debt, Debt Schedule Debt Schedule
NOL, Tax, DTA Net Operating Loss Schedule
Assumptions, Inputs, Drivers Driver assumptions and inputs
Checks, Audit, Validation Error-checking dashboard

Template Review Checklist

  • Identify which tabs exist in the template (not
常见问题

为什么使用公式而不是数字?

技能说明,每一项预测和链接都必须是公式,这样模型才会在假设变化时自动更新。

它可以在 Excel 内工作吗?

可以。技能涵盖已打开的 Excel 加载项,以及创建独立的电子表格文件。

我可以使用自己的模板吗?

可以。技能用于完成已有的模板结构,因此会保留你现有的版式。

详情

作者的原始描述

Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) . Use when asked to fill out model templates, complete existing model frameworks, populate financial models with data, complete a partially filled IS/BS/CF framework, or link integrated financial statements within an existing template structure. Triggers include requests to fill in, complete, or populate a 3-statement model template

repo: anthropics/financial-services

热度

GitHub 星标
41k
排名
#6581
许可证
Apache-2.0
更新时间
2026/10/28

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能