grocery-api

grocery-api is a skill for Claude Code from abracadabra50/open-supermarkets. It costs 32 tokens per session (606 once invoked), scanned A, original, MIT.

A local grocery tool for searching Sainsbury’s products and favourites, and managing items in a shopping basket.

In plain words
What is it for?
Finding products or favourites, adding items, changing quantities, removing items, and viewing the basket.
Why use it?
It avoids switching between grocery searches and basket actions manually. The local API must already be running.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Finding products or favourites, adding items, changing quantities, removing items, and viewing the basket.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abracadabra50/open-supermarkets/api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add abracadabra50/open-supermarkets --skill api
Clone the repo
git clone --depth 1 https://github.com/abracadabra50/open-supermarkets

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for grocery-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/abracadabra50/open-supermarkets/api.svg)](https://agentmods.dev/skills/abracadabra50/open-supermarkets/api)
Your own site
<a href="https://agentmods.dev/skills/abracadabra50/open-supermarkets/api"><img src="https://agentmods.dev/badge/skills/abracadabra50/open-supermarkets/api.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 606 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 89
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 90
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00606
Opus 5 $0.00016 $0.00303
Sonnet 5 $0.00006 $0.00121
Haiku 4.5 $0.00003 $0.00061

Measured 8d ago against content hash 4bf97079d11f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

grocery-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (wrapper.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/api/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Grocery API Skill

Use this skill when the user asks about Sainsbury's groceries, favourites, searching products, adding/updating/removing basket items, or viewing the basket.

The local API must already be running on port 7876:

GROC_API_PORT=7876 npm run api

Commands

Run from the repo root:

node skills/api/wrapper.js fav-search "milk"
node skills/api/wrapper.js search "milk"
node skills/api/wrapper.js favourites
node skills/api/wrapper.js basket
node skills/api/wrapper.js add <product-id> [qty]
node skills/api/wrapper.js remove <item-id>
node skills/api/wrapper.js update <item-id> <qty>

All commands return JSON from the local API.

Add-to-basket workflow

When the user asks to add an item to the basket:

  1. First search favourites:

    node skills/api/wrapper.js fav-search "USER ITEM"
    
  2. If there is a clear favourite result that matches the user's intent, add it directly:

    node skills/api/wrapper.js add <product-id> [qty]
    
  3. If there are multiple plausible favourite results, ask the user which one to add. Include names, prices, and product IDs.

  4. If there are no good favourite matches, or if the user explicitly asks to look outside favourites, use regular search:

    node skills/api/wrapper.js search "USER ITEM"
    
  5. For regular search results, always confirm with the user before adding anything to the basket.

  6. After adding, show or summarize the basket:

    node skills/api/wrapper.js basket
    

Remove/update workflow

When the user asks to remove or update an item:

  1. First inspect the basket to get basket item IDs:

    node skills/api/wrapper.js basket
    
  2. Use the basket item_id, not the product ID:

    node skills/api/wrapper.js remove <item-id>
    node skills/api/wrapper.js update <item-id> <qty>
    
  3. If the item to change is ambiguous, ask the user which basket item they mean.

  4. After removing or updating, show or summarize the basket.

Read the full file on GitHub · 93 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 93 lines · 32 tokens per session scan A 4bf97079d11f

Subscribe to this mod's changes

grocery-api is a skill published in the GitHub repository abracadabra50/open-supermarkets (100 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 606 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

d1-cli

Shop Tiendas D1 (Colombia, d1.com.co) from the command line — search the catalogue, resolve your nearest physical store, price a basket against that store's real stock, and quote delivery. D1 runs VTEX IO (account d1tiendas), so this drives its public storefront API with no admin key at all — catalogue and cart work…

broomva/skills · 234 tokens

buywhere-product-catalog

Use BuyWhere's MCP and API surfaces to add product search, price comparison, and deal discovery to AI shopping agents.

aboalrejal-ai/skills · 30 tokens

ebay-sold-listings-search

All process output to user (progress updates, process notifications) follows the user's language.

browser-act/skills · 221 tokens

1688-product-detail

Extracts comprehensive wholesale product data from 1688.com product detail pages: title, tiered pricing, SKU variants with dimensions/weight, product images, seller info, shop scores, buyer protection, cross-border flags, product attributes, coupon/promotion data, and review stats. Use when user mentions 1688…

browser-act/skills · 212 tokens

amazon-listing-competitor-analysis-skill

This skill helps users analyze Amazon competitor listings by ASIN and produce structured competitive intelligence plus strategic opportunity points for their own go-to-market. The Agent should proactively apply this skill when users want to analyze a competitor Amazon listing by ASIN, understand what a top-ranked…

browser-act/skills · 172 tokens

ebay-search-listing

Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price, priceWithCurrency, currency, wasPrice, bids, shipping, seller, sellerFeedbackCount, sellerPositiveRating, reviewsCount, starRating, image) plus pagination state (currentPage…

browser-act/skills · 221 tokens