/cooklang:scale-recipefrom cooklang
Scales Cooklang recipe quantities for different serving sizes. Reads a .cook file and displays scaled amounts without modifying the original. Requires the 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 a recipe's quantities for a different number of servings or batches.
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 work out scaled amounts by hand instead.
search_recipes (or list_recipes) and use the path exactly as returned. Never scale a recipe the collection doesn't have.read_recipe takes scale as a factor (2 doubles, 0.5 halves), not a target number of servings.
scale) and take servings from its metadata; factor = 6 / servings (e.g. 6 / 4 = 1.5).servings and the user asked for a head count: look at the body, judge how many portions it makes, state that assumption, then pick the factor. Offer to add servings (metadata skill) so it scales exactly next time.read_recipe with path and scale. Every quantity in the parsed recipe (ingredients[].quantity, timers) is already scaled, and recipe.metadata.map.servings shows the new count. Use those numbers; do not multiply anything yourself. Steps come back as items that point at ingredients by index, not as text.source). If the user is cooking from it and wants the steps with amounts filled in, render them with render_report (same input_path and scale, a template that loops over sections; the export-recipe skill has one) rather than rebuilding sentences by hand.{=…} (e.g. @salt{=1%pinch}) do not scale. Find them in source and say so ("salt stays 1 pinch"). validate warns "Unnecessary scaling lock modifier" on them; that is a parser quirk, not a problem.@./Sauces/Pesto{150%g}) scale as one line. Their own ingredients are not expanded by read_recipe; for the full scaled ingredient list across sub-recipes, call shopping_list with recipes: ["<path>:<factor>"] (e.g. "Dinner/Lasagne.cook:1.5"), which follows references.servings in the frontmatter, validate the content, save with write_recipe (full file)..menu (@./Dinner/Chili{6%servings}); see the meal-planning skill."<path>:<factor>" to shopping_list rather than scaling and summing yourself (shopping-list skill).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-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