Auto-fill a grocery cart from past buys and deals

A developer made a Claude Code skill that rebuilds a grocery cart from old purchases, looks for discounts, and stops before checkout.

Done with Claude Code· Intermediate

What they did
They built silpo-agent-cli, a terminal tool and Claude Code skill that connects to Silpo’s MCP server. After a plain-language request, Claude looks through purchase history, compares prices, checks what is in stock, and adds items to the live cart. The flow is designed to end with a ready cart while the person handles the delivery details, payment, and checkout.
How it went
No measured test results were reported. The writeup says weekly grocery trips are mostly repeat items and that adding those by hand can take 15–20 minutes.
Tips
Keep a close eye on the cart before you finish, since the agent does not place the order. It can be installed with pip or run with uvx.

Try it yourself with Claude Code

Build a Claude Code skill that connects to [store]'s MCP server. Use my past orders or saved list to rebuild my usual groceries, check current discounts, and add items to the real cart while staying under [budget]. If a cheaper sale item looks like a good substitute, suggest it and wait for my approval before swapping. Stop once the cart is ready, then show me the cart contents and total; do not place the order, enter an address, or pay.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Read the original on dev.to ↗

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.