AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Cashflow Chart

skill-kezsmeister-claude-finance-skills-cashflow-chart · by kezsmeister

Build an interactive dark-themed HTML cash flow chart for one or more public company tickers (comma-separated). Creates a Chart.js visualization with Operating Cash Flow (green bars), Capital Expenditure (red bars), Interest Expense (orange bars), and Free Cash Flow (blue line), plus summary callout boxes, a data table, and key observations. Use when the user wants a cash flow chart, FCF analysis…

— No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add skill-kezsmeister-claude-finance-skills-cashflow-chart

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-kezsmeister-claude-finance-skills-cashflow-chart)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 7mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Cashflow Chart? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Cash Flow Chart Builder

Build an interactive HTML chart for ticker $0 covering the past 15 fiscal years.

Multi-Ticker Support

The argument $0 may contain multiple tickers separated by commas (e.g., AAPL,MSFT,GOOG).

  1. Parse $0 by splitting on commas and trimming whitespace to get a list of tickers.
  2. Always use the Task tool to launch one subagent per ticker in parallel (all Task calls in a single message). Each subagent should:
  • Receive the full instructions from Step 1 onward, with $0 replaced by its single ticker
  • Be of type general-purpose
  • Work independently to gather data, build the HTML file, and verify rendering
  1. After all subagents complete, present each ticker's file path and key metrics in sequence, separated by a horizontal rule (---) and a heading with the ticker name.

Step 1: Gather Data

Collect data for the past 15 fiscal years from two sources:

Cash Flow Statement

Use the Yahoo Finance MCP tool get_financial_statement with financial_type: "cashflow" for $0 to get:

  • Operating Cash Flow
  • Capital Expenditure (use absolute values; the API reports negative numbers)
  • Free Cash Flow

Income Statement

Use the Yahoo Finance MCP tool get_financial_statement with financial_type: "income_stmt" for $0 to get:

  • Interest Expense

Supplementing with Chrome (if needed)

The Yahoo Finance API typically only returns 4 years. To get the full 15-year history:

  1. Navigate Chrome to https://finance.yahoo.com/quote/$0/cash-flow/ and take a snapshot
  2. Extract Operating Cash Flow, Capital Expenditure, and Free Cash Flow rows from the page snapshot (the page shows the full history with annual data)
  3. Navigate Chrome to https://finance.yahoo.com/quote/$0/financials/ and extract the Interest Expense row
  4. If the snapshot is too large, use evaluate_script to extract specific rows:
() => {
  const rows = document.querySelectorAll('[class*="row"]');
  let result = [];
  for (const row of rows) {
    const text = row.innerText;
    if (text.startsWith('TARGET_ROW_NAME')) {
      result.push(text);
    }
  }
  return result;
}

Convert all values to $M (millions) for the chart. If a company has fewer than 15 years of data, use whatever is available.

Step 2: Build the HTML File

Create a single self-contained HTML file using:

  • Chart.js from CDN: https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js
  • chartjs-plugin-datalabels from CDN: https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.2.0/dist/chartjs-plugin-datalabels.min.js

Chart Specification

| Series | Type | Color | Axis | |--------|------|-------|------| | Operating Cash Flow | Bar | Green rgba(74, 222, 128) | Left (Y) | | Capital Expenditure | Bar | Red rgba(248, 113, 113) | Left (Y) | | Interest Expense | Bar | Orange rgba(251, 191, 36) | Left (Y) | | Free Cash Flow | Line (overlaid, filled) | Blue rgba(96, 165, 250) | Left (Y) |

Theme & Layout

  • Dark theme: body background #1a1a2e, chart area background #16213e
  • Chart height: 500px, maintainAspectRatio: false, responsive
  • Legend: Below the chart, point-style, color #cdd6f4
  • Tooltip: interaction mode index, intersect false, dark styled
  • Y-axis: formatted as $XM (e.g., $1,000M), grid color subtle
  • X-axis: labels as FY20XX
  • Data labels: Show on OCF bars (green, select key years) and FCF line (blue, select key years) to avoid overlap. Use chartjs-plugin-datalabels. Format large values as $X.XB.
  • Bar styling: borderRadius: 3, slight transparency

Below the Chart

Callout Boxes (grid of 5)

Show these KPIs in styled card boxes:

  1. First-year OCF (green) - with "Starting baseline" subtitle
  2. Latest OCF (green) - with "Xx growth" subtitle
  3. OCF CAGR (orange) - calculated as compound annual growth rate over the period
  4. Latest FCF (blue) - with "Record/Latest free cash flow" subtitle
  5. FCF Conversion % (blue) - FCF / OCF for the latest year
Data Table

Full HTML table with columns:

  • FY | Op. Cash Flow | YoY% | CapEx | Interest Exp. | Free Cash Flow | FCF Conversion
  • Color-code: OCF green, CapEx red, Interest orange, FCF blue
  • YoY% green if positive, red if negative
  • Dark table styling consistent with theme
Key Observations

A "Key Observations" section with 4-6 bullet points highlighting:

  • Overall growth trajectory and CAGR
  • Any anomalous years (dips, spikes) and likely causes (divestitures, acquisitions, restructuring)
  • Major M&A events and their impact on interest expense and OCF
  • Capital intensity / FCF conversion trends
  • Latest year performance and what it signals
  • Interest expense trends (leverage changes)

Research the company briefly to provide context-aware observations (e.g., major acquisitions, divestitures, business model changes).

Step 3: Save & Display

  1. Save the HTML file to the scratchpad directory as {ticker_lowercase}_cashflow.html
  2. Open the file in Chrome using navigate_page
  3. Take a full-page screenshot to verify rendering
  4. If labels overlap or chart looks off, adjust data label display (show on fewer years) and reload
  5. Report the file path and key metrics to the user

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.