/cooklang:pantryfrom cooklang
Manages Cooklang pantry inventory: check stock, track expiring/depleted items, update after shopping or cooking, and find recipes you can make with what you have.
Ships in cooklang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Needs the Cook MCP server (tools like pantry_list and pantry_update). If these tools are missing, the Cook MCP server isn't connected: if you installed the cooklang plugin or extension, check that its cook server is running (e.g. /mcp) or reinstall it; otherwise add it from https://github.com/cook-md/cook-mcp. Do not guess what is in stock or edit the file by hand instead.
Use when the user asks about pantry or inventory tracking.
The pantry is config/pantry.conf (TOML) at the collection root. Cook apps and CookCLI read it from that path, and shopping_list subtracts it, so keeping it current makes every shopping list shorter and correct.
pantry_list — what's in stock, by section (section to show only one, e.g. "fridge").pantry_expiring — items expiring within days (default 7). Plan meals around these.pantry_depleted — items at or below their low threshold: the restock list.pantry_recipes — what can I cook: recipes fully covered by the pantry, plus partial matches (at least threshold % in stock, default 50) with their missing ingredients.pantry_update — add, update, remove items. Each item has section and name, plus optional quantity (Cooklang quantity, e.g. "500%g", "2"), expire and bought (YYYY-MM-DD), low (threshold, e.g. "100%g"). Applied in order add → update → remove; it stops at the first failure and reports what was applied.pantry.conf formatTOML, organised by storage location. Each item is either a simple quantity string or an object:
[freezer]
"frozen peas" = { bought = "2024-11-05", quantity = "500%g", low = "200%g" }
[fridge]
milk = { expire = "2024-11-15", quantity = "2%L" }
eggs = "12"
[pantry]
rice = "5%kg"
pasta = { quantity = "1%kg", low = "200%g" }
[spices]
cumin = { bought = "2024-06-01" }
pantry_list (or pantry_recipes for "what can I make") — do not guess.pantry_list first to see the existing section and item names, then pantry_update using those names — reason: milk in [fridge] and Milk in [dairy] would become two items.bought (and expire for perishables).pantry_depleted (restock) and pantry_expiring (use first) are the two useful checks; offer them.Name items the way the recipes name the ingredient (olive oil, not olive_oil or EVOO); matching ignores case but nothing else, so a differently spelled item is never subtracted from a shopping list or counted by pantry_recipes. Names with spaces are quoted TOML keys ("olive oil" = "500%ml"); pantry_update writes them that way.
shopping_list's job — never hand-edit totals.pantry_update writes only the collection's own config/pantry.conf and refuses when that file doesn't exist (a global pantry is never modified). To start a pantry, create it with write_config (path: "config/pantry.conf", sections and items in the format above), then use pantry_update for changes.pantry_update for changes to an existing pantry: it edits one item without rewriting the file. Use write_config on config/pantry.conf only to create it or to reorganise it wholesale (read it with pantry_list first; write_config replaces the whole file).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/cooklang-editingUse when writing a new Cooklang recipe or editing or fixing a .cook file - ingredients, cookware, timers, steps, sections, or resizing a recipe for good. For metadata/frontmatter changes use the metadata skill; to just show scaled amounts use scale-recipe. Not for meal plans (.menu) or importing from a URL/text./cooklang-validationUse when checking or validating Cooklang - one .cook recipe, a folder, or the whole collection - for syntax errors and broken references, or when asked to fix or clean up Cooklang (e.g. a stray ingredient list or unbraced multi-word names)./export-recipeUse when the user wants a Cooklang recipe (.cook) or meal plan (.menu) in another format - Markdown for a blog or notes, JSON or YAML for an app, plain text to paste or print, HTML, LaTeX - or a reusable export template. Not for importing into Cooklang (recipe-import).npx claudepluginhub cooklang/cooklang-skills --plugin cooklangOther plugins' skills for the same job