Skip to main content
skill CX Codex

cash-flow-statement — Claude Code skill: what it does, how to install

Fetches quarterly and annual cash flow statements for public companies. It tracks free cash flow, operating cash, and capital allocation across historical periods.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OctagonAI/skills --skill cash-flow-statement -a claude-code
Open on GitHub

What cash-flow-statement does

This skill queries cash flow statements for publicly traded companies by ticker symbol. It outputs tabular data covering net income, operating cash flow, investing and financing activities, free cash flow, and ending cash balances. You can specify fiscal year (FY) or quarterly (Q) intervals and set record limits.

Beyond raw data, the agent performs specific financial calculations. It computes capital expenditures by subtracting free cash flow from operating cash flow. It also calculates cash conversion by dividing operating cash flow by net income to gauge earnings quality.

An active octagon-mcp server setup is required. Without the octagon-agent tool configured in your environment, the skill cannot retrieve data from octagon-financials-agent.

What it helps with

  • extract historical cash flow tables for any public company ticker
  • calculate capital expenditures from operating and free cash flows
  • evaluate cash conversion quality against reported net income
  • assess whether free cash flow covers dividends and share repurchases

Example prompts for the agent

  • Retrieve real-time or historical cash flow statement data for AAPL, limited to 5 records and filtered by period FY
  • Pull quarterly cash flow statements for MSFT and calculate capex trends
  • Analyze TSLA operating cash flow and cash conversion ratio for the last 3 years

How to install cash-flow-statement

1Skills CLI (Vercel)

npx skills add OctagonAI/skills --skill cash-flow-statement -a claude-code

2Manually: put the files in place

~/.claude/skills/cash-flow-statement/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cash-flow-statement/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cash-flow-statement

How do I install cash-flow-statement in Claude Code?

Run npx skills add OctagonAI/skills --skill cash-flow-statement -a claude-code. Alternatively, link the skill markdown file at ~/.claude/skills/cash-flow-statement/SKILL.md.

What does the cash-flow-statement skill do?

It pulls financial statement tables for public equities via Octagon MCP. It breaks down operating, investing, and financing cash flows while deriving capex and cash conversion metrics.

What are the prerequisites for this skill?

Your AI agent must have the octagon-mcp server configured. The skill calls the octagon-agent tool to communicate with the octagon-financials-agent data source.

Source text

SKILL.md · MIT
---
name: cash-flow-statement
description: Retrieve real-time or historical cash flow statement data including Net Income, Operating Cash Flow, Investing Cash Flow, Financing Cash Flow, Free Cash Flow, and Cash Position for public companies. Use when analyzing cash generation, capital allocation, or liquidity trends.
---

# Cash Flow Statement

Retrieve real-time or historical cash flow statement data for public companies using Octagon MCP.

## Prerequisites

Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See [references/mcp-setup.md](references/mcp-setup.md) for installation instructions.

## Query Format

```
Retrieve real-time or historical cash flow statement data for <TICKER>, limited to <N> records and filtered by period <FY|Q>.
```

**MCP Call:**

```json
{
  "server": "octagon-mcp",
  "toolName": "octagon-agent",
  "arguments": {
    "prompt": "Retrieve real-time or historical cash flow statement data for AAPL, limited to 5 records and filtered by period FY"
  }
}
```

## Output Format

The agent returns a table with absolute cash flow figures:

| Fiscal Year | Net Income (USD) | Operating Cash Flow (USD) | Investing Cash Flow (USD) | Financing Cash Flow (USD) | Free Cash Flow (USD) | Net Change in Cash (USD) | Cash at End of Period (USD) |
|-------------|-----------------|--------------------------|--------------------------|--------------------------|---------------------|-------------------------|----------------------------|
| 2025 | $112.01B | $111.48B | $15.19B | -$120.69B | $98.77B | $5.99B | $35.93B |
| 2024 | $93.74B | $118.25B | $2.94B | -$121.98B | $108.81B | -$794.00M | $29.94B |
| 2023 | $96.99B | $110.54B | $3.71B | -$108.49B | $99.58B | $5.76B | $30.74B |
| 2022 | $99.80B | $122.15B | -$2.24B | -$110.75B | $111.44B | -$1.09B | $24.98B |
| 2021 | $94.68B | $104.04B | -$1.45B | -$93.35B | $92.95B | -$386.00M | $35.93B |

**Data Source:** octagon-financials-agent

## Key Observations Pattern

After receiving data, generate observations:

1. **Operating cash flow consistency**: Track OCF relative to Net Income
2. **Financing outflows**: Analyze buybacks and dividends
3. **Free cash flow capacity**: Assess cash generation strength
4. **Capital expenditure trends**: Derive from OCF minus FCF
5. **Cash position trajectory**: Monitor ending cash balance

## Metrics Reference

| Metric | Definition |
|--------|------------|
| Net Income | Bottom-line profit (starting point for OCF) |
| Operating Cash Flow | Cash from core business operations |
| Investing Cash Flow | Cash for/from investments and capex |
| Financing Cash Flow | Cash from/to debt and equity activities |
| Free Cash Flow | OCF minus capital expenditures |
| Net Change in Cash | Total cash change for the period |
| Cash at End of Period | Ending cash and equivalents balance |

## Analysis Tips

### Cash Conversion Quality
```
Cash Conversion = Operating Cash Flow / Net Income
```
- Above 1.0 = high quality earnings
- Consistently below 1.0 = potential concerns

### Capex Calculation
```
Capital Expenditures = Operating Cash Flow - Free Cash Flow
```
Example: $111.48B - $98.77B = $12.71B capex

### Shareholder Returns
Financing outflows typically include:
- Share repurchases (buybacks)
- Dividend payments
- Debt repayments

### Three-Statement Linkage
- Net Income flows from Income Statement
- Cash at End links to Balance Sheet
- Changes explain Balance Sheet movements

### Cash Flow Sustainability
Strong indicators:
- OCF consistently > Net Income
- FCF covers dividends and buybacks
- Positive ending cash trend

Warning signs:
- OCF declining while income grows
- FCF negative with continued buybacks
- Cash position eroding

## Follow-up Queries

Based on results, suggest deeper analysis:

- "Break down [COMPANY]'s financing cash flow between buybacks, dividends, and debt activity"
- "What is [COMPANY]'s capital expenditure trend and guidance for next year?"
- "Compare [COMPANY]'s free cash flow yield to [PEER1] and [PEER2]"
- "Analyze [COMPANY]'s working capital changes driving operating cash flow"

© OctagonAI · MIT · OctagonAI/skills

Similar skills

All skills for Finance and business →

From the same set10

forex-list A skill that pulls a listing of actively traded currency pairs through Octagon MCP and sorts them into majors, crosses and exotics. CX Codex +1 525installs market-analyst-master Orchestrates Octagon MCP tools to gather stock quotes, P/E ratios, and analyst consensus targets. It helps traders build structured intelligence reports for individual tickers and sectors. CX Codex +1 417installs financial-metrics-analysis This skill pulls year-over-year growth for income statement lines through Octagon MCP and returns it as a table. Useful when you need to compare revenue, COGS and net income across fiscal periods. CX Codex +1 364installs commodities-list Pulls commodity market catalogs across energy, metals, and agriculture alongside active trading firms through Octagon MCP. CX Codex +1 336installs financial-analyst-master Walks your agent through a full company analysis, from pulling financial statements to a decision-ready report with a rating and target price. CX Codex +1 328installs earnings-call-insights Pulls guidance, strategic priorities, risk factors and management tone out of earnings call transcripts. Useful when you need the gist of a call fast. CX Codex +1 308installs earnings-call-analysis Parses company earnings call transcripts to extract management guidance, operational roadblocks, and follow-up inquiry topics for investment research. CX Codex +1 301installs balance-sheet Fetches balance sheet line items for public companies through Octagon MCP: assets, liabilities, equity, net debt. Useful when you need capital structure numbers without manual filing work. CX Codex +1 301installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor