agentleFS
cooklangcooklang/cooklang-skills/skills/shopping-list/SKILL.md

shopping-list

Skill8 starsChanged 10 months agoMITView on GitHub

Generate shopping lists from one or more Cooklang recipes with scaling support

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. brainsforai/brains-skills★ 1same name
    2. jramsahai/obsidian-mcp-brain★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 16
  2. Distinctive:

    Ask: "Which recipes should I include?"

    line 25
  3. Very specific:

    All recipes: *.cook or /*.cook

    line 29
  4. Distinctive:

    Ask: "Any recipes need scaling?"

    line 33
  5. Distinctive:

    Default servings: Use as-is

    line 34
  6. Very specific:

    Use :2 suffix to double, :0.5 to halve

    line 197
  7. Very specific:

    Keep pantry.conf updated to avoid buying duplicates

    line 200

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Shopping List

Overview

Generate consolidated shopping lists from recipes using CookCLI. Features:

  • Combine multiple recipes into one list
  • Scale individual recipes up or down
  • Group items by store aisle (if configured)
  • Exclude pantry items you already have

Use this skill when:

  • Planning a shopping trip
  • Preparing for a dinner party
  • Meal prepping for the week

Process

Step 1: Identify Recipes

Ask: "Which recipes should I include?"

  • Single recipe: "Pasta.cook"
  • Multiple recipes: "Pasta.cook" "Salad.cook"
  • Pattern: dinner/*.cook
  • All recipes: *.cook or **/*.cook

Step 2: Determine Scaling

Ask: "Any recipes need scaling?"

  • Default servings: Use as-is
  • Scale up: "Pasta.cook:2" (double)
  • Scale down: "Pasta.cook:0.5" (half)

Step 3: Generate List

Basic command:

cook shopping-list "Recipe1.cook" "Recipe2.cook"

With scaling:

cook shopping-list "Pizza.cook:2" "Salad.cook"

All recipes in folder:

cook shopping-list dinner/*.cook

Output formats:

cook shopping-list recipes.cook -f json
cook shopping-list recipes.cook -f yaml

Step 4: Present Results

Show the list organized by:

  1. Aisle/category (if aisle.conf exists)
  2. Alphabetically (if no aisle config)

Indicate excluded pantry items if pantry.conf is configured.

Step 5: Export Options

Offer export formats:

  • Terminal - Display in console (default)
  • Markdown - Copy-friendly checklist format
  • JSON - For apps or further processing

Examples

User: "Make a shopping list for this week's dinners"

Run:

cook shopping-list dinner/*.cook

Output:

Shopping List
=============

Produce
-------
- tomatoes: 800g
- onion: 3
- garlic: 8 cloves
- basil: 1 bunch

Dairy
-----
- parmesan: 150g
- mozzarella: 200g
- eggs: 6

Meat
----
- chicken breast: 600g
- pancetta: 100g

Pantry
------
- olive oil: 4 tbsp
- spaghetti: 400g

User: "Shopping list for pizza night, doubled"

Run:

cook shopping-list "Pizza.cook:2"

Markdown export:

## Shopping List

### Produce
- [ ] tomatoes: 400g
- [ ] basil: 16 leaves

### Dairy
- [ ] mozzarella: 400g

### Pantry
- [ ] tipo zero flour: 1kg
- [ ] yeast: 2g

Reference

Command Syntax

# Basic
cook shopping-list "Recipe.cook"

# Multiple recipes
cook shopping-list "Recipe1.cook" "Recipe2.cook"

# With scaling (2x, 0.5x)
cook shopping-list "Recipe.cook:2"
cook shopping-list "Recipe.cook:0.5"

# Glob patterns
cook shopping-list *.cook
cook shopping-list dinner/*.cook

# Output format
cook shopping-list recipes.cook -f json
cook shopping-list recipes.cook -f yaml

# Ingredients only (no quantities)
cook shopping-list recipes.cook --ingredients-only

# Specify recipe directory
cook shopping-list -b ~/recipes "Dinner.cook"

Configuration Files

aisle.conf - Groups ingredients by store section:

[produce]
tomatoes
onion
garlic

[dairy]
milk
cheese
butter

[meat]
chicken
beef

pantry.conf - Items you have (excluded from list):

[pantry]
salt
pepper
olive oil
flour

Tips

  • Use :2 suffix to double, :0.5 to halve
  • Glob patterns work: dinner/*.cook for all dinner recipes
  • Configure aisle.conf to match your grocery store layout
  • Keep pantry.conf updated to avoid buying duplicates

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.