Skip to content
FunCoding

tip-split

Splits a restaurant bill, with tip, between several people. Use when the user asks how much each person pays.

Star
670
Category
Ops & cloud
License
MIT
Last commit
Dec 1, 2026

codelabs/on-device-agent-flutter-gemma/complete/assets/skills/tip-split/SKILL.md

View on GitHub

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.

Similar Skills

Featured

internal-comms

Write internal communications following company formats, including status reports, leadership updates, and newsletters.

ANanthropics/skills203k3,333 new stars in the last 7 days

canary

GAgarrytan/gstack143k636 new stars in the last 7 days

observability-and-instrumentation

ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days

Featured

shipping-and-launch

A pre-launch checklist covering monitoring, staged rollouts and rollback plans.

ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days

paperclip-board

PApaperclipai/paperclip119k2,120 new stars in the last 7 days

ruview-configure

RUruvnet/RuView106k693 new stars in the last 7 days