pantry
Skill1 starsChanged 38 days agoMITView on GitHub
Use when the user asks about pantry or inventory tracking for their Cooklang collection (config/pantry.conf) - what they have in stock, what is expiring or running low, updating stock after shopping or cooking, or what they can cook with what they have.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cooklang/cooklang-skillsword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- cooklang/cooklang-skills★ 9100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository13 other files it gives its agents.
- cooklang-editingSkill
- cooklang-validationSkill
- export-recipeSkill
- meal-planningSkill
- metadataSkill
- nutrition-goalsSkill
- nutrition-reportsSkill
- organize-collectionSkill
- recipe-importSkill
- recipe-searchSkill
- report-authoringSkill
- scale-recipeSkill
- shopping-listSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Distinctive: line 10
Use when the user asks about pantry or inventory tracking.
- Very specific: line 46
After "I used / bought / finished X", update quantities or remove the item.
- Very specific: line 48
Before a shop, pantry_depleted (restock) and pantry_expiring (use first) are the two useful checks.
- Very specific: line 56
Prefer pantry_update for changes to an existing pantry: it edits one item without rewriting the file.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Skill: pantry
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.
Tools
pantry_list— what's in stock, by section (sectionto show only one, e.g."fridge").pantry_expiring— items expiring withindays(default 7). Plan meals around these.pantry_depleted— items at or below theirlowthreshold: the restock list.pantry_recipes— what can I cook: recipes fully covered by the pantry, plus partial matches (at leastthreshold% in stock, default 50) with their missing ingredients.pantry_update—add,update,removeitems. Each item hassectionandname, plus optionalquantity(Cooklang quantity, e.g."500%g","2"),expireandbought(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.
The pantry.conf format
TOML, 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" }Workflow
- To answer "what do I have / do I have X", call
pantry_list(orpantry_recipesfor "what can I make") — do not guess. - To change stock, call
pantry_listfirst to see the existing section and item names, thenpantry_updateusing those names — reason:milkin[fridge]andMilkin[dairy]would become two items. - After "I used / bought / finished X", update quantities or remove the item; after a shop, add the new items with
bought(andexpirefor perishables). - Tell the user what changed in the pantry.
- Before a shop,
pantry_depleted(restock) andpantry_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.
Boundaries
- Subtracting pantry stock from a shopping list is
shopping_list's job — never hand-edit totals. pantry_updatewrites only the collection's ownconfig/pantry.confand refuses when that file doesn't exist (a global pantry is never modified). To start a pantry, create it withwrite_config(path: "config/pantry.conf", sections and items in the format above), then usepantry_updatefor changes.- Prefer
pantry_updatefor changes to an existing pantry: it edits one item without rewriting the file. Usewrite_configonconfig/pantry.confonly to create it or to reorganise it wholesale (read it withpantry_listfirst;write_configreplaces the whole file).
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
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.

