Financial Statements 标志

Financial Statements

社区
JoelLewis
financial-statements

分析财务报表,为投资决策提供依据:从利润表和现金流量表推导 EBITDA 和自由现金流(FCFF/FCFE),计算 ROIC、利润率,并进行杜邦 ROE 分解;通过应计项目和营运资本趋势评估盈利质量。用户询问“如何阅读 10-K”、“利润表和现金流量表有什么区别”、“如何计算自由现金流”、“FCFF 和 FCFE 的区别”、“EBITDA 调整”、“ROIC 和 WACC 的区别”、“杜邦分析”、“盈利质量”、“应计比率”、“现金转换周期”、“收入确认的危险信号”、“递延税款”,或“成本基础和内含资本利得”时使用。用户询问基本面分析问题时也应触发,例如报告利润是否有现金流支撑、公司创造的价值是否高于其资本成本,或出售已升值持仓会产生哪些税务影响。

Add to TypingMind

概览

发布者JoelLewis
代码仓库finance_skills
技能名称financial-statements
星标数
217
复刻数
37
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 JoelLewis 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Financial Statements AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/financial-statements
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/financial-statements .claude/skills/financial-statements
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Financial Statements,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Financial Statements。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Financial Statements 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Financial Statements

Core Concepts

The Three Statements and How They Articulate

  • Income statement: revenue minus expenses over a period, on an accrual basis. Ends in net income.
  • Balance sheet: assets = liabilities + equity at a point in time. Net income (less dividends) rolls into retained earnings, linking the two statements.
  • Cash flow statement: reconciles net income to actual cash movement, split into operating (CFO), investing (CFI), and financing (CFF) activities. It starts from net income, adds back non-cash charges (D&A, stock-based compensation, impairments), and adjusts for working capital changes. The ending cash ties back to the balance sheet cash line.

Accrual accounting means reported earnings and cash generation can diverge for long stretches. Most analytical work is about measuring and interpreting that divergence.

EBITDA and Its Adjustments

EBITDA = EBIT + Depreciation & Amortization. It approximates pre-tax, pre-financing operating cash generation and is capital-structure neutral, which is why EV/EBITDA multiples use it. "Adjusted EBITDA" further strips items management deems non-recurring (restructuring, litigation, stock-based compensation). Scrutinize each add-back: recurring "one-time" charges and stock-based compensation are real economic costs. EBITDA ignores capex entirely, so it flatters capital-intensive businesses.

Free Cash Flow — FCFF and FCFE

FCFF (free cash flow to the firm) is cash available to all capital providers:

  • From CFO: FCFF = CFO + Interest × (1 − τ) − Capex
  • From EBITDA/EBIT: FCFF = EBIT × (1 − τ) + D&A − ΔNWC − Capex, where EBIT = EBITDA − D&A and EBIT × (1 − τ) is NOPAT

FCFE (free cash flow to equity) is cash available to shareholders after debt service:

  • FCFE = CFO − Capex + Net borrowing
  • FCFE = FCFF − Interest × (1 − τ) + Net borrowing

FCFF pairs with WACC (enterprise DCF); FCFE pairs with cost of equity (equity DCF). Never mix them.

ROIC and the ROIC-vs-WACC Test

ROIC = NOPAT / Invested capital, where NOPAT = EBIT × (1 − τ) and invested capital = total debt + equity − excess cash (equivalently, net working capital + net fixed assets). A company creates value only when ROIC exceeds WACC; growth at ROIC below WACC destroys value. Persistent ROIC above WACC is the quantitative signature of a moat — it validates (or refutes) qualitative competitive-advantage claims.

Margin Analysis and DuPont Decomposition

  • Gross margin = Gross profit / Revenue — pricing power and input costs
  • Operating margin = EBIT / Revenue — adds operating cost discipline
  • Net margin = Net income / Revenue — adds financing and tax effects

DuPont decomposes ROE into three levers:

ROE = (Net income / Revenue) × (Revenue / Assets) × (Assets / Equity) = Net margin × Asset turnover × Equity multiplier

Two companies with identical ROE can have very different quality: one earns it through margins and turnover, the other through leverage. Rising ROE driven solely by the equity multiplier is a risk signal, not an operating improvement.

Quality of Earnings

Earnings are high quality when backed by cash and generated by recurring operations:

  • Accruals ratio = (Net income − CFO) / Average total assets. Persistently positive and rising accruals mean earnings outpace cash — historically a predictor of poor forward returns and restatements.
  • Revenue recognition red flags: receivables growing much faster than revenue, heavy quarter-end shipments (channel stuffing), bill-and-hold sales, aggressive percentage-of-completion estimates, growing unbilled receivables.
  • One-offs: recurring "restructuring" charges, gains on asset sales folded into operating income, reserve releases boosting earnings.
  • Capitalization games: capitalizing costs that peers expense (software development, customer acquisition) shifts expense from the income statement to the balance sheet and inflates both earnings and CFO (the spend moves to CFI).

Working Capital Dynamics

Net working capital (NWC) = current operating assets − current operating liabilities (exclude cash and short-term debt). Growth normally consumes working capital; a rising cash conversion cycle consumes more. The cash conversion cycle:

CCC = DSO + DIO − DPO

where DSO = Receivables / Revenue × 365, DIO = Inventory / COGS × 365, DPO = Payables / COGS × 365. A lengthening CCC ties up cash and often precedes inventory write-downs or receivable problems; a negative CCC (customers pay before suppliers are paid) means growth generates cash.

Deferred Taxes and Cost Basis

Book (GAAP) and tax accounting diverge on timing. Accelerated tax depreciation makes cash taxes lower than book tax expense early in an asset's life, creating a deferred tax liability (DTL); it reverses later. Net operating losses and warranty reserves create deferred tax assets (DTAs), which are only worth carrying if future taxable income will absorb them. The US federal corporate rate applied in these calculations is 21% as of 2026.

For taxable investors, the same timing logic applies at the portfolio level. Cost basis is the purchase price (adjusted for reinvested distributions, return of capital, and wash sales); selling realizes the gain and triggers tax now, while holding defers it. The embedded tax liability of a position is:

Embedded tax = (Market value − Cost basis) × Applicable capital gains rate

with the top federal long-term rate at 23.8% (20% plus the 3.8% net investment income tax) as of 2026, and short-term gains taxed at ordinary rates. Deferral has real value: the unrealized tax is an interest-free loan from the government. This is the accounting foundation for tax-aware rebalancing — compare the tracking-error cost of holding an overweight against the tax cost of selling it, prefer high-basis lots (specific-lot identification), and remember basis steps up at death under current US law as of 2026.

Common Red Flags

  • CFO persistently below net income (positive accruals ratio) for multiple years
  • Receivables or inventory growing materially faster than revenue
  • Frequent changes in accounting policies, estimates, or auditors
  • Rising DSO alongside aggressive revenue growth
  • Capex consistently far below D&A in a business that is not shrinking (under-investment)
  • Serial "non-recurring" charges and heavy reliance on adjusted metrics
  • Growing gap between adjusted EBITDA and CFO

Key Formulas

FormulaExpressionUse Case
EBITDAEBITDA = EBIT + D&ACapital-structure-neutral operating profit
NOPATNOPAT = EBIT × (1 − τ)After-tax operating profit for ROIC and FCFF
FCFF (from CFO)FCFF = CFO + Int × (1 − τ) − CapexFirm cash flow for enterprise DCF
FCFF (from EBIT)FCFF = EBIT × (1 − τ) + D&A − ΔNWC − CapexSame, built from the income statement
FCFEFCFE = CFO − Capex + Net borrowingEquity cash flow for equity DCF
ROICROIC = NOPAT / Invested capitalValue creation test vs WACC
Invested capitalIC = Debt + Equity − Excess cashDenominator for ROIC
DuPont ROEROE = Net margin × Asset turnover × Equity multiplierDecompose the source of ROE
Accruals ratio(NI − CFO) / Avg total assetsEarnings quality screen
Cash conversion cycleCCC = DSO + DIO − DPOWorking capital efficiency
Embedded tax(MV − Cost basis) × Cap gains rateTax cost of selling an appreciated position

Worked Examples

Example 1: EBITDA, FCFF, and FCFE from the Statements

Given (fiscal year, $M): Revenue 500, COGS 300, SG&A 80, D&A 30, interest expense 10, tax rate 25%. Increase in net working capital 15, capex 35, net borrowing 5.

Solution:

  • Gross profit = 500 − 300 = $200M (gross margin 40.0%)
  • EBIT = 200 − 80 − 30 = $90M (operating margin 18.0%)
  • EBITDA = EBIT + D&A = 90 + 30 = $120M
  • Pre-tax income = 90 − 10 = $80M; taxes = 80 × 0.25 = $20M; net income = $60M (net margin 12.0%)
  • CFO = NI + D&A − ΔNWC = 60 + 30 − 15 = $75M
  • FCFF (from CFO) = 75 + 10 × (1 − 0.25) − 35 = 75 + 7.5 − 35 = $47.5M
  • FCFF (from EBIT) = 90 × 0.75 + 30 − 15 − 35 = 67.5 + 30 − 15 − 35 = $47.5M — the two routes agree
  • FCFE = CFO − Capex + Net borrowing = 75 − 35 + 5 = $45.0M
  • Check: FCFE = FCFF − Int × (1 − τ) + Net borrowing = 47.5 − 7.5 + 5 = $45.0M

Note that net income ($60M) overstates distributable cash to the firm ($47.5M) because capex exceeds D&A and working capital consumed cash.

Example 2: ROIC vs WACC and DuPont Decomposition

Given (same company, $M): EBIT 90, tax rate 25%, total debt 150, shareholders' equity 300, excess cash 50, total assets 600, revenue 500, net income 60, WACC 9%.

Solution:

  • NOPAT = 90 × (1 − 0.25) = $67.5M
  • Invested capital = 150 + 300 − 50 = $400M
  • ROIC = 67.5 / 400 = 16.875%
  • ROIC − WACC = 16.875% − 9% = +7.9 pts — the company earns well above its cost of capital; reinvested growth creates value, consistent with a durable competitive advantage

DuPont:

  • Net margin = 60 / 500 = 12.0%
  • Asset turnover = 500 / 600 = 0.8333
  • Equity multiplier = 600 / 300 = 2.0
  • ROE = 0.12 × 0.8333 × 2.0 = 20.0% (check: 60 / 300 = 20.0%)

The ROE is earned mostly through margin and turnover with moderate leverage — a higher-quality 20% than one built on a 4x equity multiplier.

Example 3: Earnings Quality and Embedded Tax

Part A — Accruals. Two companies each report net income of $80M on average total assets of $500M. Company X has CFO of $30M; Company Y has CFO of $95M.

  • X accruals ratio = (80 − 30) / 500 = +10.0% — earnings far ahead of cash; investigate receivables, inventory, and capitalization policy
  • Y accruals ratio = (80 − 95) / 500 = −3.0% — earnings fully cash-backed

Part B — Cash conversion cycle (Company X, $M): receivables 75, inventory 60, payables 45, revenue 500, COGS 300.

  • DSO = 75 / 500 × 365 = 54.75 days; DIO = 60 / 300 × 365 = 73.0 days; DPO = 45 / 300 × 365 = 54.75 days
  • CCC = 54.75 + 73.0 − 54.75 = 73.0 days. If DSO was 40 days a year ago, the 15-day jump on flat revenue growth is a classic revenue-recognition red flag.

Part C — Embedded tax for rebalancing. A taxable client holds a fund position with market value $150,000 and cost basis $100,000, held over one year, top bracket.

  • Embedded tax = (150,000 − 100,000) × 23.8% = $11,900 (20% LTCG + 3.8% NIIT, as of 2026)
  • After-tax liquidation value = 150,000 − 11,900 = $138,100
  • A full rebalancing sale costs $11,900 (7.9% of position value) today; that cost must be weighed against the risk reduction from trimming, and reduced where possible by selling the highest-basis lots first.

Common Pitfalls

  • Treating EBITDA as cash flow — it ignores capex, working capital, cash taxes, and interest; capital-intensive businesses can post strong EBITDA and negative FCF indefinitely
  • Discounting FCFF at the cost of equity or FCFE at WACC — mismatched cash flow and discount rate corrupts the valuation
  • Accepting every adjusted-EBITDA add-back — stock-based compensation and serial "one-time" restructuring are recurring economic costs
  • Computing ROIC with total assets instead of invested capital, or leaving excess cash in the denominator — both understate true operating returns
  • Reading a high ROE as quality without DuPont — leverage can manufacture ROE while operations deteriorate
  • Ignoring working capital in FCF — fast growth with a long cash conversion cycle can make a profitable company chronically cash-hungry
  • Comparing margins across industries without context — a 4% net margin is excellent for a grocer and alarming for enterprise software
  • Rebalancing taxable accounts as if they were IRAs — ignoring cost basis and embedded gains converts paper tax deferral into an immediate, avoidable tax bill
  • Using average cost basis when specific-lot identification would allow selling high-basis lots and realizing smaller gains

Cross-References

  • quantitative-valuation (wealth-management plugin): the FCFF, FCFE, and EBITDA figures derived here are the inputs to DCF and multiples-based valuation
  • qualitative-valuation (wealth-management plugin): ROIC persistence, margin trends, and cash flow patterns provide the quantitative evidence for moat and management-quality claims
  • equities (wealth-management plugin): statement analysis underpins fundamental stock selection and style classification (value vs growth metrics)
  • tax-efficiency (wealth-management plugin): cost basis, embedded gains, and deferral value feed lot-selection, harvesting, and asset-location decisions
  • statistics-fundamentals (core plugin): ratio trends and peer comparisons rely on distributional thinking (medians vs means, outlier handling)

Running the Script

uv run scripts/financial_statements.py

The PEP 723 header resolves the numpy dependency automatically. Alternatively run python3 scripts/financial_statements.py after pip install numpy.

  • Bare run prints a demo covering the income-statement build, EBITDA and the FCFF/FCFE bridges, ROIC vs WACC, DuPont decomposition, accruals ratio, cash conversion cycle, and embedded tax liability.
  • --verify re-runs the demo computations and asserts the outputs match this skill's worked examples (prints PASS/FAIL, nonzero exit on mismatch).
  • --help lists the available classes.

The file is primarily meant to be imported as a module, e.g. from financial_statements import FreeCashFlow, Profitability, EarningsQuality, TaxBasis.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Financial Statements AI 技能有什么作用?

分析财务报表,为投资决策提供依据:从利润表和现金流量表推导 EBITDA 和自由现金流(FCFF/FCFE),计算 ROIC、利润率,并进行杜邦 ROE 分解;通过应计项目和营运资本趋势评估盈利质量。用户询问“如何阅读 10-K”、“利润表和现金流量表有什么区别”、“如何计算自由现金流”、“FCFF 和 FCFE 的区别”、“EBITDA 调整”、“ROIC 和 WACC 的区别”、“杜邦分析”、“盈利质量”、“应计比率”、“现金转换周期”、“收入确认的危险信号”、“递延税款”,或“成本基础和内含资本利得”时使用。用户询问基本面分析问题时也应触发,例如报告利润是否有现金流支撑、公司创造的价值是否高于其资本成本,或出售已升值持仓会产生哪些税务影响。

为什么在 TypingMind 中使用 Financial Statements?

因为您只需安装一次,就能搭配任何模型使用。Financial Statements 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Financial Statements?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/financial-statements。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Financial Statements?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Financial Statements 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Financial Statements 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Financial Statements AI 技能免费吗?

是的。JoelLewis 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇