joellewis/financial-statements
Analyze financial statements for investment decisions: derive EBITDA and free cash flow (FCFF/FCFE) from the income statement and cash flow statement, compute ROIC, margins, and DuPont ROE decomposition, and assess quality of earnings via accruals and working capital trends. Use when the user asks about 'reading a 10-K', 'income statement vs cash flow statement', 'how to calculate free cash flow', 'FCFF vs FCFE', 'EBITDA adjustments', 'ROIC vs WACC', 'DuPont analysis', 'quality of earnings', 'accruals ratio', 'cash conversion cycle', 'revenue recognition red flags', 'deferred taxes', or 'cost basis and embedded capital gains'. Also trigger for fundamental analysis questions like whether reported earnings are backed by cash, whether a company creates value above its cost of capital, or the tax consequences of selling an appreciated position.
npx skills add https://github.com/JoelLewis/finance_skills --skill financial-statements
Accrual accounting means reported earnings and cash generation can diverge for long stretches. Most analytical work is about measuring and interpreting that divergence.
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.
FCFF (free cash flow to the firm) is cash available to all capital providers:
FCFE (free cash flow to equity) is cash available to shareholders after debt service:
FCFF pairs with WACC (enterprise DCF); FCFE pairs with cost of equity (equity DCF). Never mix them.
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.
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.
Earnings are high quality when backed by cash and generated by recurring operations:
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.
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.
| Formula | Expression | Use Case |
|---------|-----------|----------|
| EBITDA | EBITDA = EBIT + D&A | Capital-structure-neutral operating profit |
| NOPAT | NOPAT = EBIT × (1 − τ) | After-tax operating profit for ROIC and FCFF |
| FCFF (from CFO) | FCFF = CFO + Int × (1 − τ) − Capex | Firm cash flow for enterprise DCF |
| FCFF (from EBIT) | FCFF = EBIT × (1 − τ) + D&A − ΔNWC − Capex | Same, built from the income statement |
| FCFE | FCFE = CFO − Capex + Net borrowing | Equity cash flow for equity DCF |
| ROIC | ROIC = NOPAT / Invested capital | Value creation test vs WACC |
| Invested capital | IC = Debt + Equity − Excess cash | Denominator for ROIC |
| DuPont ROE | ROE = Net margin × Asset turnover × Equity multiplier | Decompose the source of ROE |
| Accruals ratio | (NI − CFO) / Avg total assets | Earnings quality screen |
| Cash conversion cycle | CCC = DSO + DIO − DPO | Working capital efficiency |
| Embedded tax | (MV − Cost basis) × Cap gains rate | Tax cost of selling an appreciated position |
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:
Note that net income ($60M) overstates distributable cash to the firm ($47.5M) because capex exceeds D&A and working capital consumed cash.
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:
DuPont:
The ROE is earned mostly through margin and turnover with moderate leverage — a higher-quality 20% than one built on a 4x equity multiplier.
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.
Part B — Cash conversion cycle (Company X, $M): receivables 75, inventory 60, payables 45, revenue 500, COGS 300.
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.
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.
--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.
Take joellewis/financial-statements from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference pip.
Without those the skill loads but fails at the first command.