cash-flow-statement
Wells Fargo Cash Flow Statement
For Claude: How to Use This Skill
Skill instructions are preloaded in context when this skill is active. Do not perform filesystem searches or tool-driven exploration to rediscover them; use the guidance below directly.
When To Use
- Generate cash flow statements broken into Operating, Investing, and Financing activities.
- Track net cash position changes over configurable periods.
- Produce human-readable Markdown and machine-readable JSON reports.
- Persist cash flow snapshots into SerenDB for downstream analysis.
Prerequisites
- The
bank-statement-processingskill must have completed at least one successful run with SerenDB sync enabled. - SerenDB must contain populated
wf_transactionsandwf_txn_categoriestables.
Safety Profile
- Read-only against SerenDB source tables (
wf_transactions,wf_txn_categories). - Writes only to dedicated
wf_cashflow_*tables (never modifies upstream data). - No browser automation required.
- No credentials stored or transmitted.
- All amounts sourced from already-masked account data.
Workflow Summary
resolve_serendbconnects to SerenDB using the same resolution chain as bank-statement-processing.query_transactionsfetches categorized transactions for the requested date range.classify_activitiesmaps transaction categories to Operating, Investing, or Financing activities usingconfig/activity_map.json.build_statementaggregates activities into a cash flow statement.render_reportproduces Markdown and JSON output files.persist_statementupserts the cash flow snapshot into SerenDB.
Quick Start
- Install dependencies:
cd wellsfargo/cash-flow-statement
python3 -m pip install -r requirements.txt
cp .env.example .env
cp config.example.json config.json
- Generate a cash flow statement for the last 12 months:
python3 scripts/run.py --config config.json --months 12 --out artifacts/cash-flow-statement
- Generate a statement for a specific date range:
python3 scripts/run.py --config config.json --start 2025-01-01 --end 2025-12-31 --out artifacts/cash-flow-statement
Commands
# Last 12 months (default)
python3 scripts/run.py --config config.json --months 12 --out artifacts/cash-flow-statement
# Specific date range
python3 scripts/run.py --config config.json --start 2025-06-01 --end 2025-12-31 --out artifacts/cash-flow-statement
# Skip SerenDB persistence (local reports only)
python3 scripts/run.py --config config.json --months 12 --skip-persist --out artifacts/cash-flow-statement
Outputs
- Markdown report:
artifacts/cash-flow-statement/reports/<run_id>.md - JSON report:
artifacts/cash-flow-statement/reports/<run_id>.json - Activity export:
artifacts/cash-flow-statement/exports/<run_id>.activities.jsonl
SerenDB Tables
wf_cashflow_runs- cash flow statement generation runswf_cashflow_activities- individual activity line items per runwf_cashflow_snapshots- summary totals per run
Reusable Views
v_wf_cashflow_latest- most recent cash flow snapshotv_wf_cashflow_by_month- monthly cash flow breakdown by activity
More from serenorg/seren-skills
polymarket-bot
Autonomous trading agent for Polymarket prediction markets using Seren ecosystem
9polymarket-maker-rebate-bot
Provide two-sided liquidity on Polymarket with rebate-aware quoting, inventory controls, and dry-run-first execution for binary markets.
6saas-short-trader
Alpaca-branded SaaS short trader with MCP-native execution: scores AI disruption risk, builds capped short baskets, and tracks paper/live PnL in SerenDB.
2high-throughput-paired-basis-maker
Run a paired-market basis strategy on Polymarket with mandatory backtest-first gating before trade intents.
2seren-bounty
Work with Seren Bounty affiliate bounties: customers create and fund verifier-backed bounties; agents join to receive a referral_code and accrue earnings as qualifying events are verified; a release sweep pays matured earnings out of escrow.
2budget-tracker
Compare actual Wells Fargo spending against user-defined monthly budgets per category, calculate variance, and track budget adherence over time.
1