Consolidate Statements Skill
Combine multiple CSV/Excel transaction files into a single consolidated file.
11 stars
Best use case
Consolidate Statements Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Combine multiple CSV/Excel transaction files into a single consolidated file.
Teams using Consolidate Statements Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
$curl -o ~/.claude/skills/consolidate-statements/SKILL.md --create-dirs "https://raw.githubusercontent.com/ronnycoding/my-personal-assistant/main/.claude/skills/finance-process/consolidate-statements/SKILL.md"
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/consolidate-statements/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Consolidate Statements Skill Compares
| Feature / Agent | Consolidate Statements Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Combine multiple CSV/Excel transaction files into a single consolidated file.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Consolidate Statements Skill Combine multiple CSV/Excel transaction files into a single consolidated file. ## Skill Metadata - **Name**: consolidate-statements - **Category**: Financial Data Processing - **Complexity**: Low-Medium - **Privacy**: Local processing only, no external APIs ## Capabilities This skill consolidates transaction data from multiple files: 1. **Multi-file processing** - Handles CSV and Excel files 2. **Duplicate detection** - Removes duplicate transactions 3. **Column standardization** - Maps different column names to standard format 4. **Date sorting** - Orders transactions chronologically 5. **Balance reconciliation** - Validates running balances 6. **Summary statistics** - Provides consolidation metrics ## Usage ```bash /finance-process consolidate --input="~/Documents/Finance/checking-*.csv" --output="~/Documents/Finance/combined-2024.csv" ``` ## How It Works 1. **File Discovery**: Finds all CSV/Excel files matching the input pattern 2. **Data Loading**: Reads each file into pandas DataFrames 3. **Column Mapping**: Standardizes column names across different formats 4. **Deduplication**: Removes exact and fuzzy duplicates 5. **Sorting**: Orders transactions by date 6. **Export**: Saves consolidated data to output file ## Script The main script is `scripts/consolidate_statements.py` which: - Accepts CSV/Excel file paths (glob patterns supported) - Combines all transactions - Removes duplicates - Standardizes format - Outputs to CSV ## Dependencies Required Python packages: - pandas (data manipulation) - openpyxl (Excel support) - python-dateutil (date parsing) ## Output Format The skill produces CSV files with standardized columns: - `date` - Transaction date (YYYY-MM-DD) - `description` - Transaction description - `amount` - Transaction amount - `balance` - Account balance (if available) - `category` - Transaction category - `account` - Source account (if multiple) - `source_file` - Original filename ## Duplicate Detection Duplicates are identified using: - Exact match: Same date, description, and amount - Fuzzy match: Similar date (±2 days) and exact amount - Configurable tolerance levels ## Error Handling - Reports files that couldn't be read - Handles missing columns gracefully - Validates data types - Logs all operations - Provides detailed error messages ## Privacy & Security All file processing happens locally: - No cloud services - No data transmission - Files stay on local filesystem - Sensitive data never leaves the machine
Related Skills
We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.