ShelfLife: Daily Goods Expiration Tracker for Openclaw

An automated expiration date management system that uses Feishu Bitable to log, track, and provide reminders for daily goods.

haoxingyao
v1.0.0
May 12, 2026
0
504
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install shelflife

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install shelflife using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ShelfLife: Daily Goods Expiration Tracker?

ShelfLife is a sophisticated productivity utility designed to help users maintain an organized inventory of household items and daily necessities. By leveraging the power of Openclaw Skills, this tool integrates seamlessly with Feishu Bitable to provide a structured database for tracking expiration dates. It removes the manual burden of monitoring shelf life by automating the initialization of data structures and providing a natural language interface for data entry.

This skill is built to enhance personal and household efficiency. Once configured, it acts as a proactive assistant that not only stores information but also understands the context of time. It ensures that users are always aware of their inventory status, making it a standout example of the practical applications found within the ecosystem of Openclaw Skills.

ShelfLife: Daily Goods Expiration Tracker Use Cases

  • Rapidly logging new groceries, medicines, or skincare products by stating their name and expiry period.
  • Querying a list of all items currently in the pantry that are nearing their expiration date.
  • Receiving daily 9:00 AM notifications via Feishu for any products that have expired or are about to expire.
  • Managing household waste by identifying and using items before they become unusable.

How ShelfLife: Daily Goods Expiration Tracker Works

  1. The agent performs a pre-flight check by reading the local configuration file to determine if the Feishu Bitable environment is initialized.
  2. On the first trigger, the skill automatically creates a Feishu Bitable app named Daily Necessities Shelf Life Management along with the required table schema.
  3. The agent sets up a cron job scheduled for 9:00 AM daily to scan the database for expiring items.
  4. When a user adds an item, the agent extracts the product name and date, then calculates the remaining days and status (Normal, Expiring Soon, or Expired) using internal logic.
  5. Ownership of the generated Bitable is transferred to the user, and the agent continues to sync updates, deletions, and status changes through natural language commands.

ShelfLife: Daily Goods Expiration Tracker Setup

The configuration for this skill is maintained in the following directory: ~/.openclaw/workspace/skills/shelflife/config.json. To start using this component of Openclaw Skills, simply trigger it with a command like 'shelf life'. The skill will automatically handle the initialization of the Bitable app token and table IDs.

# Ensure your Feishu/Lark environment variables are configured
# Trigger initialization via the agent interface:
"Help me manage my shelf life"

ShelfLife: Daily Goods Expiration Tracker Data Schema & Taxonomy

The skill organizes data within a Feishu Bitable using the following schema:

Field Name Type Description
Product Name Text (1) The primary identifier for the item.
Production Date Date (5) Optional manufacturing date.
Expiration Deadline Date (5) Required date when the product expires.
Valid Duration Text (1) e.g., '12 months' or '2 years'.
Remaining Days Number (2) Automatically calculated by the agent.
Status Single Select (3) Categories: Normal, Expiring Soon, Expired.
Used Checkbox (7) Boolean flag to mark items as consumed.
Label Single Select (3) Categories: Food, Canned, Daily, Personal Care.

ShelfLife: Daily Goods Expiration Tracker Advanced Features

  • Smart Relative Date Calculation: Automatically determines expiration deadlines from phrases like 'expires in 6 months'.
  • Automated Environment Provisioning: Creates the entire database infrastructure on Feishu without manual user intervention.
  • Proactive Cron Reminders: Executes background checks in isolated sessions to send timely alerts.
  • Intelligent Status Mapping: Dynamically updates item status (Normal vs. Expiring) based on real-time date comparisons.
  • Integrated View Creation: Automatically generates specific grid views for 'Near Expiry' items within the Bitable interface.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*