grocery-api

Search Sainsbury's groceries and manage baskets via the local groc HTTP API.

79|18|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/abracadabra50/uk-grocery-cli --skill grocery-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grocery-api
Source: https://github.com/abracadabra50/uk-grocery-cli/tree/main/skills/api
Command: npx skills add https://github.com/abracadabra50/uk-grocery-cli --skill grocery-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Grocery API Skill enables programmatic access to grocery search, favourites, and basket management via a local HTTP API, removing manual steps and enabling automation workflows.

Core Features & Use Cases

  • Search products across the local groc API to compare availability and prices.
  • Manage basket items by adding, updating, removing, and viewing current basket contents.
  • Look up favourites to quickly re-order preferred items and streamline shopping.

Quick Start

Use the local groc API to search for a product and add it to your basket.

Frequently Asked Questions about grocery-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Sainsbury's grocery shopping and basket management via an HTTP API?

You can automate Sainsbury's grocery shopping by connecting to a local HTTP API on port 7876 to search products, manage basket items, and list favourites. It removes manual steps by providing a CLI wrapper to invoke search, basket, and update endpoints.

What do I need to run locally to search Sainsbury's groceries programmatically?

To search Sainsbury's groceries programmatically, you need the local groc HTTP API server running on port 7876. The Skill uses a provided wrapper.js file to invoke the available endpoints for searching and basket operations.

Can I add, update, and remove items from my grocery basket using a CLI?

Yes, you can add, update, and remove items from your grocery basket using the CLI wrapper. The wrapper connects to the local HTTP API to execute basket modifications and allows you to view current basket contents.

How do I retrieve and reorder my favourite Sainsbury's items through an API?

To retrieve and reorder favourite Sainsbury's items, the API provides a fav-search and favourites endpoint. Querying these endpoints via the CLI wrapper lists your preferred items, streamlining the reordering process.

Why is my grocery API wrapper failing to connect to the local server?

Your grocery API wrapper fails to connect if the local groc HTTP API server is not running. The wrapper requires the API server to be actively listening on port 7876 to successfully invoke search and basket endpoints.

Does this grocery API Skill support stores other than Sainsbury's?

The grocery API Skill currently covers searching and managing basket items across supported stores, but the metadata specifically highlights Sainsbury's. It uses a local HTTP API to handle product availability and basket updates.