Back to Documents

Analyzing Financial Statements

financeanalysisautomationdata-processingreporting
β˜… 5 (35)⭐ 45.5kπŸ“„ MITπŸ•’ 2026-06-09βœ“ OfficialSource β†—

Install this skill

npx skills add anthropics/claude-cookbooks

Works across Claude Code, Cursor, Codex, Copilot & Antigravity

What this skill does

  • β€’Computes liquidity ratios including current, quick, and cash ratios
  • β€’Evaluates profitability via ROE, ROA, and various margin calculations
  • β€’Generates valuation metrics like P/E, P/B, and EV/EBITDA
  • β€’Analyzes leverage through debt-to-equity and coverage ratios
  • β€’Provides textual interpretation of calculated values and trends

When to use it

  • βœ“When assessing the fiscal health of a company during due diligence
  • βœ“When automating the generation of quarterly investment summaries
  • βœ“When comparing the performance of multiple firms within the same sector
  • βœ“When calculating per-share metrics from provided annual report data

When not to use it

  • βœ•When performing real-time high-frequency trading calculations
  • βœ•When working with highly speculative or non-standardized crypto-asset data
  • βœ•When you require audited financial statements for regulatory compliance

How to invoke it

Example prompts that trigger this skill:

  • β€œCalculate the current ratio and debt-to-equity ratio for the attached balance sheet.”
  • β€œPerform a comprehensive profitability analysis for this firm over the last three fiscal years.”
  • β€œWhat is the P/E and PEG ratio based on these earnings and the current stock price of $120?”
  • β€œInterpret these inventory turnover figures in the context of the retail industry.”
  • β€œGenerate a summary report comparing liquidity metrics between these two balance sheets.”

Example workflow

  1. Upload the financial dataset in CSV or JSON format.
  2. Request specific ratio calculations relevant to the current business inquiry.
  3. Execute the analysis script to derive raw metrics from the source data.
  4. Run the interpretation module to contextualize the findings against industry benchmarks.
  5. Generate a summary output report featuring the calculated values and observations.

Prerequisites

  • –Claude API key
  • –Python 3.x environment
  • –Financial data in a structured format (JSON, CSV, or Excel)

Pitfalls & limitations

  • !Relies entirely on the accuracy of the provided raw financial data
  • !Industry benchmarks are general references and may not match niche sectors
  • !Interpretation modules are intended as support and do not replace professional accounting advice

FAQ

What data formats are supported?
The skill processes financial data provided via CSV files, structured JSON objects, standard Excel spreadsheets, or even direct text descriptions.
Can it compare companies across different industries?
While it can calculate ratios for any company, interpretation and benchmarking are most accurate when comparing entities within the same or similar industries.
Does this tool provide financial advice?
No, it is a calculation and interpretation utility. It provides data-driven insights but is not a substitute for qualified professional financial or investment advice.
Is trend analysis supported?
Yes, if you provide financial statements covering multiple periods, the skill can process the data to highlight changes and performance trends over time.

How it compares

Unlike manual spreadsheet calculations which require building and updating formulas, this skill automates both the math and the interpretive writing, providing immediate context for the results.

Source & trust

⭐ 46k starsπŸ“„ MITπŸ•’ Updated 2026-06-09πŸ›‘ no risky patterns foundβœ“ Official source

From the source: β€œ# 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 - **Liq…”

View the full SKILL.md source

# 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

Quoted from anthropics/claude-cookbooks for reference β€” see the original for the authoritative, latest version.

πŸ“„ Full skill instructions β€” original source: anthropics/claude-cookbooks
The Analyzing Financial Statements skill provides an automated framework for calculating and interpreting essential corporate finance metrics. By processing balance sheets, income statements, and cash flow data, this tool transforms raw numerical inputs into actionable insights regarding a company's profitability, liquidity, and solvency. It targets developers and financial analysts who need to assess business health without manually building complex spreadsheet formulas. Whether evaluating specific efficiency ratios like inventory turnover or calculating valuation benchmarks like P/E and EV/EBITDA, the skill delivers clear, structured results. It bridges the gap between raw financial filings and executive-level summaries by offering trend analysis and context-aware interpretations. This utility is particularly effective for those integrating automated report generation or investment research workflows into their applications, ensuring that financial data is processed with consistent logic and standardized industry terminology.

How to Use This Skill Unit

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/skills/analyzing-financial-statements/
  3. Save the file as SKILL.md
  4. The agent will automatically discover the skill based on its description.

Option B: Global Installation (All Agents)

Save the file to these locations to make it available across all projects:

  • Claude Code: ~/.claude/skills/anthropics/claude-cookbooks/analyzing-financial-statements/SKILL.md
  • Cursor: ~/.cursor/skills/anthropics/claude-cookbooks/analyzing-financial-statements/SKILL.md
  • Antigravity: ~/.gemini/antigravity/skills/anthropics/claude-cookbooks/analyzing-financial-statements/SKILL.md

πŸš€ Install with CLI:
npx skills add anthropics/claude-cookbooks

Read the Master Guide: Mastering Agent Skills β†’

Recommended Rules

View more rules β†’

Recommended Workflows

View more workflows β†’

Recommended MCP Servers

View more MCP servers β†’

Take It Further

Maximize your productivity with these powerful resources

πŸ“‹

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
πŸ“–

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide

How to use this Skill in Claude Code & Cursor

For Claude Code (CLI)

To use this skill in Claude Code, copy the rule content into your project's custom instructions or follow our Add-Skill CLI guide. This ensures Claude follows your standards during every code generation.

For Cursor & Windsurf

For Cursor or Windsurf, individual skills are best used in the "Rules for AI" section. This specific unit helps the agent avoid documents issues, leading to cleaner, more efficient code.

Why the skill format matters: the standardized Agent Skills format lets your AI agent load detailed instructions only when they are relevant, keeping your prompt clean while improving results.

Source & attribution

This skill is categorized under Documents and is published by anthropics, maintained in anthropics/claude-cookbooks.

← Browse All Agent Skills
Sponsored AI assistant. Recommendations may be paid.