Skip to content
Back to skills

Coop Cli

ASecurity

Use the coop-cli tool to search for grocery products, manage shopping carts, and find stores on Coop.se (Swedish grocery chain). Activate when the user wants to shop for groceries, search for food products, manage a Coop shopping cart, or find Coop stores.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add ErikHellman/food-shopping-agent --skill coop-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coop Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coop Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erikhellman-coop-cli/badge)](https://www.skillsdirectory.com/skills/erikhellman-coop-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: coop-cli
description: Use the coop-cli tool to search for grocery products, manage shopping carts, and find stores on Coop.se (Swedish grocery chain). Activate when the user wants to shop for groceries, search for food products, manage a Coop shopping cart, or find Coop stores.
---

# coop-cli — Coop.se Grocery Shopping CLI

You have access to `coop-cli`, a command-line tool for interacting with Coop.se online grocery shopping.

## Setup

### Authentication

All commands except `stores` require Coop.se credentials. Set them as environment variables:

```bash
export COOP_EMAIL="user@example.com"
export COOP_PASSWORD="password"
```

Or pass them as flags: `--email` / `--password`.

### Store ID

Most commands require a store ID. Set it as an environment variable:

```bash
export COOP_STORE="012345"
```

Or pass it as a flag: `--store`. Find store IDs with the `stores` command.

If credentials or store ID are missing, prompt the user to set them up before proceeding.

## Commands

### Find stores (no auth required)

```bash
coop-cli stores <query>
```

Search by city, name, or address. The `STORE ID` column is the value to use with `--store` or `COOP_STORE`.

### Search for products

```bash
coop-cli search <query> [--limit N]
```

Returns: ID, name, manufacturer, size, price, comparative price, and category. Default limit is 10 results.

### Cart management

```bash
coop-cli cart list                      # Show cart contents
coop-cli cart add <product-id> [qty]    # Add product (default qty: 1)
coop-cli cart remove <product-id>       # Remove product
coop-cli cart clear                     # Empty the cart
```

Product IDs come from `search` results.

### Self-update

```bash
coop-cli update
```

## Workflow

When the user asks to shop for groceries or manage their cart, follow this pattern:

1. If no store is configured, help them find one with `coop-cli stores <city or name>`
2. Search for products with `coop-cli search <query>`
3. Present results and let the user pick which products to add
4. Add selected products with `coop-cli cart add <product-id> [qty]`
5. Show the cart with `coop-cli cart list` to confirm

## Tips

- Product names and search queries are in Swedish (e.g., "mjolk" for milk, "brod" for bread)
- The comparative price (e.g., "kr/kg" or "kr/l") helps compare value across package sizes
- Cart operations return the full updated cart, so there's no need to call `cart list` after `cart add`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.