Skip to content
Agentmart
Submit a tool

grocery-shopping

Use when the user wants browser-driven grocery shopping with Ocado or Sainsbury's through the public `grocery-shopping` CLI.

Skill by rhayes777

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rhayes777-grocery-shopping

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user wants browser-driven grocery shopping with Ocado or Sainsbury's through the public `grocery-shopping` CLI.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/grocery-shopping

What's inside

Skill name
grocery-shopping
Description
Use when the user wants browser-driven grocery shopping with Ocado or Sainsbury's through the public `grocery-shopping` CLI.
License
MIT
Instructions
110 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Grocery Shopping

Use this skill for local grocery planning, retailer search, basket building, batch shopping-list execution, and guarded slot booking.

Start with the CLI:

```bash
grocery-shopping --help
```

## Defaults

- Prefer manual login in a headed browser.
- Keep credentials and storage state out of the repo.
- Prefer browser automation over guessed private APIs.
- Stop before checkout or slot booking unless the user explicitly confirms.
- Default retailer: Ocado unless the user specifies otherwise.
- For multi-item requests, search several items first and review choices before basket mutation.
- Use a hybrid confidence rule:
  - auto-add only high-confidence matches
  - review ambiguous matches with the user
  - report unresolved items and skip them
- Always finish multi-item workflows with `basket-show` and a summary of skipped, substituted, or unresolved items.
- For image-based shopping lists or recipes, first show the interpreted items before searching or adding.

## Batch workflow

When the user gives a shopping list, recipe ingredients, or a top-up request:

1. Normalize the requested items into a concrete list.
2. Search each item with `grocery-shopping <retailer> search <query> --limit 3` or `--limit 5`.
3. Build a compact review covering:
   - high-confidence matches that can be auto-added
   - ambiguous items that need a choice
   - unresolved items with no credible result
4. Only after the review, call `add-to-basket` for the selected items.
5. End with `basket-show` and a short exceptions summary.

Treat an item as ambiguous, not high-confidence, when the user specified a brand, size, quantity, dietary property, or product type that the top result does not clearly match.

## Core workflow

Initialize local state:

```bash
grocery-shopping init
```

Log in and save reusable browser state:

```bash
grocery-shopping ocado login
grocery-shopping sainsburys login
```

Check session state:

```bash
grocery-shopping ocado session-status
grocery-shopping sainsburys session-status
```

Search and add products:

```bash
grocery-shopping ocado search tofu
grocery-shopping ocado add-to-basket tofu --product "The Tofoo Co Naked Organic Extra Firm Tofu"
grocery-shopping sainsburys search tofu
grocery-shopping sainsburys add-to-basket tofu --product "Cauldron Organic Tofu"
```

Batch review pattern:

```bash
grocery-shopping ocado search milk --limit 5
grocery-shopping ocado search bananas --limit 5
grocery-shopping ocado search pasta --limit 5
grocery-shopping ocado add-to-basket milk --product "Ocado British Semi Skimmed Milk 4 Pints"
grocery-shopping ocado add-to-basket bananas --product "Ocado Rainforest Alliance Bananas"
grocery-shopping ocado basket-show
```

Inspect basket and slots:

```bash
grocery-shopping ocado basket-show
grocery-shopping sainsburys basket-show
grocery-shopping ocado slots
grocery-shopping sainsburys slots
```

Only book a slot after the user confirms:

```bash
grocery-shopping ocado slot-book <slot_id> --confirm
grocery-shopping sainsburys slot-book <slot_id> --confirm
```

## Notes

- `orders` and `favourites` may be retailer-specific and best-effort. Verify current live behavior before promising them.
- Serialize repeated Ocado browser actions against one session. Parallel search/add commands can race the page state and make snapshots unreliable.
- If a command that used to work starts failing, switch to the self-healing skill instead of guessing selectors.
- Prefer the workflow skills for richer jobs:
  - `skills/add-shopping-list/SKILL.md`
  - `skills/add-regulars/SKILL.md`
  - `skills/add-recipe/SKILL.md`
  - `skills/look-up-and-add-recipe/SKILL.md`

From rhayes777/grocery-automation, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 9, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rhayes777

Cite this page

grocery-shopping skill. Agent Mart. https://agentmart.dev/skills/rhayes777-grocery-shopping (last updated 2026-10-24)