| name | generate-shopping-list |
| description | **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.
|
Generate Shopping List
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.
Where to Find Things
- Current meal plan:
memory/weeks/[MMDDYY]/meals.md — The week's meal selections with recipe links
- Recipes:
memory/recipes/*.md — Full ingredient lists with quantities
- Components:
memory/components/{proteins,vegetables,starches,fruits,dairy}/*.md — Individual items with unit sizes and purchase links
- Previous shopping lists:
memory/weeks/[MMDDYY]/shopping-list.md — Past lists for format reference
Workflow
1. Identify the Meal Plan
If 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).
2. Extract All Ingredients
For each meal in the plan:
- Read the linked recipe file and extract the full ingredients list with quantities
- For component meals (no recipe file), read each component and note standard serving sizes