organize-collection
Skill1 starsChanged 39 days agoMITView on GitHub
Use when the user wants whole-library work on a Cooklang recipe collection - organizing or tidying the folder structure, a metadata consistency audit across all .cook files (missing servings, inconsistent tags), first-time setup of config/aisle.conf and config/pantry.conf, or a health check of everything. For a single aisle or pantry tweak use shopping-list or pantry.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cooklang/cooklang-skillsword for word, first seen Oct 6, 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
- pantrySkill
- recipe-importSkill
- recipe-searchSkill
- report-authoringSkill
- scale-recipeSkill
- shopping-listSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use when the user wants their recipe collection structured, audited or set up: folders, consistent metadata, shopping-list and pantry …
- Very specific: line 38
Run validate with no arguments again until no reference is broken.
- Very specific: line 40
Never "move" by writing a copy with write_recipe and leaving the user with duplicates without saying so.
- Very specific: line 44
Read the recipes in batches with read_recipe (for a large library, audit one folder at a time, or ask which part matters).
- Very specific: line 62
Every write_recipe replaces a real file: send full content and keep recipe bodies unchanged when only metadata changes.
≈ “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: organize-collection
Use when the user wants their recipe collection structured, audited or set up: folders, consistent metadata, shopping-list and pantry config, or a whole-library check.
Needs the Cook MCP server (tools like list_recipes and validate). 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 audit from guesses about the files.
1. Survey
list_recipes(kind: "all"): how many recipes and plans, which folders, loose files at the root, where plans live.list_recipeswithkind: "template"shows report templates.validatewith no arguments: parse errors and warnings per file, recipe references that don't resolve, and ingredients that have no aisle inconfig/aisle.conf.
Summarise in a few lines: counts per folder, files with errors, broken references, whether config/aisle.conf and config/pantry.conf exist.
2. Folder structure
Suggest a layout only if the current one isn't working; match the existing folder names (e.g. Plans/ vs plans/, Mains/ vs Dinner/) rather than introducing new ones. Common shapes for a new collection:
Breakfast/ Mains/ Sides/ Desserts/ Baking/ Drinks/
Sauces/ (sub-recipes other recipes reference with @./Sauces/...)
plans/ (.menu meal plans)
config/ (aisle.conf, pantry.conf)
reports/ (.jinja report templates)By course is the most common; by cuisine or by diet also work. Folder names double as a course signal for search and meal planning. Recipe images sit beside the recipe with the same name (Pancakes.jpg).
cook-mcp has no move, rename or delete tool. To reorganise:
- Agree the new layout and list every move.
- The user moves the files (or you do, with your client's file tools if it has them).
- Moved sub-recipes break
@./references in other files: runvalidatewith no arguments, then fix each referencing file withread_recipe→ corrected full content →write_recipe. - Run
validatewith no arguments again until no reference is broken.
Never "move" by writing a copy with write_recipe and leaving the user with duplicates without saying so.
3. Metadata audit
Read the recipes in batches with read_recipe (for a large library, audit one folder at a time, or ask which part matters). Report a short table of:
- missing
titleorservings(servings drive scaling, plans and nutrition per serving); - missing or inconsistent
tags(Italian/italian/italian-food;search_recipeswithtagmatches whole tags, so drift hides recipes); - mixed key spellings (
servesvsservings,timevsduration); - any remaining
>>metadata lines (deprecated; convert to YAML frontmatter).
Propose one convention (e.g. lowercase, hyphenated tags: gluten-free, one-pot) and let the user pick. Apply fixes by following the metadata skill: it owns the field list and the bulk-edit workflow (body unchanged, full-file write_recipe, confirm first when touching more than about 10 files).
4. Config
config/aisle.confgroups shopping lists by store aisle. Start from the ingredientsvalidate(no arguments) reports as having no aisle, group them into[section]blocks in store order, and save the full file withwrite_config(path: "config/aisle.conf"). Format and synonyms: shopping-list skill.config/pantry.conflets shopping lists subtract what's in stock and powerspantry_recipes. Create it withwrite_config(path: "config/pantry.conf") from the user's staples, then usepantry_updatefor changes. Format: pantry skill.- Re-run
validatewith no arguments afterwards to confirm the aisle coverage.
Rules
- Survey and report before changing anything; let the user choose what to fix.
- Every
write_recipereplaces a real file: send full content and keep recipe bodies unchanged when only metadata changes. - Finish with
validate(no arguments) and tell the user what changed and what is still open.
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.

