← Back to library

Meal plan from macros, then test the cart small

u/SenseiCain used the Claude iPhone app to set macros from weight, height, activity and goal, then plan a week of meals with portions and a spreadsheet shopping list. On a Mac, Claude checked HEB order history and added three items fine, but the full list was very slow and crashed after thirty-four items.

  • OutcomeWork out macros and a week of meals by chat, export a shopping list, and test a browser agent on a few items before handing it the full cart.
  • SetupUnder an hour
  • LevelStarter
  • Creditu/SenseiCain on r/ClaudeAI
View original
Works with
Claude

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

When should you use it?

  • You track macros
  • You order groceries online
  • You want a plan before the shop

Not for: Medical diets without professional guidance; Large carts you need filled fast

What do you need, and what do you get?

You need

  • Body stats and goal
  • Meal preferences
  • Store account you log into yourself

You get

  • Macro targets
  • Seven days of meals with portion sizes
  • Shopping list spreadsheet
  • Partial or full cart

How does it work, step by step?

  1. Set targetsGive stats, activity and goal, and ask for macro targets with reasoning.
  2. Plan mealsDescribe the structure you like and get meals with portions.
  3. Export the listHave it write a shopping list grouped by aisle.
  4. Log in yourselfSign in to the store; do not hand over credentials.
  5. Test small firstHave the agent add three items, then decide whether to let it do the rest or shop yourself.

The prompt

Our own prompt, inspired by u/SenseiCain on r/ClaudeAI and written to work in Claude. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt7 variables
I am {height}, {weight}, activity {activity}, goal {goal}. Suggest daily macro targets and explain them briefly.
Plan {days} days of meals: {structure_preferences}. Avoid {restrictions}. Give portions and macros per meal.
Then give a shopping list grouped by aisle with quantities for the whole plan.

Inspired by u/SenseiCain on r/ClaudeAI: Automated grocery order. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Large carts by browser agent can be very slow and time out, as the poster found.
  • Macro estimates are approximate; adjust with real results.

Our take

We like this post because it reports the failure honestly. Planning worked well and quickly; the cart part was slow and fragile. Testing an agent on a tiny version of the task before giving it the whole job is a good habit for any browser automation, and stopping at the list is sensible until tools catch up. Abort if the site throws captchas rather than forcing through. Give your stats, activity level and goal, and ask for macro targets with the reasoning shown. Have it write the shopping list grouped by aisle. Sign in to the store yourself rather than handing over credentials. Large carts by browser agent can be very slow and time out, as the poster found. Macro estimates are approximate, so adjust from real results. Medical diets need professional guidance. Testing with three items first tells you within minutes whether the store and agent cooperate, and stopping at the list is a fine outcome when they do not.

Where the time goes back: The planning and list are fast; you decide whether the cart step is worth handing off.

FAQ

Should I give it my store password?
No. The poster's assistant asked the poster to log in personally, which is the right pattern.
Is the full cart worth automating?
For now the poster stops at the list; test on your own store before relying on it.

Source and credit

Inspired by u/SenseiCain on r/ClaudeAI. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Automated grocery order
Creator
u/SenseiCain on r/ClaudeAI
Published on
Reddit
Original date
Feb 21, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
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 24, 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 & HealthRoutine✓ AI dry run

An agent that watches for clinical trials for your diagnosis

Get a short morning alert only when a trial, approval or study that matches your diagnosis is new, with the source attached, so you can take it to your doctor.

Credit: Kevin Wimer (@kevinace)

Under an hour
Food & HealthWorkflow✓ AI dry run

Build a private, offline health tracker by chat

Describe the readings you need to track and build a phone web app with an AI that stores everything on the device, with no account.

Credit: u/TheVPAline on r/ClaudeAI

An afternoon+
Food & HealthWorkflow✓ AI dry run

Build one care file for a relative seen by many doctors

Gather a loved one's records from every specialist into one place an assistant can review, so medication and record inconsistencies become questions for the care team.

Credit: light_hue_1 on Hacker News

An afternoon+
Food & HealthWorkflow✓ AI dry run

Keep a recipe library with nutrition and a symptom log

Store your recipes in a folder an agent can read, pull nutrition data automatically, plan the week from it, and log symptoms to spot food patterns with your doctor.

Credit: u/blythmar on r/ClaudeAI

An afternoon+
Food & HealthWorkflow✓ AI dry run

Plan weekly meals around leftovers in a home pantry app

Pick three dinners yourself, let the assistant choose two more that use up leftover ingredients, and get a shopping list in your pantry tracker.

Credit: Adam Davidson

An afternoon+