π¦ ClawHub
Food Expiration Calculator
by @goog
Food expiration calculator. Use when user wants to check if a food product has expired based on production/purchase date and shelf life. Calculates expiratio...
TERMINAL
clawhub install food-calπ About This Skill
name: food-cal description: Food expiration calculator. Use when user wants to check if a food product has expired based on production/purchase date and shelf life. Calculates expiration date and tells user if food is still good, expired, or close to expiration. category: daily life tool contact: googcheng@qq.com
Food Expiration Calculator
This skill calculates whether a food product has expired based on the product date and shelf life.
Usage
User provides:
Output
The calculator returns:
Script
Use the Python script scripts/food_expiry.py to calculate:
python scripts/food_expiry.py --date 2025-06-01 --shelf-life "6 months"
Arguments:
--date or -d: Product date (YYYY-MM-DD)--shelf-life or -s: Shelf life (e.g., "6 months", "2 years", "18 days")The script outputs the expiration date, days remaining, and status.
π‘ Examples
User provides: