/cooklang:cooklang-editingfrom cooklang
Edits and fixes .cook Cooklang recipe files — ingredients, cookware, timers, steps, sections, and rescaling. Requires the Cook MCP server; not for .menu meal plans or metadata/frontmatter changes.
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 read_recipe 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 write or save Cooklang without them.
Use when creating, editing, scaling, or fixing .cook recipe files.
This skill is for .cook recipes only. If the task is actually about a .menu meal plan, follow the meal-planning skill (cooklang://skills/meal-planning) instead. For metadata/frontmatter changes (title, tags, source, servings, etc.), follow the metadata skill (cooklang://skills/metadata).
read_recipe first (use the path exactly as list_recipes / search_recipes returned it); understand its style and structure.list_recipes and pick an idiomatic folder and name that match the existing ones.@salt{=1%tsp}), or recipe references (@./path), consult the cooklang://syntax resource. validate warns "Unnecessary scaling lock modifier" on fixed quantities ({=…}): a known parser quirk; keep the = and ignore that warning.validate with the new text as content (and as_path set to where it will be saved). Fix every error before saving.write_recipe, always sending the full file content (there is no partial edit). It validates again and refuses to save content with errors.From a description, a family recipe from memory, or a dish the user names:
title and servings; add time (or prep time / cook time) and tags when known. Leave source out unless there is one.@onion{1}(finely diced) (preparation in parentheses), #large pot{}, ~{15%minutes}. = Sauce starts a section in a multi-part recipe; a line starting with > is a note; -- starts a comment.>> lines — for metadata-focused work, follow the metadata skill.Baked Potato.jpg), or as step images (Baked Potato.3.jpg); see the syntax reference under Images.force: true to write_recipe to get past validation errors; fix them. Use it only when the user explicitly wants a file saved as-is.| Excuse | Rebuttal |
|---|---|
| "The edit is tiny, I'll skip validation." | write_recipe overwrites the user's file for real. Run validate on the new content first; a broken recipe breaks every app that reads it. |
| "I'll send just the changed lines." | write_recipe replaces the whole file. Send the complete recipe, or you delete the rest of it. |
| "I described the change, that's enough." | If the user asked for the change, save it with write_recipe and say what you saved. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cooklang/cooklang-skills --plugin cooklang14 skills in this plugin
/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)./nutrition-reportsUse when the user wants a nutrition or dietitian-style evaluation of a Cooklang recipe (.cook) or meal plan (.menu) - calories, macros, micronutrients, passed/failed checks against targets, exclusions/allergens, a plan's per-day nutrition - or wants to SCREEN recipes that already meet a number ("which of my recipes are over 35% protein?"). Not for changing a recipe or plan to hit targets - that is nutrition-goals.Other plugins' skills for the same job