/cooklang:recipe-importfrom cooklang
Imports recipes from URLs, photos, or pasted text into Cooklang .cook files using the Cook MCP server. Handles validation, metadata merging, and file organization.
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 import_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 copy a recipe out of a page by hand without them.
Use when bringing a recipe in from a URL, photos, or pasted text.
import_recipe with exactly one source:
url — a recipe web page. Works without a login; social-media links (videos, posts) need a cook.md account and use the import allowance of Cook Basic or Cook Pro.text — recipe text the user pasted. Works without a login.image_paths — 1–10 photos (cookbook page, recipe card) as paths inside the collection. Photos need a cook.md account and use the import allowance of Cook Basic or Cook Pro.
It returns Cooklang text (plus metadata) and does NOT save anything.login_required, call login and show the user the code and link. On plan_required, show the user the checkout_url. If they don't want to upgrade, follow the returned next_step: read the source yourself and write the Cooklang by hand (cooklang-editing skill).list_recipes, then pick a category folder and a name in the user's naming style. Check the name isn't taken — write_recipe overwrites.title, source with the URL, servings, times, tags). Keep source — the user will want to find the original.validate with the text as content and as_path set to the chosen path. Fix every error.write_recipe and tell the user what you saved and where.import_recipe can take the URL — it handles the page structure and returns clean Cooklang.cooklang://syntax resource and the metadata skill for field names if you adjust the converted output.import_recipe, or its next_step says so): put each quantity in the step that uses it — "1 cup flour" → @flour{1%cup}, "1/2 tsp vanilla" → @vanilla{1/2%tsp}, "3 large eggs" → @eggs{3}(large), "salt to taste" → @salt; "bake for 30 minutes" → ~{30%minutes}; "in a large bowl" → #large bowl{}.| Excuse | Rebuttal |
|---|---|
"import_recipe ran, so the recipe is imported." | It only RETURNS Cooklang. Nothing is in the collection until you validate it and save it with write_recipe. |
| "I'll report success now and save in a moment." | Save first, then report the path you saved to. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 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).npx claudepluginhub cooklang/cooklang-skills --plugin cooklangOther plugins' skills for the same job