Track kitchen inventory, find expiring items, and discover recipes you can make now
Track what's in your kitchen using CookCLI's pantry features:
pantry.confUse this skill when:
Create or update config/pantry.conf:
[pantry]
flour = "2%kg"
sugar = "1%kg"
rice = "500%g"
[fridge]
milk = { quantity = "1%L", expire = "2026-01-28" }
eggs = "12"
butter = "250%g"
[freezer]
chicken breast = "1%kg"
frozen peas = "500%g"
Find depleted items:
cook pantry depleted
Find expiring items:
cook pantry expiring --days 7
What can I make now?
cook pantry recipes
Shows recipes where you have all (or most) ingredients.
When you cook a recipe, update quantities:
Add newly purchased items with quantities and expiration dates.
User: "Set up pantry tracking"
Created config/pantry.conf:
# Kitchen Inventory
# Update quantities after shopping and cooking
[pantry]
# Dry goods - no expiration needed
flour = "2%kg"
sugar = "1%kg"
rice = "1%kg"
pasta = "500%g"
olive oil = "500%ml"
soy sauce = "200%ml"
salt = "500%g"
black pepper = "100%g"
[fridge]
# Fresh items - track expiration
milk = { quantity = "1%L", expire = "2026-01-28" }
eggs = { quantity = "12", expire = "2026-02-05" }
butter = "250%g"
parmesan = { quantity = "200%g", expire = "2026-02-15" }
cream = { quantity = "250%ml", expire = "2026-01-25" }
[freezer]
# Frozen items - longer dates
chicken breast = "1%kg"
ground beef = "500%g"
frozen peas = "500%g"
User: "What's expiring soon?"
Run:
cook pantry expiring --days 7
Output:
Items expiring within 7 days:
URGENT (1-2 days):
- cream: 250ml (expires Jan 25)
THIS WEEK:
- milk: 1L (expires Jan 28)
Suggestion: Use cream in Pasta Carbonara or Mushroom Risotto
User: "What can I make with what I have?"
Run:
cook pantry recipes
Output:
Recipes you can make now:
COMPLETE (have all ingredients):
- Pasta Aglio e Olio
- Fried Rice
- Scrambled Eggs
ALMOST (missing 1-2 items):
- Carbonara (need: pancetta)
- Stir Fry (need: vegetables)
- Pancakes (need: baking powder)
[section]
# Simple quantity
ingredient = "quantity%unit"
# With expiration
ingredient = { quantity = "amount%unit", expire = "YYYY-MM-DD" }
# With purchase date and low threshold
ingredient = { quantity = "1%kg", bought = "2026-01-15", low = "100%g" }
Sections: [pantry], [fridge], [freezer], or custom
# Items that are low or out
cook pantry depleted
# Expiring within N days
cook pantry expiring --days 7
cook pantry expiring --days 3
# Recipes you can make
cook pantry recipes
| Attribute | Purpose | Example |
|---|---|---|
quantity | Amount you have | "500%g" |
expire | Expiration date | "2026-02-15" |
bought | Purchase date | "2026-01-10" |
low | Low stock threshold | "100%g" |
After shopping:
After cooking:
Weekly:
cook pantry expiring --days 7cook pantry depleted before shopping