abracadabra50/uk-grocery-cli/api
Claude Code and agent skill by abracadabra50/uk-grocery-cli
- community
Checking that the SKILL.md file is still in the repository.
Use the local groc HTTP API to search Sainsbury's groceries, search favourites, add/update/remove basket items, and view basket.
Install
npx vskill@latest install abracadabra50/uk-grocery-cli/apiSKILL.md
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:
Commands
Run from the repo root:
All commands return JSON from the local API.
Add-to-basket workflow
When the user asks to add an item to the basket:
- First search favourites:
``bash node skills/api/wrapper.js fav-search "USER ITEM" ``
- If there is a clear favourite result that matches the user's intent, add it directly:
``bash node skills/api/wrapper.js add <product-id> [qty] ``
- If there are multiple plausible favourite results, ask the user which one to add. Include names, prices, and product IDs.
- If there are no good favourite matches, or if the user explicitly asks to look outside favourites, use regular search:
``bash node skills/api/wrapper.js search "USER ITEM" ``
- For regular search results, always confirm with the user before adding anything to the basket.
- After adding, show or summarize the basket:
``bash node skills/api/wrapper.js basket ``
Remove/update workflow
When the user asks to remove or update an item:
- First inspect the basket to get basket item IDs:
``bash node skills/api/wrapper.js basket ``
- Use the basket
item_id, not the product ID:
``bash node skills/api/wrapper.js remove <item-id> node skills/api/wrapper.js update <item-id> <qty> ``
- If the item to change is ambiguous, ask the user which basket item they mean.
- After removing or updating, show or summarize the basket.
Notes
- Prefer favourites over regular search for add requests.
- Do not add ambiguous items without asking.
- Do not use regular search additions without confirmation.
- Use the
product_uidas the product ID foradd. - Use the basket
item_idforremoveandupdate.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/api/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 12
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/abracadabra50/uk-grocery-cli/api)