Willys Grocery CLI

VerifiedCaution

Manages grocery shopping at Willys.se: search products, browse categories, and manage a shopping cart.

Sby Skills Guide Bot
ProductivityBeginner
9/13/2026
Claude Code
#grocery-shopping#cli#cart-management#e-commerce#swedish

Recommended for

Automated summary

This skill drives willys-cli, a command-line tool for searching products, browsing categories, and managing a shopping cart on the Swedish grocery site Willys.se.

Strengths

  • Product search with a configurable result count (automatic multi-page fetching) showing name, brand, volume, price, compare price and product code
  • Full cart control: add with quantity, remove, clear, with the updated cart printed after every change
  • Batch mode through a CSV file that chains multiple shopping operations in a single command
  • Explicit distinction between _ST (sold per item) and _KG (sold by weight) codes, reducing quantity mistakes

Limitations

  • Requires a Willys.se account with credentials supplied via WILLYS_USERNAME/WILLYS_PASSWORD, a .env file, or the -u/-p flags
  • Restricted to the single Willys chain in Sweden, with product and category labels in Swedish
  • Does not cover payment or order checkout: the skill stops at cart management
When to use it

Use it when the user wants to find groceries on Willys.se, browse the category tree, or add, remove and review items in their cart.

When not to use it

Avoid it for stores other than Willys, or when the user expects checkout and payment rather than plain cart handling.

Security analysis

Caution
Quality score88/100

The skill is narrowly scoped to a legitimate grocery CLI and does not contain obfuscated payloads, destructive filesystem commands, or secret exfiltration. However, it handles account credentials, performs network requests, and can clear a real shopping cart, so it warrants caution rather than a fully safe rating.

Findings
  • •Reads Willys.se credentials from environment variables, .env, or -u/-p flags; credentials could be exposed via process listing or shell history if flags are used.
  • •Includes a `clear` command that empties the entire shopping cart, and batch CSV mode can run multiple cart-modifying operations including `clear`.
  • •Performs network operations against Willys.se and modifies a real user account/cart, so mistakes have real-world effects.
How this analysis is made

Examples

Search and pick a product
Search Willys for oat milk, show me the options with prices, and add 2 of the cheapest one to my cart.
Add a few staples
Add a dozen eggs and a loaf of bread to my Willys cart, then show me the cart so I can check it.
Run a CSV shopping list
Run my shopping-list.csv through willys-cli and show me the final cart.

name: willys-cli description: Manages grocery shopping at Willys.se. Search for products, browse categories, and manage a shopping cart. Use when the user wants to find groceries, add/remove items from their Willys cart, or view their cart. argument-hint: "[search query or command]" allowed-tools: Bash(willys-cli *)

Willys Grocery CLI

A CLI tool for shopping at Willys.se (Swedish grocery store).

Credentials are read from WILLYS_USERNAME and WILLYS_PASSWORD environment variables, or from a .env file in the current directory. They can also be passed with -u and -p flags.

Commands

Search for products

# Search for products (default 10 results)
willys-cli search mjölk

# Search with a specific number of results (fetches multiple pages if needed)
willys-cli search "ekologisk mjölk" 20

Output includes product name, brand, volume, price, compare price, and product code.

Browse categories

# List all top-level categories (with 2 levels of subcategories)
willys-cli categories

# Browse products in a specific category
willys-cli browse frukt-och-gront/frukt/citrusfrukt

Category paths use the URL-style paths shown in the categories output (e.g. kott-chark-och-fagel/korv).

Cart operations

# Show current cart
willys-cli cart

# Add a product (product code from search results, optional quantity defaults to 1)
willys-cli add 101233933_ST 2

# Remove a product
willys-cli remove 101233933_ST

# Clear entire cart
willys-cli clear

Cart-modifying operations (add, remove, clear) print the updated cart after each change.

Batch operations from CSV file

willys-cli -i shopping-list.csv

CSV format (one operation per line, lines starting with # are ignored):

add,101233933_ST,2
add,101205823_ST,1
remove,101233933_ST
cart
clear

Product codes

Product codes look like 101233933_ST or 100126409_KG. They are shown in parentheses in search and browse output. Always use the exact code from the output.

Typical workflow

  1. Search for a product: willys-cli search mjölk
  2. Pick a product code from the results
  3. Add it to cart: willys-cli add 101233933_ST 2
  4. Review the cart: willys-cli cart
  5. Repeat steps 1-4 until the cart is complete

Tips

  • When the user asks to "add milk", first search for it, present the options, and let them pick before adding.
  • Use willys-cli categories to help the user browse when they don't know exactly what they want.
  • Product codes ending in _ST are sold per item, _KG are sold by weight.
  • Always show the updated cart after modifications so the user can verify.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/willys-grocery-cli-mtz9jqih' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/willys-grocery-cli-mtz9jqih/download' --output '.skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md.part' && mv '.skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md.part' '.skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(willys-cli *)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md' && test -s '.skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/willys-cli' && cp -R '.skill-downloads/willys-grocery-cli-mtz9jqih' '.claude/skills/willys-cli'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/willys-grocery-cli-mtz9jqih'

openskills read 'willys-grocery-cli-mtz9jqih'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/willys-grocery-cli-mtz9jqih/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills