← Back to Skills Marketplace
goog

Food Expiration Calculator

by Jay · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
143
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 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 expiratio...
README (SKILL.md)

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:

  • --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.

Usage Guidance
This skill appears safe: it contains a small Python script that parses dates and prints an expiration status, with no network activity or secret access. If you rely on exact calendar math, note the script approximates months as 30 days and years as 365 days. You can review the included scripts locally before running; run them in your normal environment (python3) — no external keys or installs are required.
Capability Analysis
Type: OpenClaw Skill Name: food-cal Version: 1.0.0 The skill bundle is a straightforward utility for calculating food expiration dates. The Python script `scripts/food_expiry.py` uses standard libraries to process date strings and shelf-life durations without any network access, file system manipulation, or sensitive data retrieval. No malicious instructions or suspicious patterns were identified in the code or documentation.
Capability Assessment
Purpose & Capability
The script and SKILL.md implement a simple expiration-date calculator matching the name/description. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md only instructs running the included Python script with a product date and shelf-life string. The script only parses inputs, does date math, and prints results; it does not read other files, environment variables, or contact external endpoints.
Install Mechanism
No install spec is provided (instruction-only with a bundled script). This minimizes installation risk — nothing is downloaded or written to disk beyond the provided file.
Credentials
The skill requires no environment variables, credentials, or external configuration. The declared requirements match the implementation.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify system or other skills' configuration. Autonomous invocation is allowed by default but is not combined with any broad privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install food-cal
  3. After installation, invoke the skill by name or use /food-cal
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the Food Expiration Calculator skill. - Allows users to check if a food product is fresh, expiring soon, or expired based on product date and shelf life. - Provides expiration date, days remaining (or overdue), and status. - Includes a Python script (`scripts/food_expiry.py`) for command-line calculation.
Metadata
Slug food-cal
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments