meal-planning
Skill9 starsChanged 39 days agoMITView on GitHub
Use 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.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- matthull/my-skillstheir own version, first seen Oct 20, 2026
- cook-md/cook-mcpword for word, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 1
- cook-md/cook-mcp★ 1100% same
Edited · 0
None found.
Wrote their own version · 1
- matthull/my-skills★ 0same name
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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cooklang-editingSkill
- cooklang-validationSkill
- export-recipeSkill
- metadataSkill
- nutrition-goalsSkill
- nutrition-reportsSkill
- organize-collectionSkill
- pantrySkill
- recipe-importSkill
- recipe-searchSkill
- report-authoringSkill
- scale-recipeSkill
- shopping-listSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use when building or editing a .menu file or a multi-day meal plan.
- Distinctive: line 24
Settle the facts once: Before choosing, write one short list: the plan's dates, who is eating (counts, ages), the repeat window and what it …
- Very specific: line 48
Do NOT put \ on the last line of a block, and do not backslash a line followed by a blank line.
- Distinctive: line 53
Default to 3 days when the user does not specify a number.
- Very specific: line 54
Always include a == Snacks == section.
- Very specific: line 57
Use @./path{N%servings} references to existing recipes (path from the collection root, no .cook extension) rather than inlining recipe …
≈ “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: meal-planning
Needs the Cook MCP server (tools like list_recipes and write_menu). 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 plan from recipes you have not seen in the collection.
Use when building or editing a .menu file or a multi-day meal plan. The file format is in the cooklang://menu-format resource.
Numeric nutrition targets ("35% protein", "1800 kcal/day") do not move the task elsewhere — they add a filtering step. Screen the candidates with the nutrition-reports skill ("Screening a shortlist"), then build the plan here. The nutrition-goals skill is for changing one already-chosen recipe to hit a number, not for picking recipes that already do.
Workflow
Gather what you need in as few rounds as possible and decide once; every extra round makes you re-read and re-decide the whole plan.
- History.
list_recipeswithkind: "menu"lists the existing plans. Read the one or two most recent (by the dates in their names or sections) withread_recipeto learn the user's layout (frontmatter, section names, snacks / batch-prep blocks) and which recipes they used lately. Apply the user's repeat rule (e.g. "nothing from the last two weeks") from that. - Candidates.
search_recipeswith words and/or atagthat match the request (course, cuisine, diet, a key ingredient);list_recipeswithkind: "recipe"to browse the whole collection when the request is open-ended. The folder names (Breakfast/,Dinner/,Slowcooker/) are often the best course signal. - Settle the facts once. Before choosing, write one short list: the plan's dates, who is eating (counts, ages), the repeat window and what it excludes, the constraints. Use it; do not re-derive any of it later.
- Read only the recipes you are seriously considering, all in one round (
read_recipeper file, in parallel): checkservingsin the metadata, effort (number of steps, cookware — a slow cooker or one pan + few steps = easy), and dietary constraints from the ingredients. Skip files with no steps — they are placeholders. - A .menu may only reference recipes that exist in the collection. If the library lacks options, offer to import one first (recipe-import skill).
- Match servings to the number of people. Cooking once and eating twice is fine (4 servings for 2 people = leftovers). If the user does not say how many days, plan 3 days.
- Write the plan in .menu format with YAML frontmatter (at least
servingsanddescription) and a== Snacks ==section. Runvalidatewith the text ascontentandas_pathset to the target path, then save withwrite_menu. It checks every recipe reference and refuses to save if one doesn't resolve — fix the path rather than forcing. - Tell the user what you saved and where. If they asked for a check on the plan (a balanced-diet or nutrition report), render it now on the saved file — see the nutrition-reports skill.
Choosing well
- Weeknights: quick, one-pot or few-step recipes; save longer cooks and batch prep for the weekend.
- Reuse ingredients across days (half a bunch of coriander, an opened tin of coconut milk) and put perishables early in the week. With a pantry,
pantry_expiringsays what to use up first andpantry_recipeswhat is already covered. - Plan leftovers on purpose (cook 4 servings for 2 people, eat it twice) and vary cuisines and main proteins across the days.
Menu line breaks
Days and meals are written as blocks. A block is a labelled group (e.g. Breakfast: and its - @item lines, or the == Snacks == list). End every line of a block with a trailing \ EXCEPT the last line of the block; a blank line separates blocks. The \ is a soft line break that keeps the block as one rendered step. Example:
Breakfast: \
- @./Breakfast/Shakshuka{5%servings} \
- @sourdough bread{5%slices}(toasted) \
- @filter coffee{3%cup} and @tea{2%cup}Do NOT put \ on the last line of a block, and do not backslash a line followed by a blank line.
Rules
- Include YAML frontmatter on every .menu — at minimum
servingsanddescription. For the full field set, see the metadata skill. The menu'sservingsis how many people eat (reports divide totals by it); it does not scale the references — each reference's own{N%servings}does. - Default to 3 days when the user does not specify a number.
- Always include a
== Snacks ==section. - Date sections use
YYYY-MM-DD(e.g.== Day 1 (2026-03-07) ==) — reason: apps use the date to surface a shortcut to today's plan. - Pay close attention to each recipe's
servings/yieldmetadata — reason: mis-scaling here propagates into any shopping list or batch-prep math built from the plan. - Use
@./path{N%servings}references to existing recipes (path from the collection root, no.cookextension) rather than inlining recipe steps into the menu. - A recipe with no numeric
servingscan't be scaled by{N%servings}— the number silently becomes a plain multiplier (×N) — reason: a 2-portion recipe referenced as{3%servings}gets tripled, which inflates the shopping list and every nutrition report. Read its body, judge how many portions it makes, and write a bare factor instead ({1.5}for 3 people from a 2-portion recipe). In your reply, name these recipes and offer to addservingsto them (metadata skill) so future plans scale exactly. - Save menus into a dedicated
menus/orplans/folder unless the user's layout says otherwise. - For the shopping list, give the saved plan to
shopping_list; it follows the references, merges duplicates and subtracts the pantry. - To evaluate a plan's nutrition (per-day calories/macros against targets), follow the nutrition-reports skill. To change the plan to hit targets, follow nutrition-goals.
Do not skip the checks
| Excuse | Rebuttal |
| "That recipe is probably in the collection." | Reference only paths you saw in list_recipes / search_recipes. write_menu refuses unresolved references; never set force: true to get past one. |
| "The plan looks complete, I'll describe it in chat." | Save it with write_menu and say where — a plan in chat is not in the user's collection. |
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.

