# group expense splitter

> Calculate cent-perfect group expense splits and optimized debt settlements with ready-to-paste messages.

group expense splitter is a paid AI agent skill on Agensi by Giuseppe Bellamacina, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Giuseppe Bellamacina](https://www.agensi.io/creators/giuseppe-bellamacina)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/group-expense-splitter
- Tags: productivity, python, expense-tracking, finance, automation

## About this skill

Managing shared costs across trips, shared flats, or group dinners often leads to messy spreadsheets and awkward follow-up messages. This skill eliminates the manual math and "who owes what" confusion by processing raw expense data into an optimized settlement plan. It handles the edge cases that standard apps often miss, like uneven splits, multiple payers for a single bill, and multi-currency conversions.

### What it does
- **Optimizes debt settlement** by calculating the absolute fewest number of transfers needed to square up everyone in the group.
- **Handles complex splits** including fixed amounts, percentage-based rent, child shares, or weighted splits based on nights stayed.
- **Processes multi-currency logs** using specific rates from bank statements or agreed-upon daily rates to ensure precision.
- **Generates ready-to-use exports** including a text message for group chats, a visual HTML summary, and a detailed Excel breakdown.

### How it works
1. **Input collection**: You provide receipts, chat logs, or bank exports; the skill structures this into a `group.json` file.
2. **Refinement**: The agent asks brief, clarifying questions about who was included in specific bills or which conversion rates to apply.
3. **Execution**: The agent runs a local Python script to perform cent-perfect calculations and generate the settlement files.
4. **Reporting**: You receive a summary of transfers and a copy-paste message for your group chat.

### Frameworks & tools
This skill utilizes a Python 3.8+ environment (standard library only) and handles data in JSON, HTML, and XLSX formats. It operates entirely locally within your agent's execution environment.

### Why this beats prompting it yourself
Generic prompts often struggle with cent-perfect precision and rounding errors in complex group dynamics. This skill uses a dedicated algorithm to minimize the number of transfers, ensuring you don't end up with 20 tiny payments when 5 would suffice.

### Use cases
- **Holiday trips** where different people cover dinners, flights, and car rentals across various currencies.
- **Shared households** managing monthly rent, utilities, and communal groceries with uneven room sizes.
- **Office collections** for gifts or team events where one person pays and others contribute fixed amounts.

### Known limitations
Designed for groups of up to 15 people to maintain settlement optimization. Requires a Python environment with write access to save the JSON and Excel outputs.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the group expense splitter skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill optimize settlements compared to just dividing the total?

The skill uses a debt-minimization algorithm to calculate the fewest number of transfers possible, preventing a 'daisy chain' of payments and ensuring everyone is settled with minimal effort.

### Can it handle multiple currencies for international trips?

Yes, you can input specific exchange rates from your bank statements or use a flat daily rate to ensure all international expenses are converted with cent-perfect accuracy.

### What are the technical requirements for my AI agent to run this skill?

The skill works with any AI agent that has access to a Python execution environment and file system, as it relies on a local script to process data and generate Excel reports.

### What files are included in the purchase?

You will receive the structured Python processing script, a template for expense logging (JSON), and the logic modules required to generate the HTML and Excel settlement reports.

### Is there a limit to how many expenses I can log at once?

While the skill is optimized for groups of up to 15 people to ensure fast calculation, it can handle an unlimited number of individual expense entries per settlement.

### Do I need to build a spreadsheet template before using this?

No manual setup is required; once the skill is imported, it automatically handles the data structuring and prompts you for any missing information before generating the final report.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
