← Back to library

Build a shared grocery cart from a family group chat

post_below on Hacker News built a home assistant in a Signal group limited to approved numbers. It suggests a first draft of the shopping list from earlier orders, the family edits it together, then a custom browser tool signs in to the grocer and fills the cart while a person pays.

  • OutcomeCollect the whole household's requests in one chat thread, then have an agent fill and check the online store cart while a person finishes checkout.
  • SetupAn afternoon+
  • LevelAdvanced
  • Creditpost_below on Hacker News
View original
Works with
OpenClawCustom agentClaude Code

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?

  • Several people in the house add to the shopping list
  • You reorder similar items each week
  • You want the cart built but not paid for

Not for: Stores that forbid automated access in their terms; Anyone wanting fully unattended spending

What do you need, and what do you get?

You need

  • Past order history
  • Whitelisted chat members
  • Store login

You get

  • Agreed list in the chat
  • A validated cart waiting for checkout

How does it work, step by step?

  1. Restrict who can talk to itAllow only household numbers in the chat the agent listens to.
  2. Start from past ordersHave the agent post a first draft drawn from what you usually buy.
  3. Collect editsMembers add, remove or change quantities in the thread until a cutoff time.
  4. Fill the store cartThe agent fills the store cart and reports anything out of stock or substituted.
  5. Finish checkout yourselfReview the cart and place the order in the store's own app.

The prompt

Our own prompt, inspired by post_below on Hacker News and written to work in OpenClaw, Custom agent and Claude Code. Values in lime are placeholders.

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

Prompt3 variables
Here is this week's grocery thread: {thread}
Suggested list based on recent orders: {draft_list}
Merge the requests into one list with quantities, flag conflicts between people, and ask about anything ambiguous. After I confirm, build the cart at {store}, list out-of-stock items and substitutions, and stop before checkout.

Inspired by post_below on Hacker News: Hacker News comment on a self-hosted Signal agent for grocery orders. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Without a cutoff, edits keep arriving after the cart is built.
  • Giving the agent payment ability is a separate decision; the author held off on it.

Our take

The part to copy is the split of responsibilities: the group decides, the agent assembles and checks, a person pays. That keeps useful automation, collecting everyone's requests and building a long cart accurately, while spending stays human. post_below's setup restricts the Signal group to approved household numbers, which is the first thing to copy; an open chat would let anyone add to your order. Starting from past orders gives the family a draft to edit rather than a blank list, and that is where most of the time saving comes from. Set a cutoff time for edits, or changes keep arriving after the cart is built. When the agent fills the store cart, have it report anything out of stock or substituted, then review the cart and pay in the store's own app. He held off on giving the agent payment ability, and that is a sensible line to keep. Check the store's terms on automated access before building this.

Where the time goes back: The list and the cart assemble themselves from the group chat, so nobody retypes items into the store.

FAQ

Why keep checkout manual?
It keeps spending authority with a person and is only a couple of clicks.
Does it need a custom browser tool?
He wrote one; any agent that can drive a browser can do the cart step.

Source and credit

Inspired by post_below on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Hacker News comment on a self-hosted Signal agent for grocery orders
Creator
post_below on Hacker News
Published on
Hacker News
Original date
Feb 22, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Custom agent
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 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 & HealthWorkflow✓ AI dry run

Estimate your pantry from receipts to plan meals

Pull grocery receipts and your recipe history into a stock estimate, then let an assistant suggest recipes and orders within your grocery budget.

Credit: Zacariah (@ZacariahHeim)

An afternoon+
Food & HealthWorkflow✓ AI dry run

Hand phone-only reservations to an MCP calling tool

Give an assistant a calling tool so it can phone places that only take bookings by phone, and answer follow-up questions mid-call using details you provide.

Credit: Jake Marsh (@jakemarsh)

Under an hour
Food & HealthWorkflow✓ AI dry run

Meal plan to a grocery order you approve

Plan two weeks of dinners from household feedback, turn them into a shopping list with pantry top-ups, and let a browser agent fill the cart while you confirm payment.

Credit: u/WeezerHunter on r/ClaudeAI

An afternoon+
Food & HealthWorkflow✓ AI dry run

A local-model grocery skill built from your recent orders

Give a local model a grocery skill with a rough fridge inventory, your last ten typical orders and live stock data, then let it fill the cart.

Credit: eurekin on Hacker News

An afternoon+