Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Populate a Supermarket Cart From Purchase History

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

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.

  1. Choose the agentSet up Claude Code.
  2. Connect the toolsConnect the tools this workflow relies on: Claude Code, Claude in Chrome, Google Chrome.
  3. 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.
  4. 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.
  5. Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
  6. 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].

Preview
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

About anthropics/claude-code

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. 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.
  2. 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.
Report a problem

More with Claude Code

Planned, not done

Create Custom Store Tools Instead of Paying for Subscriptions

Use Claude Code to write small in-house tools for an online shop, such as a reply helper for support mail or a margin report, as an alternative to paying for separate apps, with testing before you rely on them.

code.claude.comanthropics/claude-code
Reported by source

Answer technical questions by letting async agents run experiments

Simon Willison sends research questions to cloud coding agents such as Claude Code for web and Codex Cloud, which write and run experiments in a dedicated repo and open a PR.

simonwillison.net · 6 Nov 2025anthropics/claude-code, openai/codex
Planned, not done

Create Browser-Based Reading Activities for a Classroom

Give Claude Code a reading passage, a target level and a word list, and have it build one self-contained HTML page with comprehension questions and vocabulary flip cards that you check before class.

code.claude.comanthropics/claude-code

View all: Claude Code