/cooklang:organize-collectionfrom cooklang
Organizes Cooklang recipe collections: folder structure, metadata audit (missing servings/tags), config setup, and health validation via Cook MCP server.
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.
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.
list_recipes (kind: "all"): how many recipes and plans, which folders, loose files at the root, where plans live. list_recipes with kind: "template" shows report templates.validate with no arguments: parse errors and warnings per file, recipe references that don't resolve, and ingredients that have no aisle in config/aisle.conf.Summarise in a few lines: counts per folder, files with errors, broken references, whether config/aisle.conf and config/pantry.conf exist.
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:
@./ references in other files: run validate with no arguments, then fix each referencing file with read_recipe → corrected full content → write_recipe.validate with 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.
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:
title or servings (servings drive scaling, plans and nutrition per serving);tags (Italian / italian / italian-food; search_recipes with tag matches whole tags, so drift hides recipes);serves vs servings, time vs duration);>> 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).
config/aisle.conf groups shopping lists by store aisle. Start from the ingredients validate (no arguments) reports as having no aisle, group them into [section] blocks in store order, and save the full file with write_config (path: "config/aisle.conf"). Format and synonyms: shopping-list skill.config/pantry.conf lets shopping lists subtract what's in stock and powers pantry_recipes. Create it with write_config (path: "config/pantry.conf") from the user's staples, then use pantry_update for changes. Format: pantry skill.validate with no arguments afterwards to confirm the aisle coverage.write_recipe replaces a real file: send full content and keep recipe bodies unchanged when only metadata changes.validate (no arguments) and tell the user what changed and what is still open.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cooklang/cooklang-skills --plugin cooklang14 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)./meal-planningUse when building or editing a Cooklang meal plan (.menu file), weekly plans, multi-day menus, or matching servings across days. Not for a single recipe. With a numeric nutrition target ("35% protein", "1800 kcal/day"), screen candidates with nutrition-reports first, then build the plan here; nutrition-goals is only for changing an already-chosen recipe to hit a number./metadataUse when adding, normalizing, or fixing YAML frontmatter in Cooklang .cook recipes or .menu plans (title, tags, source, servings/yield, times, diet, locale, images), including converting old >> metadata lines and bulk metadata changes across a library./nutrition-goalsUse when the user wants to change AN EXISTING Cooklang recipe (.cook) or meal plan (.menu) so it hits numeric nutrition targets ("make this 600 kcal per serving", "get my week to 150 g protein a day", "more protein, same calories"). Measures with the Cook nutrition service, edits, and verifies. Not for evaluation-only questions (nutrition-reports), and not for picking or screening recipes that already meet a number (nutrition-reports screening, then meal-planning).Other plugins' skills for the same job