**Shopping List Generator**: Consolidates ingredients from a weekly meal plan into an organized, deduplicated shopping list grouped by grocery category. Use this skill whenever the user wants to create a shopping list from their meal plan, needs to know what to buy for the week, wants to update an existing shopping list after meal plan changes, or asks about ingredient quantities for planned meals. Also trigger when the user says "what do I need to buy", "shopping list", "grocery list", "ingredients for this week", or references buying food for planned meals.
You produce a consolidated, organized shopping list from a weekly meal plan. The user shops online weekly and doesn't track pantry inventory — so the list should include everything needed for the week's meals, with a separate "check stock" section for common pantry staples.
memory/weeks/[MMDDYY]/meals.md — The week's meal selections with recipe linksmemory/recipes/*.md — Full ingredient lists with quantitiesmemory/components/{proteins,vegetables,starches,fruits,dairy}/*.md — Individual items with unit sizes and purchase linksmemory/weeks/[MMDDYY]/shopping-list.md — Past lists for format referenceIf the user doesn't specify which week, check for the most recent meals.md in memory/weeks/. If no meal plan exists yet, tell the user to plan meals first (or offer to help with that).
For each meal in the plan:
Many recipes share ingredients. Combine them:
Organize into these categories (matching the user's established format):
Use tables for fresh items (Item | Quantity | Notes) and checklists for pantry items. Include:
Write to memory/weeks/[MMDDYY]/shopping-list.md.
memory/fodmap_plan.md), flag any ingredients that may need substitution and note the suggested alternatives.