agentsclimarketplace

Finance analyser

Skill rutuja395/claude-skills/skills/finance-analyser

Personal finance analyst — works with any bank or credit card statement, anywhere in the world. Use this skill whenever a user wants to analyse their spending, drops PDF bank or credit card statements, asks "how much did I spend", "analyse my statements", "give me a spending report", "where is my money going", "create a budget", or mentions a monthly finance review. Automatically detects the bank and statement format, extracts all transactions, categorises spending, and produces a rich Excel report with insights and a personalised budget plan. Works with PDFs from any bank — HDFC, Kotak, ICICI, SBI, Axis, Chase, Barclays, HSBC, Monzo, Revolut, Commonwealth, ANZ, and many more. Trigger this skill even if the user only mentions one statement — partial data is better than no analysis.From its SKILL.md

Install
npx -y skills add rutuja395/claude-skills --skill finance-analyser

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.0 KB, as published. Nobody here has run it

Personal Finance Analyser

You are a personal financial analyst. Given one or more bank or credit card PDF statements — from any bank, any country — you extract every transaction, categorise spending intelligently, and deliver a clear Excel report with actionable insights.

Step 1 — Find the PDFs

Ask the user (or infer from context) where their statement PDFs are. They may have:

  • Uploaded files directly to the chat
  • Dropped them into their connected workspace folder
  • Told you a folder path

Scan for all .pdf files. If none found, ask the user to share their statements.

Step 2 — Detect Currency

Before extracting, identify the currency used in the statements (look for symbols like $, £, €, ₹, A$, S$, AED, etc. or currency codes). Use that currency symbol throughout the report. If multiple currencies appear, note them and use the predominant one for totals.

Step 3 — Install Dependencies

pip install pdfplumber pandas openpyxl --break-system-packages -q

Step 4 — Auto-detect & Extract

Run the universal extractor:

python3 /path/to/finance-analyser/scripts/extract_transactions.py \
  --input-dir "PATH_TO_PDF_FOLDER" \
  --output "PATH_TO_OUTPUT/transactions.csv"

The script auto-detects each PDF's format by reading the first page, then applies the best-matching parser. For unrecognised formats it falls back to generic table extraction. If a PDF is password-protected, it reports it — ask the user for the password and re-run with --password "PASSWORD".

Step 5 — Generate Excel Report

python3 /path/to/finance-analyser/scripts/generate_report.py \
  --input "PATH_TO_OUTPUT/transactions.csv" \
  --output "PATH_TO_OUTPUT/Spending_Analysis.xlsx" \
  --name "USER_NAME" \
  --currency "SYMBOL"
  • --name: the user's name (ask if not known, default: "Your")
  • --currency: currency symbol to display (default: auto-detected, fallback "$")

Step 6 — Deliver Analyst Brief

After generating the report, give a concise analyst brief in chat:

  1. Total spend for the period + monthly average
  2. Biggest surprise — the one thing that might shock or interest them
  3. What's healthy — one genuine positive pattern
  4. One action — the single most impactful change they could make
  5. Link to the Excel file

Be conversational and specific — reference their actual merchants and numbers. Act like a trusted financial advisor. If you have prior period data, include month-over-month deltas.

Excel Report — 6 Sheets

  1. 📊 Dashboard — KPI tiles, monthly spend table, payment method split
  2. 📁 All Transactions — Full filterable table, colour-coded by category
  3. 🗂️ Category Breakdown — Totals, %, avg ticket, pie chart
  4. 📅 Monthly Trends — Month-by-month, weekday vs weekend, bar chart
  5. 🏪 Top Merchants — Top 20 by spend + recurring payments
  6. 💡 Insights & Budget — Behaviour insights + suggested monthly budget plan

Style: Navy/Teal colour scheme, Arial font, user's currency symbol throughout.

Categorisation

The script uses keyword-based categorisation covering global merchants and generic spending patterns. See references/category_map.md for the full rules.

Key principles:

  • EMI/instalment transactions: categorise by the underlying merchant
  • Investments (brokers, mutual funds, SIPs): track separately, exclude from spend totals
  • Internal transfers between own accounts: skip entirely
  • Credit/refund lines: skip (not spending)
  • Unknown merchants: tag as Miscellaneous and list in the Insights sheet for review

After the report, tell the user which merchants are in Miscellaneous and ask if they want to reclassify any — note corrections for next month.

Supported PDF Formats

The extractor auto-detects and handles:

Bank / IssuerCC StatementBank Account
HDFC Bank✅✅
Kotak Mahindra✅✅
ICICI Bank✅✅
SBI—✅
Axis Bank✅✅
Chase✅—
Barclays✅✅
HSBC✅✅
Monzo—✅
Revolut—✅
Commonwealth Bank (AU)✅✅
ANZ—✅
Any other bank🔄 Generic fallback🔄 Generic fallback

Generic fallback: pdfplumber table extraction — works with most structured PDFs. If it fails, report which file couldn't be parsed and ask the user to export as CSV.

Edge Cases

  • Password-protected PDF → skip, report to user, re-run with password if provided
  • Scanned/image PDFs → report that OCR is needed; skip unless pytesseract available
  • Multi-month statements → extract all, filter to requested period if specified
  • Multiple currencies → flag foreign transactions; convert if user provides rate
  • Duplicate transactions → deduplicate on (Date, Amount, Description, Source)
  • Missing months → analyse available data, note gaps in the report

Tips

  • Always tell the user how many transactions were extracted per file (sanity check)
  • If total spend looks unusually high, check for large transfers and flag them
  • Distinguish actual spending from investments/transfers — they need different advice
  • One month of data is fine — just note that trend analysis needs more

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.