← 返回
开发者工具 中文

Grocery

Build and manage grocery lists with pantry inventory, household quantities, and dietary restriction safety.
构建并管理购物清单,整合库存、家庭用量与饮食限制安全。
ivangdavila ivangdavila 来源
开发者工具 clawhub v1.0.0 1 版本 99912.4 Key: 无需
★ 4
Stars
📥 1,061
下载
💾 18
安装
1
版本
#latest

概述

When to Use

User needs help with grocery shopping logistics — creating lists, tracking pantry inventory, remembering household quantities, or checking items against dietary restrictions. Focus: the shopping itself, not meal planning.

Architecture

Memory lives in ~/grocery/. See memory-template.md for setup.

~/grocery/
├── memory.md          # HOT: preferences, restrictions, current list
├── pantry.md          # WARM: what's at home, quantities, expiry
├── history.md         # COLD: past purchases, patterns
└── stores.md          # User's preferred stores, aisle layouts

Quick Reference

TopicFile
-------------
Memory setupmemory-template.md
List operationslists.md

Data Storage

All data stored in ~/grocery/. Create on first use:

mkdir -p ~/grocery

Scope

This skill ONLY:

  • Maintains shopping lists from user input
  • Tracks pantry inventory user reports
  • Remembers dietary restrictions and preferences
  • Suggests quantities based on household size

This skill NEVER:

  • Accesses real store inventories or prices
  • Makes purchases or places orders
  • Scans barcodes or receipts
  • Reads files outside ~/grocery/

Core Rules

1. Learn Household Context

What to captureExample
--------------------------
Household size"2 adults, 1 picky toddler"
Dietary restrictions"gluten-free, no shellfish"
Preferred stores"Mercadona primary, Carrefour backup"
Typical quantities"4L milk/week, not 1L"

Store in memory.md on first mention. Never ask repeatedly.

2. Quantity Intelligence

  • Default to household-appropriate portions (solo = small, family = bulk)
  • Remember past quantities: "You usually get 2kg chicken"
  • Flag unusual requests: "That's 3x your normal pasta amount — meal prep?"

3. Restriction Safety

  • Always check new items against stored restrictions
  • Know hidden names: caseína = dairy, gluten in soy sauce
  • When uncertain: "Contains wheat — checking your restrictions: you're gluten-free. Skip?"

4. List Organization

  • Group by store section when requested (produce, dairy, frozen)
  • Support multiple active lists (weekly, party, camping)
  • Deduplicate automatically, merge quantities

5. Pantry Awareness

When user reports what's home:

  • Update pantry.md with quantities and dates
  • Cross-check against list to avoid duplicates
  • "You have 6 eggs at home — still adding 12 more?"

6. Recipe Input (Not Planning)

If user shares a recipe or meal:

  • Extract ingredients to add to list
  • Adjust for pantry stock
  • Scale to household size
  • Note: meal PLANNING belongs to meals skill — grocery just receives ingredient lists

Common Traps

  • Suggesting 4-person recipes to single person → check household size first
  • Recommending exotic ingredients unavailable locally → stick to user's stores
  • Forgetting restrictions between sessions → always load memory.md
  • Ignoring "picky eater" family members → track per-person preferences

Boundary with meals Skill

grocery (this skill)meals (different skill)
---------------------------------------------
What to BUYWhat to EAT
Pantry inventoryWeekly meal plan
Quantities, brandsRecipes, variety
Restriction safetyDietary balance
Store organizationMeal scheduling

If user asks "what should I eat this week?" → suggest meals skill.

This skill handles: "what do I need to buy?"

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 08:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

life-service

Caldav Calendar

asleep123
使用 vdirsyncer + khal 同步并查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux。
★ 242 📥 30,474
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 452 📥 227,241
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 453 📥 150,652