← Back to Skills Marketplace
qiangm1

Fridge Manager

by qiangm1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
50
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install fridge-manager
Description
Household food inventory manager with expiry tracking. Use when: (1) adding food to fridge/freezer/pantry — 'bought milk', '买了鸡蛋', (2) removing/consuming foo...
README (SKILL.md)

Fridge Manager

Track household food inventory via conversation. Auto-calculates expiry from built-in knowledge base, logs all changes, supports cron-based expiry alerts.

Data

Store inventory in family/fridge.json (workspace-relative). Create on first use:

{ "items": [], "log": [] }

Item

{
  "id": "a1b2c3d4",
  "name": "牛奶",
  "category": "dairy",
  "qty": "1 carton",
  "added": "2026-04-27",
  "expiry": "2026-05-04",
  "storage": "fridge",
  "notes": ""
}
  • id — 8-char hex, generated via random
  • categorymeat|seafood|dairy|vegetable|fruit|grain|condiment|leftover|drink|snack|other
  • storagefridge|freezer|pantry|counter
  • expiry — auto-calculated from knowledge base when omitted

Log Entry

Append to log[] on every mutation:

{ "action": "add|consume|discard", "id": "a1b2c3d4", "name": "牛奶", "qty": "1 carton", "reason": "", "ts": "2026-04-27T18:30:00" }

Workflows

Add (入库)

User says they bought/stored food → parse name, quantity, storage location.

  1. Look up category + shelf life in knowledge base (read references/food-knowledge-zh.md or references/food-knowledge-en.md matching user language)
  2. Calculate expiry = today + shelf life for the matching storage type (fridge → refrigerated life, freezer → frozen life)
  3. If item not in knowledge base → estimate conservatively, flag in notes
  4. Write to items[], append log[]
  5. Confirm: name, location, expiry date. Include one storage tip if notable (e.g., "蚝油必须冷藏")

Batch: "买了牛奶、鸡蛋和西兰花" → add all in one operation, single confirmation message.

Remove (出库)

Three types — detect intent from phrasing:

Intent Trigger examples Action
Consume "用完了", "喝了", "used 3 eggs" Reduce qty or remove if zero
Discard "扔了", "threw away", "过期了扔掉" Remove from items
Batch cook "做了番茄炒蛋" Reduce/remove all ingredients mentioned
  • Fuzzy-match item names. If ambiguous (multiple matches), list and ask.
  • Never silently delete — always confirm what was removed.
  • Append log[] for each item affected.

Query

User says Response
"冰箱里有什么" / "what's in my fridge" All items grouped by storage, with expiry status
"什么快过期" / "what's expiring" Items within 3 days of expiry, sorted by urgency
"有鸡蛋吗" / "do I have eggs" Search by name → qty + expiry
"冷冻室里有什么" / "what's in the freezer" Filter by storage location

Status indicators: 🔴 expired · 🟡 ≤3 days · 🟢 safe

Expiry Alert (cron/heartbeat)

For scheduled invocation. Silent when nothing is urgent.

  1. Read family/fridge.json
  2. Find items where expiry ≤ today + 3 days
  3. If found → send alert:
    🧊 Fridge Alert
    
    🔴 Expired:
    - 酸奶 (2 days overdue)
    
    🟡 Expiring soon:
    - 牛奶 (1 day left)
    - 鸡胸肉 (3 days left)
    
    💡 Tip: consider freezing the chicken if not cooking today
    
  4. If nothing expiring → reply NO_REPLY (stay silent)

Cron Setup

Users create a cron via OpenClaw with this task prompt:

Read the fridge-manager skill, then check family/fridge.json for items expiring within 3 days. Send a reminder if any found. Otherwise reply NO_REPLY.

Recommended schedule: daily at 9:00 AM user's local time.

Storage Tips

When asked "how to store X" or during add workflow, consult the knowledge base:

  • Optimal storage method
  • Special handling tips
  • Common mistakes to avoid

Knowledge Base

Built-in shelf life + storage tips for 60+ common foods, organized by category:

  • English: Read references/food-knowledge-en.md
  • 中文: Read references/food-knowledge-zh.md

Use fuzzy matching: "chicken breast" → poultry row, "西红柿" → 番茄 row.

Rules

  1. Match user's language — Chinese input → Chinese response
  2. Conservative expiry estimates when uncertain
  3. Confirm every add/remove with a brief summary
  4. Keep JSON clean — remove items at zero quantity
  5. Log every mutation
Usage Guidance
This skill appears coherent and self-contained, but note it stores your household inventory in family/fridge.json in the agent workspace — treat that file as potentially sensitive (names, quantities, timestamps). Before installing, consider: (1) who/which skills have access to your workspace (they could read the JSON), (2) how scheduled alerts are delivered (they are generated by the agent — confirm you’re comfortable with daily reminders), and (3) whether you want backups/encryption for the JSON. There are no external network endpoints, credentials, or install scripts included, so the main risk is local data exposure — review workspace permissions and OpenClaw cron scheduling policy if you want stricter controls.
Capability Analysis
Type: OpenClaw Skill Name: fridge-manager Version: 1.0.0 The fridge-manager skill is a legitimate household inventory tool designed to track food items and their expiry dates using a local JSON file (family/fridge.json). The instructions in SKILL.md and the supporting knowledge base files (references/food-knowledge-en.md and references/food-knowledge-zh.md) are strictly aligned with the stated purpose, with no evidence of data exfiltration, malicious command execution, or unauthorized access to sensitive system resources.
Capability Assessment
Purpose & Capability
Name/description (household fridge inventory + expiry tracking) aligns with the declared behavior: reading internal knowledge files, estimating shelf life, and maintaining family/fridge.json. No unrelated credentials, binaries, or external services are requested.
Instruction Scope
Instructions perform file I/O in the workspace (create/read/write family/fridge.json), parse user utterances, consult bundled knowledge files, and generate confirmations/alerts. This is within scope, but the skill will persist household data locally and can be scheduled via cron/heartbeat — users should be aware data is stored in workspace-visible files.
Install Mechanism
Instruction-only skill with no install spec and no code files to execute. Lowest-risk install profile; nothing is downloaded or written outside the workspace by the skill spec itself.
Credentials
No environment variables, credentials, or config paths are requested. The declared data access (workspace file family/fridge.json and bundled knowledge markdown) is proportional to the stated functionality.
Persistence & Privilege
always is false and the skill is user-invocable; autonomous invocation is allowed (platform default) but not combined with elevated privileges. The skill persists state only in its workspace JSON file per its instructions.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install fridge-manager
  3. After installation, invoke the skill by name or use /fridge-manager
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: food inventory with expiry tracking, bilingual knowledge base, cron alerts
Metadata
Slug fridge-manager
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Fridge Manager?

Household food inventory manager with expiry tracking. Use when: (1) adding food to fridge/freezer/pantry — 'bought milk', '买了鸡蛋', (2) removing/consuming foo... It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.

How do I install Fridge Manager?

Run "/install fridge-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Fridge Manager free?

Yes, Fridge Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Fridge Manager support?

Fridge Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Fridge Manager?

It is built and maintained by qiangm1 (@qiangm1); the current version is v1.0.0.

💬 Comments