scale-recipe
Skill8 starsChanged 10 months agoMITView on GitHub
Adjust recipe servings and display scaled ingredient quantities
In this repository9 other files it gives its agents.
- convert-recipeSkill
- create-recipeSkill
- export-recipeSkill
- manage-pantrySkill
- meal-planSkill
- organize-collectionSkill
- search-recipesSkill
- shopping-listSkill
- validate-recipesSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when:
- Distinctive: line 21
Ask: "Which recipe do you want to scale?"
- Distinctive: line 25
Ask: "How many servings do you need?"
- Distinctive: line 141
Always taste and adjust seasonings
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Scale Recipe
Overview
Display a recipe with adjusted serving sizes. Shows original vs scaled quantities for easy comparison.
Use this skill when:
- Cooking for more or fewer people
- Halving or doubling a recipe
- Converting between serving sizes
Process
Step 1: Identify Recipe
Ask: "Which recipe do you want to scale?"
Step 2: Determine Scale Factor
Ask: "How many servings do you need?"
- Or: "What scale factor?" (2 = double, 0.5 = half)
Calculate factor: new_servings / original_servings
Step 3: Display Scaled Recipe
Using CookCLI:
cook recipe "Recipe.cook" --scale 2Or with colon notation:
cook recipe "Recipe.cook:2"Step 4: Highlight Important Notes
Warn about:
- Fixed quantities (marked with
=) - These don't scale - Timing - Cooking times may need adjustment for larger batches
- Equipment - May need larger pots/pans
Examples
User: "Scale the pasta recipe for 8 people"
Original recipe (serves 4):
---
title: Spaghetti Carbonara
servings: 4
---
Cook @spaghetti{400%g} in boiling water.
Fry @pancetta{150%g} until crispy.
Mix @eggs{4} with @parmesan{100%g}.
Season with @black pepper{} and @salt{=1%pinch}.Run:
cook recipe "Spaghetti Carbonara.cook" --scale 2Scaled output (serves 8):
Spaghetti Carbonara (scaled to 8 servings)
Ingredients:
- spaghetti: 800g (was 400g)
- pancetta: 300g (was 150g)
- eggs: 8 (was 4)
- parmesan: 200g (was 100g)
- black pepper: to taste
- salt: 1 pinch (FIXED - doesn't scale)
Steps:
[Recipe steps with scaled quantities inline]User: "Halve the cake recipe"
Run:
cook recipe "Chocolate Cake.cook" --scale 0.5Reference
Scaling Commands
# Double
cook recipe "Recipe.cook" --scale 2
cook recipe "Recipe.cook:2"
# Half
cook recipe "Recipe.cook" --scale 0.5
cook recipe "Recipe.cook:0.5"
# Specific servings (if original is 4, this makes 6)
cook recipe "Recipe.cook" --scale 1.5
# In shopping list
cook shopping-list "Recipe.cook:2"Fixed Quantities
Some ingredients shouldn't scale. Mark with =:
@salt{=1%tsp} -- stays 1 tsp regardless of scale
@baking soda{=1%tsp} -- leavening is chemistry, be careful
@vanilla{=1%tsp} -- flavor extracts often don't scale linearlyScaling Considerations
| Item | Scales? | Notes |
| Main ingredients | Yes | Meat, vegetables, pasta |
| Liquids | Yes | But may need adjustment |
| Seasonings | Partially | Start with less, adjust to taste |
| Leavening | Carefully | Baking soda/powder - use formulas |
| Cooking time | No | But larger batches may need more |
| Pan size | No | May need multiple batches |
Tips
- Doubling is usually safe
- Halving works well for most recipes
- Beyond 2x, consider cooking in batches
- Baking is more sensitive to scaling than cooking
- Always taste and adjust seasonings
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.

