income-statement
Wells Fargo Income 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 monthly or multi-month income statements from Wells Fargo transaction data.
- Categorize transactions into income and expense line items.
- Produce human-readable Markdown and machine-readable JSON reports.
- Persist income statement 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,wf_monthly_summary). - Writes only to dedicated
wf_income_*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_line_itemsmaps transaction categories to income statement line items usingconfig/line_item_map.json.build_statementaggregates line items into Income, Expenses, and Net Income sections.render_reportproduces Markdown and JSON output files.persist_statementupserts the income statement snapshot into SerenDB.
Quick Start
- Install dependencies:
cd wellsfargo/income-statement
python3 -m pip install -r requirements.txt
cp .env.example .env
cp config.example.json config.json
- Generate an income statement for the last 12 months:
python3 scripts/run.py --config config.json --months 12 --out artifacts/income-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/income-statement
Commands
# Last 12 months (default)
python3 scripts/run.py --config config.json --months 12 --out artifacts/income-statement
# Specific date range
python3 scripts/run.py --config config.json --start 2025-06-01 --end 2025-12-31 --out artifacts/income-statement
# Single month
python3 scripts/run.py --config config.json --start 2025-11-01 --end 2025-11-30 --out artifacts/income-statement
# Skip SerenDB persistence (local reports only)
python3 scripts/run.py --config config.json --months 12 --skip-persist --out artifacts/income-statement
Outputs
- Markdown report:
artifacts/income-statement/reports/<run_id>.md - JSON report:
artifacts/income-statement/reports/<run_id>.json - Line-item export:
artifacts/income-statement/exports/<run_id>.line_items.jsonl
SerenDB Tables
wf_income_runs- income statement generation runswf_income_line_items- individual line items per runwf_income_snapshots- summary totals per run
Reusable Views
v_wf_income_latest- most recent income statement snapshotv_wf_income_by_month- monthly income/expense breakdown
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