Analyzing Financial Statements analyzing-financial-statements

This skill calculates key financial ratios and metrics from financial statement data for investment analysis

Works in Claude, ChatGPT, Codex and more
Our test
6/10
tested Dec 6, 2026
GitHub stars
56k
anthropics/claude-cookbooks
Added by
0
members
Updated
Dec 6
commit 8ad5de6
Content
3 files
2 scripts · 31 KB
License
MIT
free to use

What our test found

The skill covers useful ratio calculations and contextual analysis, but several formulas and defaults can produce misleading results, and its benchmark-based conclusions are overly simplistic.

Request we tested it on“Calculate key financial ratios from these figures: revenue $1,000,000, COGS $600,000, operating income $200,000, EBIT $180,000, EBITDA $250,000, net income $150,000, interest expense $20,000, total assets $2,000,000, current assets $800,000, inventory $250,000, cash $200,000, current liabilities $400,000, debt $500,000, equity $1,500,000, receivables $150,000, current debt maturities $50,000, share price $50, shares outstanding 100,000, and earnings growth 10%. Summarize the results.”

Limits spotted

  • Missing inputs default to zero, which can make absent data look like valid zero-valued ratios rather than unavailable results.
  • Debt service coverage is not reliably calculated: it uses operating income and adds current debt maturities to interest expense without actual principal payments or cash-flow adjustments.
  • ROE, ROA, turnover, and similar ratios use ending balances rather than average balances when period data is available.
  • The P/E calculation can report zero for negative earnings because the safe division default obscures the negative-earnings case.
  • Benchmark ranges and recommendations are simplified, lack sourcing and dates, and may imply more certainty than industry comparisons support.
  • The skill claims Excel report output, but no report-generation functionality is included in the provided scripts.
View on GitHub ↗
name: analyzing-financial-statements
description: This skill calculates key financial ratios and metrics from financial statement data for investment analysis

Financial Ratio Calculator Skill

This skill provides comprehensive financial ratio analysis for evaluating company performance, profitability, liquidity, and valuation.

Capabilities

Calculate and interpret:

  • Profitability Ratios: ROE, ROA, Gross Margin, Operating Margin, Net Margin
  • Liquidity Ratios: Current Ratio, Quick Ratio, Cash Ratio
  • Leverage Ratios: Debt-to-Equity, Interest Coverage, Debt Service Coverage
  • Efficiency Ratios: Asset Turnover, Inventory Turnover, Receivables Turnover
  • Valuation Ratios: P/E, P/B, P/S, EV/EBITDA, PEG
  • Per-Share Metrics: EPS, Book Value per Share, Dividend per Share

How to Use

  1. Input Data: Provide financial statement data (income statement, balance sheet, cash flow)
  2. Select Ratios: Specify which ratios to calculate or use "all" for comprehensive analysis
  3. Interpretation: The skill will calculate ratios and provide industry-standard interpretations

Input Format

Financial data can be provided as:

  • CSV with financial line items
  • JSON with structured financial statements
  • Text description of key financial figures
  • Excel files with financial statements

Output Format

Results include:

  • Calculated ratios with values
  • Industry benchmark comparisons (when available)
  • Trend analysis (if multiple periods provided)
  • Interpretation and insights
  • Excel report with formatted results

Example Usage

"Calculate key financial ratios for this company based on the attached financial statements"

"What's the P/E ratio if the stock price is $50 and annual earnings are $2.50 per share?"

"Analyze the liquidity position using the balance sheet data"

Scripts

  • calculate_ratios.py: Main calculation engine for all financial ratios
  • interpret_ratios.py: Provides interpretation and benchmarking

Best Practices

  1. Always validate data completeness before calculations
  2. Handle missing values appropriately (use industry averages or exclude)
  3. Consider industry context when interpreting ratios
  4. Include period comparisons for trend analysis
  5. Flag unusual or concerning ratios

Limitations

  • Requires accurate financial data
  • Industry benchmarks are general guidelines
  • Some ratios may not apply to all industries
  • Historical data doesn't guarantee future performance