首页龙虾技能列表 › Splitwise CLI

Splitwise CLI

v1.0.1

Manage shared expenses via the Splitwise CLI. Use when asked to log, split, or track expenses with other people, check balances, see who owes whom, settle de...

0· 224·0 当前·0 累计
by @barronlroth (Barron Roth)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/6
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's requirements and runtime instructions align with its stated purpose: it calls a local splitwise CLI and needs the CLI's config/auth files to operate.
评估建议
This skill appears coherent for controlling a local Splitwise CLI, but be aware it will use the CLI and the auth file (~/.config/splitwise-cli/auth.json) to act as your account (create/delete/settle expenses). Before installing: ensure the 'splitwise' CLI on your system is from a trusted source, inspect the contents of ~/.config/splitwise-cli/auth.json if you want confidence about stored tokens, and be prepared to revoke OAuth access via Splitwise if you stop trusting the skill. Also confirm the...
详细分析 ▾
用途与能力
Name/description (Splitwise CLI) match the declared requirements: the skill requires the 'splitwise' binary and the CLI's config/auth files. These are appropriate for a skill that runs the Splitwise CLI.
指令范围
SKILL.md instructs only how to call the local 'splitwise' CLI (balances, expenses create/list/delete, groups, friends, settle). It does not instruct the agent to read unrelated files, call external endpoints other than the CLI, or exfiltrate data. It does rely on the CLI reading ~/.config/splitwise-cli/auth.json for OAuth tokens, which is expected.
安装机制
This is an instruction-only skill with no install spec; it expects the 'splitwise' binary to already be on PATH. Nothing is downloaded or written by the skill itself, which minimizes install risk.
凭证需求
No environment variables are requested. The skill requires access to ~/.config/splitwise-cli/auth.json and config.json — this is proportionate to its function, but those files contain OAuth credentials and grant the ability to act as the authenticated user (create/delete/settle expenses).
持久化与权限
The skill is not forced-always-on and does not request elevated platform privileges. It is user-invocable and may be invoked autonomously by model default behavior, which is normal for skills.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.12026/3/12

Remove personal references and add explicit runtime requirements for ClawHub analysis.

● 无害

安装命令 点击复制

官方npx clawhub@latest install splitwise-cli
镜像加速npx clawhub@latest install splitwise-cli --registry https://cn.clawhub-mirror.com

技能文档

Manage shared expenses, balances, and settlements through the splitwise CLI.

Setup

This skill requires the splitwise CLI to be installed and available on PATH. It uses OAuth 2.0 credentials stored at ~/.config/splitwise-cli/auth.json. If auth expires, the CLI will tell you — run splitwise auth to re-authenticate (requires browser OAuth flow).

If a default group is already configured locally, you can omit --group. Otherwise, pass --group explicitly.

Quick Reference

Check balances

# Default group balances
splitwise balances

# Specific group splitwise balances --group "Trip"

List expenses

# Recent expenses in default group
splitwise expenses list --limit 10

# Date-filtered splitwise expenses list --after 2026-03-01 --before 2026-03-31

# Different group splitwise expenses list --group "Trip" --limit 5

Create an expense

# Even split, you paid
splitwise expenses create "Internet - March" 51.30

# Custom exact split (60/40, 70/30, any ratio) splitwise expenses create "Utilities - March 2026" 254.80 --split "exact:MemberA:152.88,MemberB:101.92" splitwise expenses create "Rent - April" 9300 --split "exact:MemberA:7300,MemberB:2000"

# Another member paid splitwise expenses create "Groceries" 87.50 --paid-by "MemberB"

# Another member paid with custom split splitwise expenses create "Dinner" 120.00 --paid-by "MemberB" --split "exact:MemberA:80,MemberB:40"

# Different group splitwise expenses create "Dinner" 120.00 --group "Trip"

# Different currency splitwise expenses create "Dinner on Trip" 45.00 --group "Trip" --currency EUR

Other commands

splitwise me                          # Current user info
splitwise groups                      # List all groups
splitwise group "Household"           # Group details + member balances
splitwise friends                     # List friends
splitwise settle "MemberB"            # Record a settlement
splitwise expenses delete 12345       # Delete an expense by ID

Output Modes

Every command supports:

  • --json — raw JSON (for scripting or piping)
  • --quiet — minimal output, just IDs/amounts
  • --no-color — disable color (also respects NO_COLOR env var)

Patterns for Common Tasks

Log a recurring shared bill

Include the month in the description to avoid confusion:
splitwise expenses create "Internet - March 2026" 51.30

Check before logging (avoid duplicates)

splitwise expenses list --after 2026-03-01 --limit 50 --json
Search the output for matching descriptions before creating.

Batch-log multiple expenses

Run multiple splitwise expenses create commands in sequence. No special syntax.

Error Handling

  • "not logged in" → Run splitwise auth (needs browser for OAuth)
  • "group not found" → Verify name with splitwise groups
  • "friend not found" → Verify name with splitwise friends
  • Network errors → Retry once, then report to user

Key Details

  • Group/friend names use case-insensitive partial matching
  • A configured default group means --group is optional
  • Amounts are USD by default (configurable via splitwise config set default_currency)
  • --split even is the default — expense split equally among all group members
  • --split "exact:Name:Amount,Name:Amount" — custom per-person split (amounts must sum to total)
  • The --paid-by flag defaults to the authenticated user
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务