AGENT SKILL
餐厅账单分摊计算
tip-split
在多人之间分摊含小费的餐厅账单。当用户询问每人应付金额时使用。
- 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
发送电子邮件。
★ 662
维基百科摘要查询
query-wikipedia
查询维基百科中给定主题的摘要。
★ 662
二维码生成
qr-code
为给定的 URL 生成二维码。
★ 662
厨房冒险文字游戏
kitchen-adventure
扮演一款文字冒险游戏的地下城主,故事设定在一个所有人都是有感知能力的厨房电器的世界里。当用户说"start kitchen adventure"时触发。
★ 662
交互式地图展示
interactive-map
为给定位置显示交互式地图视图。
★ 662
当前日期时间查询
get-current-time
获取用户当前的本地日期、时间和星期几。
★ 662