finance-manager
ailabs-393/ai-labs-claude-skills
Analyze spending patterns, extract transactions, and generate personalized financial insights with interactive reports.
What is finance-manager?
A comprehensive personal finance toolkit that processes transaction data from PDFs and CSVs, performs financial analysis, and generates interactive HTML reports with visualizations and budget recommendations. Use it when you need to understand spending patterns, track budgets, calculate savings rates, or receive actionable financial advice.
- Extract financial data from PDFs, CSVs, and JSON files with automatic parsing
- Calculate key metrics including savings rate, income, expenses, and net savings
- Identify spending patterns and trends across categories and time periods
- Generate interactive HTML reports with pie charts, bar charts, and dashboards
- Provide personalized budget recommendations based on spending analysis
- Categorize transactions and compare spending against financial benchmarks
How to install finance-manager
npx skills add https://github.com/ailabs-393/ai-labs-claude-skills --skill finance-manager- Python 3.7 or higher
- pdfplumber library (for PDF extraction): pip install pdfplumber
- pandas library (for data analysis): pip install pandas
- Transaction data in CSV, JSON, or PDF format with Date, Description, Amount fields
How to use finance-manager
- 1.Prepare your transaction data: ensure CSV/JSON has Date, Description, Type, Amount columns, or provide a PDF bank statement
- 2.Extract data if using PDF: run python scripts/extract_pdf_data.py <input.pdf> <output.csv>
- 3.Run financial analysis: execute python scripts/analyze_finances.py <transactions.csv> > analysis.json
- 4.Generate the report: run python scripts/generate_report.py <analysis.json> <report.html>
- 5.Open the HTML report in your browser to view dashboards, charts, and personalized recommendations
Use cases
- Monthly financial review: analyze October spending and create a visual report
- Budget optimization: identify where you're overspending relative to guidelines
- Savings tracking: calculate and monitor your savings rate month-over-month
- Bank statement processing: extract all transactions from PDF statements automatically
- Spending breakdown: understand category percentages and top expenses
- Personal finance enthusiasts tracking monthly budgets
- Individuals seeking to optimize spending and increase savings
- Anyone reviewing bank statements and transaction data regularly
- People wanting visual insights into their financial patterns
- Users needing automated transaction extraction from PDFs
finance-manager FAQ
The tool accepts YYYY-MM-DD format or any parseable date string. Ensure consistency across your transaction data.
Use positive values for income and negative values for expenses. The tool will calculate net savings and savings rate automatically.
Below 10% needs improvement, 10-20% is good, 20-30% is excellent, and above 30% is outstanding. The tool compares your rate against these benchmarks.
Yes. Edit category definitions in analyze_finances.py and adjust recommendation thresholds in the generate_budget_recommendations() function to match your goals.
Run monthly analysis at month-end for trend tracking. Compare month-over-month reports to identify spending changes and progress toward goals.
Full instructions (SKILL.md)
Source of truth, from ailabs-393/ai-labs-claude-skills.
name: finance-manager description: Comprehensive personal finance management system for analyzing transaction data, generating insights, creating visualizations, and providing actionable financial recommendations. Use when users need to analyze spending patterns, track budgets, visualize financial data, extract transactions from PDFs, calculate savings rates, identify spending trends, generate financial reports, or receive personalized budget recommendations. Triggers include requests like "analyze my finances", "track my spending", "create a financial report", "extract transactions from PDF", "visualize my budget", "where is my money going", "financial insights", "spending breakdown", or any finance-related analysis tasks.
Finance Manager
A comprehensive toolkit for personal finance management that processes transaction data, performs sophisticated financial analysis, generates actionable insights, and creates beautiful visual reports.
Core Capabilities
- Transaction Data Processing: Extract financial data from PDFs, CSVs, or JSON files
- Financial Analysis: Calculate key metrics, identify spending patterns, and track savings
- Visualization: Generate interactive HTML reports with charts and graphs
- Budget Recommendations: Provide personalized, actionable advice based on spending patterns
- Trend Analysis: Identify spending patterns, anomalies, and opportunities for optimization
Workflow
1. Data Extraction and Preparation
For PDF files:
python scripts/extract_pdf_data.py <input.pdf> <output.csv>
For CSV/JSON files:
- Ensure data has columns:
Date,Description,Income(category),Type,Amount - Date format: YYYY-MM-DD or parseable date string
- Amount: Positive for income, negative for expenses
2. Financial Analysis
Run comprehensive analysis on transaction data:
python scripts/analyze_finances.py <transactions.csv> > analysis_output.json
Output includes:
- Summary statistics (total income, expenses, net savings, savings rate)
- Spending trends (daily averages, top expenses, category percentages)
- Budget recommendations (personalized based on spending patterns)
- Visualization data (prepared for charting)
3. Report Generation
Create interactive HTML report with visualizations:
python scripts/generate_report.py <analysis_output.json> <report.html>
Report features:
- Summary dashboard with key metrics
- Interactive pie chart showing spending by category
- Bar chart comparing income vs expenses over time
- Color-coded indicators (green for positive, red for negative)
- Personalized recommendations section
- Responsive design for all devices
4. Complete Workflow Example
# Extract data from PDF
python scripts/extract_pdf_data.py finance_data.pdf transactions.csv
# Analyze the data
python scripts/analyze_finances.py transactions.csv > analysis.json
# Generate visual report
python scripts/generate_report.py analysis.json financial_report.html
Key Metrics and Benchmarks
Savings Rate
Savings Rate = (Total Income - Total Expenses) / Total Income × 100
Benchmarks:
- Below 10%: Needs improvement
- 10-20%: Good
- 20-30%: Excellent
- Above 30%: Outstanding
Category Guidelines (% of income)
- Housing: 25-30%
- Transportation: 10-15%
- Food: 10-15%
- Utilities: 5-10%
- Savings: Minimum 20%
For detailed frameworks and methodologies, see references/financial_frameworks.md.
Analysis Features
Summary Statistics
- Total income and expenses for the period
- Net savings (can be positive or negative)
- Savings rate percentage
- Transaction count
- Date range covered
Spending Trends
- Daily average spending
- Top 5 largest expenses with details
- Category percentage breakdown
- Spending patterns over time
Budget Recommendations
The system generates personalized recommendations based on:
- Savings rate thresholds
- Category spending percentages
- Income diversification
- Budget guideline comparisons
Example recommendations:
- "⚠️ Your savings rate is below 10%. Consider reducing discretionary spending."
- "🍽️ Food spending is 18% of expenses. Consider meal planning to reduce costs."
- "✅ Excellent savings rate! You're on track for strong financial health."
Visualization Components
Category Spending Chart (Doughnut)
Shows proportional breakdown of expenses by category with color coding.
Income vs Expenses Chart (Bar)
Displays monthly comparison of income and expenses to identify cash flow trends.
Interactive Features
- Hover tooltips showing exact values
- Responsive design adapting to screen size
- Color-coded positive (green) and negative (red) indicators
Tips for Best Results
Data Quality
- Ensure all transactions are properly categorized
- Use consistent category names
- Include complete date information
- Verify amounts are correctly signed (+ for income, - for expenses)
Analysis Frequency
- Run monthly analysis for trend tracking
- Generate reports at month-end for review
- Compare month-over-month to identify changes
Action on Recommendations
- Prioritize recommendations by potential impact
- Set specific, measurable goals based on insights
- Track progress by re-running analysis regularly
Dependencies
All scripts require Python 3.7+ with standard libraries. Additional requirements:
For PDF extraction:
pip install pdfplumber --break-system-packages
For data analysis:
pip install pandas --break-system-packages
All visualization dependencies are loaded from CDN in the HTML output (Chart.js).
File Organization
finance-manager/
├── scripts/
│ ├── extract_pdf_data.py # PDF → CSV conversion
│ ├── analyze_finances.py # Financial analysis engine
│ └── generate_report.py # HTML report generator
└── references/
└── financial_frameworks.md # Detailed analysis methodologies
Customization
Adding Custom Categories
Edit the category definitions in analyze_finances.py to match your tracking system.
Adjusting Thresholds
Modify recommendation thresholds in the generate_budget_recommendations() function to match personal goals.
Styling Reports
Customize the HTML_TEMPLATE in generate_report.py to adjust colors, fonts, or layout.
Common Use Cases
Monthly Review: "Analyze my October spending and create a report"
Budget Optimization:
"Where am I spending too much money?"
Trend Analysis: "How does my spending this month compare to last month?"
Goal Setting: "What's my savings rate and how can I improve it?"
Category Insights: "Break down my food spending by transaction"
PDF Processing: "Extract all transactions from my bank statement PDF"
Best Practices
- Consistent Categorization: Use the same category names across all transactions
- Regular Analysis: Run monthly to spot trends early
- Act on Insights: Use recommendations to make specific spending changes
- Track Progress: Compare reports month-over-month
- Verify Data: Always check extracted PDF data for accuracy before analysis
Reference Materials
For comprehensive financial frameworks, budgeting guidelines, and analysis methodologies, read:
view references/financial_frameworks.md
This includes:
- The 50/30/20 budget rule
- Category spending benchmarks
- Financial health indicators
- Analysis workflow details
- Visualization best practices
- Recommendation logic
Related skills
More from ailabs-393/ai-labs-claude-skills and the wider catalog.

frontend-enhancer
This skill should be used when enhancing the visual design and aesthetics of Next.js web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. Use this skill for tasks like improving styling, creating responsive designs, implementing modern UI patterns, adding animations, selecting color schemes, or building aesthetically pleasing frontend interfaces.

nutritional-specialist
Personalized nutritional advisor that learns your preferences, allergies, and goals for tailored food recommendations.

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

personal-assistant
Persistent personal assistant with memory of your schedule, goals, and preferences.

pitch-deck
Generate professional PowerPoint pitch decks following industry best practices and 10-slide structure.

pptx
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks