Overview
Write a Claude Code skill that reads your past grocery orders and current offers on your supermarket's website in Chrome, fills the cart with your usual items, and stops before checkout.
Problem or Objective
- Which agents build grocery baskets and delivery orders from your list, then stop for you to pay?
- Which agents can operate a web browser for you?
More in Shopping and Errands
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · Claude in Chrome · Google Chrome
- Prerequisites
- A direct Anthropic plan with Claude Code signed in through /login, the Claude in Chrome extension, and an account with an online supermarket that shows your order history.
How It Works
Sign in to your supermarket's website in Chrome yourself and install the Claude in Chrome extension. In your project, create a skill (a SKILL.md file) that describes the routine: open your order history, list the items you buy regularly and how often, check the current offers page for those items or close substitutes, and add the chosen quantities to the cart. Run the skill from Claude Code with Chrome connected and approve the supermarket site when Claude Code asks. Have Claude stop on the cart page and give you a list of what it added, what it substituted and why, and anything out of stock. Check each item, size and price in the cart yourself, then decide on delivery and pay at checkout yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, Claude in Chrome, Google Chrome.
- Check the prerequisitesA direct Anthropic plan with Claude Code signed in through /login, the Claude in Chrome extension, and an account with an online supermarket that shows your order history.
- Gather your detailsCollect what the prompt asks for: Your supermarket's website, How far back to look, When a cheaper or different item is allowed, Spending limit for the cart.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Fill my grocery cart from past orders
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
I am signed in to [Your supermarket's website] in Chrome. Open my order history for the last [How far back to look] and list the items I buy regularly. Check the current offers for those items and allow these substitutions: [When a cheaper or different item is allowed]. Add the usual quantities to the cart, keeping the total under [Spending limit for the cart]. Stop on the cart page and give me a list of everything added, substituted or missing. Do not choose a delivery slot, enter payment details or check out: I will review the cart and pay myself.Approve the supermarket site when Claude Code asks, check every item and price in the cart, and do the checkout and payment yourself.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's pages say Claude Code can use your Chrome browser with your existing logins to automate repetitive tasks and extract data from pages, and that skills package a repeatable procedure. Nothing on them covers a particular supermarket, so whether the site's order history and offers can be read reliably is untested here.
Limitations and Considerations
Chrome integration needs the Claude in Chrome extension and a direct Anthropic plan (Pro, Max, Ultra, Team or Enterprise), and it is not available through third-party providers. When Claude meets a login page or CAPTCHA it pauses and asks you to handle it. Prices, pack sizes, stock and offers change, so check the whole cart before checkout and never let Claude enter payment details or place the order. Check the supermarket's terms on automated use of its website. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Use Claude Code with Chrome - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 27 Nov 2026, 05:34 UTC
What this source supports
- Claude opens new tabs for browser tasks and shares your browser's login state, so it can access any site you're already signed into; when it encounters a login page or CAPTCHA, it pauses and asks you to handle it manually.
- Uses include data extraction (pull structured information from web pages and save it locally) and task automation (repetitive browser tasks like data entry, form filling, or multi-site workflows).
- Chrome integration requires the Claude in Chrome extension and a direct Anthropic plan (Pro, Max, Ultra, Team, or Enterprise), and is not available through third-party providers.
- Extend Claude with skills - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 27 Nov 2026, 05:34 UTC
What this source supports
- Create a SKILL.md file with instructions, and Claude adds it to its toolkit; you can invoke one directly with /skill-name.

