Install
$ agentstack add skill-kezsmeister-claude-finance-skills-cashflow-chart ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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).
- Parse
$0by splitting on commas and trimming whitespace to get a list of tickers. - 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
$0replaced by its single ticker - Be of type
general-purpose - Work independently to gather data, build the HTML file, and verify rendering
- 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:
- Navigate Chrome to
https://finance.yahoo.com/quote/$0/cash-flow/and take a snapshot - Extract Operating Cash Flow, Capital Expenditure, and Free Cash Flow rows from the page snapshot (the page shows the full history with annual data)
- Navigate Chrome to
https://finance.yahoo.com/quote/$0/financials/and extract the Interest Expense row - If the snapshot is too large, use
evaluate_scriptto 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, intersectfalse, 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:
- First-year OCF (green) - with "Starting baseline" subtitle
- Latest OCF (green) - with "Xx growth" subtitle
- OCF CAGR (orange) - calculated as compound annual growth rate over the period
- Latest FCF (blue) - with "Record/Latest free cash flow" subtitle
- 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
- Save the HTML file to the scratchpad directory as
{ticker_lowercase}_cashflow.html - Open the file in Chrome using
navigate_page - Take a full-page screenshot to verify rendering
- If labels overlap or chart looks off, adjust data label display (show on fewer years) and reload
- 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.
- Author: kezsmeister
- Source: kezsmeister/claude-finance-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.