Smart pantry inventory tracker with OCR, expiration alerts, and recipe suggestions
Track your groceries, get expiration reminders, and discover recipes using what you have on hand.
/pantry add [image or text]
Send a photo of your groceries or type items manually:
| Command | Description | Example |
|---|---|---|
/pantry add | Add groceries (image or manual) | /pantry add chicken, eggs, milk |
/pantry show | Show current pantry contents | /pantry show |
/pantry expiring | Show items expiring soon | /pantry expiring 3 (within 3 days) |
/pantry search | Search for specific items | /pantry search chicken |
/pantry cook | Get recipe suggestions | /pantry cook --quick --strict |
/pantry use | Mark item as used | /pantry use chicken |
/pantry freeze | Move item to freezer | /pantry freeze chicken |
/pantry trash | Remove spoiled item | /pantry trash spinach |
/pantry undo | Undo last add | /pantry undo |
/pantry prefs | Set preferences | /pantry prefs --diet vegetarian |
/pantry reset | Reset pantry data | /pantry reset |
Send a photo with your message:
The AI will extract items, estimate expiration dates, and ask for confirmation before adding.
/pantry add chicken breast, spinach, 2 cartons of eggs
Supports quantities and units:
What do I have?
/pantry show
Specific search:
/pantry search soy sauce
/pantry search proteins
Expiring soon:
/pantry expiring # Default: 2 days
/pantry expiring 7 # Within 7 days
/pantry cook # Suggest meals using pantry items
/pantry cook --quick # Under 30 minutes
/pantry cook --strict # Only use what I have (no shopping)
/pantry cook --waste # Prioritize expiring items
/pantry cook spinach chicken # Use specific ingredients
Items can have these statuses:
active - In pantry, ready to usepartial - Partially usedfrozen - Moved to freezer (extends expiry)consumed - Used uptrashed - Discarded (spoiled)Items are automatically assigned storage:
Some items last a long time and are typically "staples":
Pantry Pal learns these and assumes you "likely still have" them even without recent additions.
Occasionally you may be asked: "Still have soy sauce?" to verify.
/pantry prefs --reminder daily # Daily digest
/pantry prefs --reminder critical # Only within 48 hours
/pantry prefs --reminder off # Disable reminders
If the host supports scheduling, reminders are sent at your preferred time. Otherwise, "soft reminders" appear when you message the bot after items are expiring.
/pantry prefs --timezone America/New_York
/pantry prefs --diet vegetarian
/pantry prefs --allergies peanuts,shellfish
/pantry prefs --dislikes cilantro
/pantry prefs --cuisine italian,asian
All data is stored locally on your device:
~/.config/clawdbot-pantry/pantry_state.json - Pantry inventory~/.config/clawdbot-pantry/shelf_life.json - Expiration estimates (customizable)To clear all pantry data:
/pantry reset
This removes all items but preserves your preferences.
To fully reset including preferences:
/pantry reset --all
User: [sends photo of groceries]
User: Add these groceries
Bot: I found these items in your photo:
**Fridge:**
- Chicken breast (2 packs) - Expires ~Feb 3
- Spinach (1 bag) - Expires ~Feb 4
- Milk (1 gallon) - Expires ~Feb 8
**Pantry:**
- Pasta (1 box) - Expires ~Aug 2026
- Olive oil - Multi-use staple
Reply "Confirm" to add, or make corrections like:
- "spinach is 2 bags"
- "set milk expiry Feb 10"
User: Confirm
Bot: Added 5 items to your pantry.
User: What should I cook tonight?
Bot: Based on your pantry (prioritizing expiring items):
1. **Lemon Herb Chicken with Spinach**
Uses: chicken breast, spinach (both expiring soon!)
Time: 25 minutes
2. **Creamy Spinach Pasta**
Uses: pasta, spinach, milk
Time: 20 minutes
3. **Chicken Stir-Fry**
Uses: chicken breast
Missing: soy sauce (likely have), vegetables
Time: 15 minutes
Reply with a number for the full recipe!
requests>=2.31.0 # API calls for vision models
Pillow>=10.0.0 # Image handling (optional)
Install: pip install requests Pillow
Pantry Pal works with your configured AI model (ChatGPT or Gemini). The model is used for:
Pantry Pal helps reduce food waste by keeping track of what you have and when it expires. No more forgotten vegetables in the back of the fridge!