AGENT SKILL
tip-split
Splits a restaurant bill, with tip, between several people. Use when the user asks how much each person pays.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 662
- Forks
- 180
01 前言 Front Matter
- name
- tip-split
- description
- Splits a restaurant bill, with tip, between several people. Use when the user asks how much each person pays.
02 资源文件 4
- 脚本scripts/emit.mjs4.8 KB
- 脚本scripts/emit.sh135 B
- 脚本scripts/index.html172 B
- 脚本scripts/index.js2.6 KB
03 SKILL.md 正文
Tip split
Examples
- "Split 84 dollars between 3 of us with a 15% tip"
- "We are four, the bill is 120 euros, 10 percent tip — how much each?"
Instructions
Never do the arithmetic yourself. Call the run_js tool with:
- skillName:
tip-split - data: a JSON string with these fields
- total: the bill before tip, as a number
- people: how many people share it, as a whole number
- tip_percent: the tip in percent, as a number; 0 if the user gave none
- no other fields
Then tell the user what each person pays, using the numbers the tool returned.
04 同仓库更多 Skills
send-email
Send an email.
★ 662
query-wikipedia
Query summary from Wikipedia for a given topic.
★ 662
qr-code
Generates a QR code for the given url.
★ 662
kitchen-adventure
Act as a dungeon master for a text-based adventure set in a world where everyone is a sentient kitchen appliance. Trigger when user says "start kitchen adventure".
★ 662
interactive-map
Show an interactive map view for the given location.
★ 662
get-current-time
Get the user's current local date, time, and day of the week.
★ 662