Use when user needs to create grocery list from recipes - consolidates ingredients across recipes, checks pantry inventory, converts to purchasable quantities, and provides automation options for Costco/Instacart
Generate smart grocery lists from recipes by consolidating ingredients, checking what's already available, converting to purchasable quantities, and optionally automating the shopping process. Core principle: Buy only what you need in quantities you can actually purchase.
Announce at start: "I'm using the grocery-shopping skill to create your shopping list from recipes."
| Task | Steps | Key Actions |
|---|---|---|
| Setup | Ask preferences → Store inventory | Store choice, Costco/Instacart status |
| Consolidate | Combine recipes → Sum quantities | Merge duplicate ingredients |
| Check Inventory | Ask what's available → Subtract |
| Remove items already owned |
| Convert to Purchasable | Recipe amounts → Package sizes | Translate to real products |
| Organize & Output | Group by section → Format for use | Chrome extension ready |
Use when:
Don't use when:
Grocery Shopping Progress:
- [ ] Phase 1: Setup (store preference, automation options)
- [ ] Phase 2: Consolidate (ingredients combined across recipes)
- [ ] Phase 3: Inventory Check (pantry/fridge items subtracted)
- [ ] Phase 4: Convert to Purchasable (real package sizes)
- [ ] Phase 5: Organize & Format (store sections, copy/paste ready)
- [ ] Phase 6: Automation (optional Costco/Instacart integration)
Ask user for shopping preferences:
Questions to ask:
"Which grocery store do you prefer to shop at?"
"Do you have a Costco membership?"
"Do you have an Instacart account you'd like to use for delivery?"
"What do you currently have in your pantry and fridge?"
Store preferences in memory:
Store preference to memory:
- grocery_store: "Safeway"
- has_costco: true
- has_instacart: true
- pantry_staples: ["flour", "sugar", "olive oil", "salt", "pepper"]
- fridge_items: ["milk", "eggs", "butter"]
- last_updated: "2025-10-19"
Combine ingredients across all recipes:
Consolidation rules:
Same ingredient, same unit: Add quantities
Same ingredient, different units: Convert then add
Similar but different ingredients: Keep separate
Tiny amounts that round away: Flag for user decision
Example consolidation:
Recipe 1 (Cookies): 1/3 cup butter, 3/4 cup flour, 1 egg, 2/3 cup chocolate chips
Recipe 2 (Pasta): 8 oz pasta, 2 cups marinara, 2 tbsp olive oil, 1/4 cup parmesan
Recipe 3 (Garlic bread): 1/4 cup butter, 2 tbsp olive oil, 1/2 cup parmesan
Consolidated:
- Butter: 1/3 cup + 1/4 cup = 7/12 cup (≈ 9 tbsp)
- Flour: 3/4 cup
- Eggs: 1
- Chocolate chips: 2/3 cup
- Pasta: 8 oz
- Marinara sauce: 2 cups
- Olive oil: 2 tbsp + 2 tbsp = 4 tbsp (1/4 cup)
- Parmesan: 1/4 cup + 1/2 cup = 3/4 cup
Subtract what user already has:
Ask systematically:
Handle partial quantities:
Create final needed list:
NEED TO BUY:
- Butter: 7/12 cup (≈ 9 tbsp)
- Chocolate chips: 2/3 cup
- Pasta: 8 oz
- Marinara sauce: 2 cups
- Parmesan: 3/4 cup
ALREADY HAVE (removed from list):
- Flour: 3/4 cup ✓
- Eggs: 1 ✓
- Olive oil: 1/4 cup ✓
Translate recipe amounts to real package sizes:
Conversion guidelines:
Butter:
Chocolate chips:
Pasta:
Marinara sauce:
Parmesan:
Store-specific adjustments:
Costco bulk sizes:
Regular grocery store:
Group by store section for efficient shopping:
Standard store layout:
## Grocery Shopping List
**Store:** [User's preferred store]
**Date:** [Today's date]
**Estimated Total:** [If known from store prices]
### Dairy/Refrigerated
- [ ] Butter - 1 stick (8 tbsp) - [Recipe needs 9 tbsp, will be 1 tbsp short]
- [ ] Parmesan cheese - 8 oz bag pre-grated OR 4 oz wedge - [Need 3 oz]
### Baking/Dry Goods
- [ ] Chocolate chips - 1 bag (12 oz) - [Need 4 oz, leftover 8 oz]
### Pasta/International
- [ ] Pasta - 1 box (16 oz) - [Need 8 oz, leftover 8 oz]
### Sauces/Condiments
- [ ] Marinara sauce - 1 jar (24 oz) - [Need 16 oz, leftover 8 oz]
---
**Already have at home:** Flour, eggs, olive oil
**Estimated cost:** $15-20 (varies by store)
Chrome Extension Copy/Paste Format:
For use with Claude in browser, provide clean copy/paste version:
COPY THIS INTO CHROME EXTENSION CHAT:
---
I need to buy groceries. Here's my list organized by store section:
DAIRY:
• Butter - 1 stick
• Parmesan - 8 oz bag grated
BAKING:
• Chocolate chips - 12 oz bag
PASTA:
• Pasta - 1 box (16 oz)
SAUCES:
• Marinara sauce - 24 oz jar
I already have: flour, eggs, olive oil
Can you help me [add specific request - find deals, create Instacart cart, etc.]?
---
If user has Instacart:
"I can help you create an Instacart order. Would you like me to:
Instacart workflow:
For Chrome extension:
1. Open Instacart.com in browser
2. Select your preferred store
3. Use Claude to search for each item:
"Search for: butter stick"
4. Add to cart as Claude guides you
5. Review cart and checkout
If user has Costco:
"I noticed you have Costco membership. For this list:
Smart bulk buying logic:
Suggest Costco when:
- Recipe scaled 3x or more
- Non-perishable items (pasta, canned goods)
- Items user uses frequently
- Significant cost savings (>30%)
Suggest regular grocery when:
- Small quantities
- Perishables that might spoil
- First time trying a recipe
- Limited storage space
Problem: Generate list without checking what user has Why bad: User buys duplicates, wastes money Fix: ALWAYS ask about pantry/fridge before finalizing list
Problem: "Need 2/3 cup chocolate chips" without package size Why bad: Can't buy 2/3 cup - need to know bag size Fix: Always convert to purchasable: "Buy 12 oz bag (standard), need ~4 oz"
Problem: Don't mention what's left after recipe Why bad: User doesn't know if extras will spoil or be useful Fix: Note leftovers: "Leftover 8 oz pasta - enough for another meal"
Problem: Random order: eggs, pasta, chocolate chips, butter, sauce Why bad: User runs all over store, inefficient Fix: Group by sections: Dairy, Baking, Pasta, etc.
Problem: Assume user wants to shop in person Why bad: Miss opportunity to use Instacart/online ordering Fix: Phase 1 - ask about Instacart/online shopping preference
Rationalizations to REJECT:
STOP if you encounter:
Warning signs:
Combine with recipe-finding:
User: "Find me 3 dinner recipes for this week"
→ Use recipe-finding skill
→ Automatically transition to grocery-shopping
→ "I found 3 recipes. Would you like me to create a shopping list?"
Combine with meal-planning:
User: "Plan meals for the week"
→ Use meal-planning skill
→ Transition to grocery-shopping
→ "Here's your weekly meal plan. Generating shopping list..."
User: "I'm making pasta and cookies, need a grocery list"
Assistant: "I'm using the grocery-shopping skill to create your shopping list.
First, quick setup questions:
User: "Safeway, no Costco, yes Instacart. I have flour, oil, and eggs."
Assistant:
## Shopping List - Safeway via Instacart
**Date:** Oct 19, 2025
### Dairy
- [ ] Butter - 1 stick (need 9 tbsp)
- [ ] Parmesan cheese - 8 oz bag grated (need 3 oz)
### Baking
- [ ] Chocolate chips - 12 oz bag (need 4 oz, leftover 8 oz)
### Pasta
- [ ] Pasta - 1 box 16 oz (need 8 oz, leftover 8 oz)
### Sauces
- [ ] Marinara - 24 oz jar (need 16 oz, leftover 8 oz)
**Already have:** Flour, olive oil, eggs ✓
**Estimated total:** $12-15
Would you like me to guide you through adding these to your Instacart cart?
User: "Planning 5 dinners for the week, have Costco membership"
Assistant: [After recipe consolidation]
## Shopping List - Costco vs. Regular Grocery
**COSTCO (bulk items, better value):**
- [ ] Chicken breast - 6 lb pack (need 4 lbs, freeze extras)
- [ ] Rice - 25 lb bag (need 3 cups, pantry stable)
- [ ] Canned tomatoes - 8-pack (need 4 cans, pantry stable)
**REGULAR GROCERY (fresh, small quantities):**
- [ ] Fresh basil - 1 bunch
- [ ] Bell peppers - 3 pieces
- [ ] Onions - 2 medium
- [ ] Garlic - 1 bulb
- [ ] Fresh mozzarella - 8 oz
**Strategy:** Hit Costco for proteins and pantry staples, then regular grocery for fresh produce.
**Estimated savings:** $15-20 buying chicken/rice/tomatoes in bulk
User: "Give me copy/paste format for Claude browser extension"
Assistant:
📋 COPY BELOW FOR CHROME EXTENSION:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
I need help shopping for these items at Safeway:
DAIRY SECTION:
• Butter (1 stick)
• Parmesan cheese (8 oz bag, pre-grated)
BAKING AISLE:
• Chocolate chips (12 oz bag)
PASTA AISLE:
• Pasta (16 oz box)
• Marinara sauce (24 oz jar)
I already have: flour, eggs, olive oil
Can you help me find the best deals on these items?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
You've succeeded when: