/install food-cal
Food Expiration Calculator
This skill calculates whether a food product has expired based on the product date and shelf life.
Usage
User provides:
- Product date: The production date, manufacture date, or purchase date (format: YYYY-MM-DD)
- Shelf life: How long the product lasts (e.g., "6 months", "2 years", "18 months")
Output
The calculator returns:
- Expiration date
- Days remaining until expiration (or days since expiration)
- Status: "Fresh" (more than 30 days left), "Expiring Soon" (less than 30 days), or "Expired"
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:
--dateor-d: Product date (YYYY-MM-DD)--shelf-lifeor-s: Shelf life (e.g., "6 months", "2 years", "18 days")
The script outputs the expiration date, days remaining, and status.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install food-cal - After installation, invoke the skill by name or use
/food-cal - Provide required inputs per the skill's parameter spec and get structured output
What is Food Expiration Calculator?
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... It is an AI Agent Skill for Claude Code / OpenClaw, with 143 downloads so far.
How do I install Food Expiration Calculator?
Run "/install food-cal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Food Expiration Calculator free?
Yes, Food Expiration Calculator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Food Expiration Calculator support?
Food Expiration Calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Food Expiration Calculator?
It is built and maintained by Jay (@goog); the current version is v1.0.0.