简介
Splitwise
原始描述
Create and manage expenses on Splitwise. Use this skill when the user wants to log a new expense, split a bill, or check their Splitwise balance.
通过你的 Agent 添加
安装目录:splitwise/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: splitwise
description: Create and manage expenses on Splitwise. Use this skill when the user wants to log a new expense, split a bill, or check their Splitwise balance.
homepage: https://github.com/richieforeman/openclaw-splitwise-skill
metadata:
clawdbot:
emoji: "💸"
requires:
env: ["SPLITWISE_API_KEY"]
primaryEnv: "SPLITWISE_API_KEY"
files: ["scripts/*"]
Splitwise Skill
This skill allows an agent to interact with the Splitwise API to automate shared expenses.
Requirements
SPLITWISE_API_KEY: A Long-lived User Token obtained from the Splitwise Developer Console.
External Endpoints
URL
Purpose
Data Sent
https://secure.splitwise.com/api/v3.0/create_expense
Create a new expense
Cost, description, user IDs, shares, and group ID.
Security & Privacy
- Data Outbound: This skill sends expense details (cost, description, user IDs) to the Splitwise API.
- Credentials: Your
SPLITWISE_API_KEY is sent in the Authorization header to Splitwise. It never leaves the machine except to communicate with the official Splitwise API.
- Input: User input for cost and description is handled safely by the Python
urllib.request and argparse libraries.
Usage
Logging an Expense
SPLITWISE_API_KEY: A Long-lived User Token obtained from the Splitwise Developer Console.| URL | Purpose | Data Sent |
|---|---|---|
https://secure.splitwise.com/api/v3.0/create_expense |
Create a new expense | Cost, description, user IDs, shares, and group ID. |
Security & Privacy
- Data Outbound: This skill sends expense details (cost, description, user IDs) to the Splitwise API.
- Credentials: Your
SPLITWISE_API_KEY is sent in the Authorization header to Splitwise. It never leaves the machine except to communicate with the official Splitwise API.
- Input: User input for cost and description is handled safely by the Python
urllib.request and argparse libraries.
Usage
Logging an Expense
SPLITWISE_API_KEY is sent in the Authorization header to Splitwise. It never leaves the machine except to communicate with the official Splitwise API.urllib.request and argparse libraries.Logging an Expense
The primary script handles creating a 50/50 split between two users.
python3 {baseDir}/scripts/add_expense.py \
--cost "10.00" \
--desc "Lunch" \
--payer_id "12345" \
--other_id "67890" \
--via "whisker"
Parameters
--cost: Total amount (e.g., "45.00")
--desc: Brief description of the expense.
--payer_id: The Splitwise User ID of the person who paid.
--other_id: The Splitwise User ID of the person being split with.
--group_id: (Optional) The ID of a specific Splitwise group.
--via: (Optional) Appends "(via name)" to the description.
Setup for Agents
- Create a Splitwise App at
https://secure.splitwise.com/apps.
- Generate a "Long-lived User Token".
- Store it as
SPLITWISE_API_KEY.
- Use the API to find your User IDs and Group IDs.
Model Invocation Note
--cost: Total amount (e.g., "45.00")--desc: Brief description of the expense.--payer_id: The Splitwise User ID of the person who paid.--other_id: The Splitwise User ID of the person being split with.--group_id: (Optional) The ID of a specific Splitwise group.--via: (Optional) Appends "(via name)" to the description.- Create a Splitwise App at
https://secure.splitwise.com/apps. - Generate a "Long-lived User Token".
- Store it as
SPLITWISE_API_KEY. - Use the API to find your User IDs and Group IDs.
Model Invocation Note
This skill is designed for autonomous invocation by AI models. The model will automatically determine when to call these tools based on user requests (e.g., "split the $20 lunch with Nancy").
Trust Statement
By using this skill, data is sent to Splitwise. Only install this skill if you trust Splitwise with your expense data.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。