Agent skill

Cash Flow Snapshot

by sandbaseai in sandbaseai/sandbase-skills

Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data.

Apache-2.0Auto-check passedBusiness, Finance & HR

Install Cash Flow Snapshot

skills CLI
$ npx skills add sandbaseai/sandbase-skills --skill cash-flow-snapshot -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sandbaseai/sandbase-skills cash-flow-snapshot --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sandbaseai/sandbase-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/marketing/cash-flow-snapshot .claude/skills/cash-flow-snapshot && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cash-flow-snapshot
GitHub stars
203
Token cost
~1.9k tokens
SKILL.md length
945 words
Files
4 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data.

  • Works in 6 steps: Identify available data sources → Pull the data → Compute historical payment timing → …
  • Asked about runway
  • SKILL.md covers Workflow, Approval gates and Reference files
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cash Flow Snapshot is an agent skill from sandbaseai/sandbase-skills. Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data. Use when asked about runway, payroll coverage, liquidity risks, or a near-term cash crunch.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `reference/examples/worked-example.md`, `reference/gotchas.md` and `references/sandbase-api-map.md`).

It sits in Business, Finance & HR, covering Budgeting and forecasting. The repository describes itself as: 88 installable open-source Agent Skills for research, social intelligence, marketing, and business workflows—compatible with Codex, Claude Code, Cursor, Gemini CLI, and DeepSeek… The licence is Apache-2.0.

When your agent uses it

  • Asked about runway
  • Payroll coverage
  • Liquidity risks
  • A near-term cash crunch

Example prompts

  • “/cash-flow-snapshot”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Identify available data sources
  2. Pull the data
  3. Compute historical payment timing
  4. Build the 30/60/90-day forecast
  5. Flag named risks
  6. Deliver outputs

What it can do on your machine

Read from SKILL.md and the folder at commit cbab581. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cash Flow Snapshot loads about 1.9k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 54 tokens; SKILL.md has 945 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sandbaseai/sandbase-skills at commit cbab581, republished under its Apache-2.0 licence (© sandbaseai). 945 words, ~1,879 tokens.

Download SKILL.mdSave it as .claude/skills/cash-flow-snapshot/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
cash-flow-snapshot
description
Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data. Use when asked about runway, payroll coverage, liquidity risks, or a near-term cash crunch.

Cash Flow Snapshot

Produces a 30/60/90-day cash flow forecast with percentage-variance confidence bands and named risk flags. Delivers a two-part output: a concise chat summary and a downloadable XLSX workbook.

When inputs are supplied through report URLs, read the SandBase API map. Resolve the listed capability with sandbase_discover, inspect its returned name with sandbase_inspect, then follow execute_as to call sandbase_run(name: "<returned name>", arguments: { ... }) using only the current schema. For async results, poll sandbase_run_get with the returned run_id within the task budget; report pending or failed runs without automatically resubmitting them.

Quick start

"Will I make payroll next month?"

The agent pulls AR/AP and fixed costs from authorized connected sources or supplied files, calculates expected inflows and outflows across 30, 60, and 90-day windows, applies confidence bands based on each customer's historical payment variance, and flags specific risks by name.


Workflow

Step 1 — Identify available data sources

Check which authorized sources are available. Prefer them in this order when present:

  1. QuickBooks — primary source for AR aging, AP, and fixed costs
  2. PayPal — transaction history and settlement timing
  3. Stripe — charge and payout history
  4. Square — sales and payout history
  5. CSV upload — fallback if no connector is connected

If no connector is live and no file is attached, ask the user to either connect a source or upload a CSV (income/expense tabular data, any reasonable format). Note which sources were used in the output — this affects confidence band width.

Step 2 — Pull the data

From QuickBooks:

  • Opening cash balance and as-of date
  • AR aging report: customer name, invoice amount, invoice date, due date, days outstanding
  • AP: vendor name, amount due, due date
  • Recurring fixed costs: rent, payroll, subscriptions (look for recurring transactions)

From PayPal / Stripe / Square:

  • Settlement history: transaction date, amount, settlement date
  • Use settlement lag (transaction date → payout date) to compute each source's average and variance payment delay

From CSV upload:

  • Parse as income/expense tabular data
  • Required columns (flexible naming): date, amount, type (income or expense), description
  • If columns are ambiguous, show the header row and ask the user to confirm mapping
  • Obtain an opening cash balance and as-of date before claiming ending liquidity or payroll coverage
Step 3 — Compute historical payment timing

For each AR customer (or income source from CSV), calculate:

  • Mean payment lag — average days from invoice/transaction date to receipt
  • Payment variance — standard deviation of payment lag across last 6–12 payments
  • Use variance to set confidence band width (see Step 4)

If fewer than 3 payments exist for a customer, use the population mean as the point estimate and apply a ±30% variance band as the default. When running on CSV data with sufficient history (≥3 payments per source), compute the band from the actual payment variance — do not assume ±30%.

Step 4 — Build the 30/60/90-day forecast

Produce three time windows: 0–30 days, 31–60 days, 61–90 days.

For each window, compute:

LineMethod
Expected inflowsAR due in window, adjusted for mean payment lag
Expected outflowsAP due in window + fixed costs falling in window
Net cash flowInflows − Outflows
Confidence band± weighted average payment variance as a % of expected inflows

Confidence band formula:

band_pct = weighted_avg_stddev_days / avg_payment_lag_days
band_amount = expected_inflows × band_pct
low_net_flow  = net_cash_flow − band_amount
high_net_flow = net_cash_flow + band_amount

Display band_pct as a percentage rounded to one decimal place. Cap at ±50% — higher variance means the data is too thin to model; flag it instead (see Step 5).

When opening cash is available, calculate liquidity separately:

expected_ending_cash = opening_cash + cumulative_expected_net_flow
low_ending_cash      = opening_cash + cumulative_low_net_flow
high_ending_cash     = opening_cash + cumulative_high_net_flow

Without opening cash, report net cash flow only and state that ending liquidity and payroll coverage cannot be determined.

Show full SKILL.md (371 more words)Show less
Step 5 — Flag named risks

Scan for timing gaps and, when opening cash is available, conditions that push low-case ending cash negative or create a liquidity crunch. For each risk found, produce a one-line flag:

  • Late-payer risk: "Customer X historically pays 18 days late; that shifts their $8,400 invoice out of the 30-day window into day 48."
  • Payroll crunch: "Payroll ($22,000) hits April 15. Low-band cash on hand April 14: $19,200. Shortfall risk: $2,800."
  • Thin data warning: "Only 2 payments on record for Customer Y — confidence band set to default ±30%."
  • No-connector warning: "Running on CSV data only — no real-time AP or recurring cost data. Confidence bands are wider than normal."

Limit to the top 5 risks by severity (largest dollar impact first).

Step 6 — Deliver outputs

Chat summary (always):

Cash Flow Snapshot — [date range]
Source(s): [connectors used]

            Expected    Low       High
30-day net: $X,XXX     $X,XXX    $X,XXX
60-day net: $X,XXX     $X,XXX    $X,XXX
90-day net: $X,XXX     $X,XXX    $X,XXX

⚠ Risks flagged: [count]
  • [risk 1]
  • [risk 2]
  ...

XLSX workbook (when requested and supported): Use the host's spreadsheet capability when the user requests a workbook and that capability is available. Otherwise provide the same tables as Markdown or CSV. A workbook has three sheets:

  1. Summary — the 30/60/90 forecast table with confidence bands. Beneath each window row, expand inline sub-rows showing the individual transactions that make up its inflows (green) and outflows (red). This makes the estimates auditable without leaving the Summary sheet.

  2. Detail — all transactions grouped by window, sorted by date within each group. Include a running net column (cumulative inflows minus outflows within the window) and a subtotal row at the bottom of each window showing total inflows, total outflows, and net. Grey out past transactions in a separate section at the bottom for reference. Ensure all three windows have rows even if one is empty — show a "No transactions in this window" placeholder row.

  3. Risks — the flagged risks with dollar impact and affected window.

Save as cash-flow-snapshot-[YYYY-MM-DD].xlsx.


Approval gates

No destructive actions — this skill is read-only. Generating a forecast from supplied files or already-authorized sources requires no additional approval.

Remind the user after delivery:

"This forecast is based on [sources listed]. It is not a substitute for accounting advice — verify with your bookkeeper before making financing decisions."


Reference files

FileLoad when
reference/gotchas.mdWhen a connector returns unexpected data or variance is extreme
reference/examples/worked-example.mdWhen modeling the output format for a new data shape

© sandbaseai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in marketing/cash-flow-snapshot of sandbaseai/sandbase-skills.

  • SKILL.md
  • reference/examples/worked-example.md
  • reference/gotchas.md
  • references/sandbase-api-map.md

Open the folder on GitHubat commit cbab581

Compare with similar skills

Cash Flow Snapshot next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cash Flow Snapshot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cash Flow Snapshot this skillsandbaseai/sandbase-skills203—~1.9kAutomated safety check: PassApache-2.0
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT
Bet SizingJoelLewis/finance_skills206—~2.5kAutomated safety check: PassMIT
Cre Asset Managementahacker-1/cre-agent-skills113—~1.8kAutomated safety check: PassApache-2.0
Dd LogsDataDog/pup1k—~1.3kAutomated safety check: PassApache-2.0
Cash Flow ForecastWellApp-ai/Well345—~567Automated safety check: PassMIT

Similar skills

  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Bet Sizing

    JoelLewis/finance_skills

    Determine how much capital to allocate to individual positions within a portfolio.

    206 GitHub stars~2.5k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Cre Asset Management

    ahacker-1/cre-agent-skills

    CRE Asset Management analysis suite — 9 specialist skills for post-acquisition multifamily operations including annual budgeting, monthly variance analysis, rent collection, renewal decisions…

    113 GitHub stars~1.8k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Dd Logs

    DataDog/pup

    Official

    Log management - search, pipelines, archives, and cost control.

    1k GitHub stars~1.3k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Cash Flow Forecast

    WellApp-ai/Well

    Forecast cash flow and runway for a Well workspace from booked invoices and collected bank transactions.

    345 GitHub stars~567 tokensUpdated 3 days ago
    Business, Finance & HRAuto-check passed
  • Budget Cash Flow

    sickn33/agentic-awesome-skills

    Budget against actual by department, category and period, with budget and actual amounts, variance, percentage used and linked expenses.

    47k GitHub starsUsed in 1 repo~4.1k tokens
    Business, Finance & HRAuto-check passed

More from sandbaseai/sandbase-skills

All 23 skills in this repo
  • Multi Source Search

    sandbaseai/sandbase-skills

    Portable multi-source research with cross-source validation and an offline evidence ledger.

    203 GitHub stars~1.6k tokensUpdated 14 days ago
    Auto-check passed
  • Academic Research

    sandbaseai/sandbase-skills

    Search academic papers, scholarly articles, and research publications through SandBase.

    203 GitHub stars~586 tokensUpdated 14 days ago
    Auto-check passed
  • Brand Monitoring

    sandbaseai/sandbase-skills

    Monitor brand mentions, sentiment, and reputation across Twitter, Reddit, news, and social platforms through SandBase.

    203 GitHub stars~696 tokensUpdated 14 days ago
    Auto-check passed
  • Competitor Monitor

    sandbaseai/sandbase-skills

    Monitor competitor websites, content changes, social activity, and market positioning through SandBase.

    203 GitHub stars~701 tokensUpdated 14 days ago
    Auto-check passed
  • Exa Deep Search

    sandbaseai/sandbase-skills

    Search, extract, and compare high-quality public sources with Exa through SandBase.

    203 GitHub stars~2k tokensUpdated 14 days ago
    Auto-check passed
  • Google News Research

    sandbaseai/sandbase-skills

    Search and monitor news articles across Google News through SandBase.

    203 GitHub stars~506 tokensUpdated 14 days ago
    Auto-check passed

Questions about Cash Flow Snapshot

What does Cash Flow Snapshot do?

Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data. Cash Flow Snapshot is an agent skill from sandbaseai/sandbase-skills. Create a 30/60/90-day cash-flow forecast from AR, AP, opening cash, payment timing, and fixed-cost data.

When should I use Cash Flow Snapshot?

Cash Flow Snapshot fits situations like: asked about runway; payroll coverage; liquidity risks; A near-term cash crunch.

How do I install Cash Flow Snapshot in Claude Code?

Run `npx skills add sandbaseai/sandbase-skills --skill cash-flow-snapshot -a claude-code`. Or copy the skill folder (marketing/cash-flow-snapshot in sandbaseai/sandbase-skills) into .claude/skills/cash-flow-snapshot in your project. Claude Code loads it when a task matches its description.

How do I install Cash Flow Snapshot in Codex?

Run `npx skills add sandbaseai/sandbase-skills --skill cash-flow-snapshot -a codex`. Or copy the skill folder (marketing/cash-flow-snapshot in sandbaseai/sandbase-skills) into .agents/skills/cash-flow-snapshot in your project. Codex loads it when a task matches its description.

Can I use Cash Flow Snapshot in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sandbaseai/sandbase-skills --skill cash-flow-snapshot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cash-flow-snapshot, .gemini/skills/cash-flow-snapshot, .github/skills/cash-flow-snapshot and .opencode/skills/cash-flow-snapshot in your project.

What does Cash Flow Snapshot need to run?

SKILL.md names no scripts, command-line tools or credentials: Cash Flow Snapshot is instructions for the agent only.

Does Cash Flow Snapshot access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cash Flow Snapshot safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cash Flow Snapshot use?

Cash Flow Snapshot is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cash Flow Snapshot use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 257 tokens, read only when the agent opens those files.

What are the alternatives to Cash Flow Snapshot?

Skills that share tags, products or a category with Cash Flow Snapshot: Longbridge Research (helsome/folio, 271 stars), Bet Sizing (JoelLewis/finance_skills, 206 stars), Cre Asset Management (ahacker-1/cre-agent-skills, 113 stars) and Dd Logs (DataDog/pup, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cash Flow Snapshot?

sandbaseai (a GitHub organization) maintains it in sandbaseai/sandbase-skills, which has 203 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 26, 2026.

Source: sandbaseai/sandbase-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.