← Back to library

Plan weekly meals around leftovers in a home pantry app

Adam Davidson added Grocy to Home Assistant for recipes and stock. He had Claude Cowork drive the browser to type in the family's recipes, each scaled to serve four. He then picks three meals and Claude adds two that consume leftover perishables, sending the ingredients to Grocy's shopping list. Online basket filling is not built yet.

  • OutcomePick three dinners yourself, let the assistant choose two more that use up leftover ingredients, and get a shopping list in your pantry tracker.
  • SetupAn afternoon+
  • LevelIntermediate
  • CreditAdam Davidson
View original
Works with
Claude Cowork

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You cook from a repeat set of family recipes
  • You already run Home Assistant or a self-hosted app
  • Food waste from half-used ingredients bothers you

Not for: People who want fully automatic grocery ordering today; Households without a home server

What do you need, and what do you get?

You need

  • A Grocy install inside your Home Assistant setup
  • Your recipes from books, sites or notes
  • Household size for scaling

You get

  • Recipes and product categories entered in Grocy
  • A five-dinner weekly plan that reuses leftovers
  • The week's missing ingredients queued on Grocy's list

How does it work, step by step?

  1. Install the pantry trackerAdd Grocy to Home Assistant so recipes, stock and shopping lists live in one place.
  2. Have the agent do data entryGive it your recipes and let it enter them through the browser, scaled to your household; spot-check a few.
  3. Choose part of the week yourselfPick three meals you want, then ask for two more that use the most leftover perishables.
  4. Queue the ingredientsSend needed ingredients to the shopping list, buy them, and mark items in stock.
  5. Add ordering later with approvalIf you automate the online basket, review it before paying.

The prompt

Our own prompt, inspired by Adam Davidson and written to work in Claude Cowork. Values in lime are placeholders.

Prompt0 variables
I keep recipes and stock in Grocy at [address]. This week I chose: [meal 1], [meal 2], [meal 3]. Assume our pantry is [empty / current Grocy stock]. Choose two more dinners from my Grocy recipes that use as many leftover perishable ingredients from those three as possible, explain which leftovers each uses, then add all missing ingredients for the five meals to the Grocy shopping list. Do not order anything.

Inspired by Adam Davidson: Meal planning stresses me out, so I let Claude handle it instead. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Recipe entry through the browser is slow; let it run while you do something else and check for a couple of tweaks after.
  • Start the plan from an empty-cupboard assumption only if your stock counts are stale.

Our take

Adam Davidson added Grocy to Home Assistant for recipes and stock, then had Claude Cowork drive the browser to type in the family's recipes scaled to serve four. He picks three meals and Claude adds two that consume leftover perishables, sending ingredients to Grocy's shopping list; online basket filling is not built yet. The clever part is the split decision: you choose most of the week so meals stay food you want, and the assistant optimizes the last slots for waste. Using an agent for one-time data entry into a tool without an import feature is a pattern worth stealing for other apps. It is still a prototype by his own account, so keep the human checkpoint when the basket step arrives and confirm the list before you pay. Review leftover suggestions for allergens and preferences. Keep Grocy local and backed up. Scale recipes carefully when household size changes. Do not grant the agent payment credentials for grocery sites until the list step is boringly reliable.

Where the time goes back: Entering dozens of recipes and cross-matching leftovers are the chores that stop people from keeping a pantry system; the assistant takes both.

FAQ

Is the online basket automated?
Not yet; the author's next step is having Claude fill the grocery site's basket for him to check and pay.
Why Grocy?
It runs on your own hardware and keeps recipes and current pantry stock side by side.

Source and credit

Inspired by Adam Davidson. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Meal planning stresses me out, so I let Claude handle it instead
Creator
Adam Davidson
Published on
How-To Geek
Original date
May 25, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Cowork
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; nothing was sent, filed, purchased or published.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Food & Health

All 35 Food & Health playbooks →

Related playbooks

Food & HealthSkill✓ AI dry run

Log meals by message and track them against diet goals

Describe a meal in plain words from your phone and have an assistant log calories and macros in a spreadsheet and tell you what's left for the day.

Credit: u/tagnydaggart on r/ClaudeCowork

Minutes
Food & HealthRoutine✓ AI dry run

A grocery agent that builds two carts and asks Friday

Have an agent fill matching carts on two grocery services, compare items, sizes and delivery fees, and ask you each Friday which to order.

Credit: matt palmer (@mattyp)

Under an hour