FairSplit
БесплатноЗапускает вложенные скриптыНе проверенSplit group expenses and settle up in the fewest payments.
от himadriganguly358 установок в других каталогахОб этом скилле
FairSplit
Track who paid for what in a shared trip, flat, or event, and work out the smallest possible set of payments that settles everyone up. Everything lives in one JSON file per group on disk -- no Splitwise account, no bank linking, no API key, nothing to sign up for. It works just as well for a weekend trip chat as it does for a flatmates' group that has been running for years.
All the actual arithmetic (splitting, currency conversion, and the settlement plan) is done by a tested script, not by the model doing mental math -- money bugs are the kind of bug nobody notices until someone's short a real payment.
When to Use
Load this skill when the user:
- Says things like "split this bill", "who owes who", "settle up", "add an expense", or mentions a shared trip/flat/event fund
- Wants to record who paid for something and how to divide it
- Asks for a balance summary or a plan for who should pay whom
- Wants a shareable summary (CSV/Markdown) of a trip's expenses
Don't use it for:
- Moving real money, requesting payments, or linking bank/UPI/PayPal accounts -- FairSplit only records and calculates
- Personal budgeting or tracking one person's spending (no group, nobody to settle with)
- Tax, accounting, or invoicing work that needs an audit trail
Prerequisites
- Python 3.8+ on the machine running the
terminaltool. Nothing topip install--scripts/ledger.pyuses only the standard library. - No API keys or environment variables are required.
- Outbound network access is needed only for the optional
fxcommand.
How to Run
Run every command through the terminal tool with the bundled script:
python3 ${HERMES_SKILL_DIR}/scripts/ledger.py --data-dir "<fairsplit.data_dir>" <command> [options]
--data-dir is a global flag and goes before the subcommand. The
configured fairsplit.data_dir and fairsplit.default_currency values are
injected into your context when this skill loads, but they are not
passed to the script automatically -- always pass the configured
--data-dir, and pass --currency on init (falling back to
fairsplit.default_currency). Without --data-dir the script uses
$FAIRSPLIT_DATA_DIR, then ~/.hermes/data/fairsplit. A leading ~ is
expanded by the script, so quoting the path is fine.
On Windows, use python instead of python3 if python3 isn't on PATH.
Quick Reference
The examples below omit --data-dir for brevity; include it in real calls.
| Command | Purpose |
|---|---|
init |
Create a new group with a home currency and members |
add |
Record one expense |
add-member |
Add a person to an existing group |
balances |
Show each member's net position |
settle |
Compute the minimum-payment settlement plan |
history |
List recorded expenses, optionally filtered |
undo |
Delete an expense by id |
export |
Write a CSV or Markdown summary to disk |
list-groups |
List every group in the data directory |
fx |
Best-effort keyless exchange-rate lookup (optional) |
Every command has --help. Full flag reference: references/cli-reference.md.
Procedure
1. Find or create the group
Ask what the group/trip is called if it isn't obvious from context (a chat title, or something the user already named). Check whether it exists first:
python3 ${HERMES_SKILL_DIR}/scripts/ledger.py list-groups
If it doesn't exist yet, create it. Get the member names and a home
currency (fall back to the configured fairsplit.default_currency if the
user doesn't say -- the script itself defaults to USD, so pass it):
python3 ${HERMES_SKILL_DIR}/scripts/ledger.py init --group "Goa Trip" --currency INR --members "Alice,Bob,Priya"
You don't need every member up front -- add auto-adds anyone new it sees
as a payer or participant, and add-member covers someone joining later
with no expenses yet.
2. Record expenses as they come up
Default to an equal split -- it's what the user means unless they say otherwise:
python3 ${HERMES_SKILL_DIR}/scripts/ledger.py add --group "Goa Trip" \
--payer Alice --amount 1000 --description "Dinner" --split equal
Omit --participants to split across the whole group. For anything other
than a plain even split, ask a specific clarifying question rather than
guessing ("should this be split evenly, or does someone owe a different
share?") and pick the right split type:
--split equal-- default, divides evenly (remainder cents go to whoever sorts first alphabetically, deterministically)--split exact --detail "Alice:300,Bob:300,Priya:300"-- named amounts that must add up to
Установить FairSplit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл FairSplit?
Split group expenses and settle up in the fewest payments.
Как установить скилл FairSplit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл FairSplit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic