recipe-import
Skill1 starsChanged 39 days agoMITView on GitHub
Use when bringing a recipe into the Cooklang collection from a URL, photos, or pasted text and saving it as a .cook file. Triggers - "import", "convert this to Cooklang", a pasted recipe, a link, a photo of a cookbook page. Not for editing an existing local recipe.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cooklang/cooklang-skillsword for word, first seen Oct 13, 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
- organize-collectionSkill
- pantrySkill
- recipe-searchSkill
- report-authoringSkill
- scale-recipeSkill
- shopping-listSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use when bringing a recipe in from a URL, photos, or pasted text.
- Very specific: line 14
Call import_recipe with exactly one source:
- Very specific: line 27
Never copy a recipe out of a web page by hand when import_recipe can take the URL — it handles the page structure and returns clean …
- Distinctive: line 31
If the source doesn't give servings or times, ask the user or leave the key out.
≈ “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: recipe-import
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.
Workflow
- Call
import_recipewith 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.
- On
login_required, callloginand show the user the code and link. Onplan_required, show the user thecheckout_url. If they don't want to upgrade, follow the returnednext_step: read the source yourself and write the Cooklang by hand (cooklang-editing skill). - Decide an output path: look at the collection layout with
list_recipes, then pick a category folder and a name in the user's naming style. Check the name isn't taken —write_recipeoverwrites. - Merge the returned metadata into YAML frontmatter (
title,sourcewith the URL,servings, times,tags). Keepsource— the user will want to find the original. - Self-check against the cooklang-validation rules — no separate ingredient section, each quantity declared once inline, multi-word names braced — then run
validatewith the text ascontentandas_pathset to the chosen path. Fix every error. - Save with
write_recipeand tell the user what you saved and where.
Rules
- Never copy a recipe out of a web page by hand when
import_recipecan take the URL — it handles the page structure and returns clean Cooklang. - See the
cooklang://syntaxresource and the metadata skill for field names if you adjust the converted output. - Touch only the file you are importing into. Ask before overwriting an existing recipe of the same name.
- The import is a starting point: check that quantities and steps survived (especially from photos), and say if anything was unreadable.
- If the source doesn't give servings or times, ask the user or leave the key out; don't invent them.
- Writing it by hand (no
import_recipe, or itsnext_stepsays 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{}.
Do not skip the save
| 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. |
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.

