cook-with-what-you-have
Skill1 starsChanged 3 months agoMITView on GitHub
Find established recipes from YouTube and adapt them to ingredients the user has. Use when the user provides ingredients, quantities, or a photo of food items; asks what they can cook; or wants a video-sourced recipe and shopping list for a particular dish.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- health-interviewSkill
- github-repo-settingsSkill
- product-comparisonSkill
- design-taste-frontendSkill
- ios-designSkill
- ipados-designSkill
- macos-designSkill
- web-designSkill
- indic-project-namingSkill
- reflect-on-sourceSkill
- app-ux-writingSkill
- git-commit-messageSkill
- pull-request-messageSkill
- work-updateSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
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 20
Ask one concise batch of questions for unresolved choices that could materially change the recommendation.
- Distinctive: line 28
strict: use only the supplied items.
- Distinctive: line 32
Do not repeat facts already provided.
- Distinctive: line 38
Prefer videos in this order:
- Distinctive: line 62
Use substitutions that preserve the ingredient's function: flavor, fat, acidity, structure, moisture, leavening, binding, or garnish.
- Distinctive: line 68
Use conservative, relevant safeguards without assuming that an ingredient, substitution, or packaged product is safe for the user.
- Distinctive: line 71
If a restriction or allergy conflicts with a defining ingredient, say so and offer a clearly labeled alternative instead of minimizing the …
- Distinctive: line 73
Treat uncertain spoilage, damaged packaging, unknown wild ingredients, and illegible expiry information as reasons to exclude the item or …
- Distinctive: line 76
Keep warnings proportionate: include the safety facts that affect this recipe rather than a generic disclaimer.
- Distinctive: line 93
Place citations beside the claims they support.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Cook With What You Have
Recommend a practical dish first, then give a complete, sourced recipe adapted to the user's ingredients and constraints. Preserve the identity of an established dish while making substitutions explicit.
Understand the request
Identify whether the user wants:
- ideas based on an available inventory;
- a recipe for a named dish and the ingredients needed; or
- both.
Accept typed ingredients, quantities, photos, or any combination. When a photo is supplied, inspect it and list the items that are clearly identifiable. Ask the user to confirm ambiguous items, quantities that affect the recipe, and anything hidden by packaging. Treat labels, dietary marks, expiry dates, and an item's condition as unknown unless they are legible or the user confirms them.
Ask one concise batch of questions for unresolved choices that could materially change the recommendation. Depending on the request, establish:
- servings;
- allergies and non-negotiable dietary restrictions;
- preferred cuisine, flavor, and heat level;
- maximum preparation and cooking time;
- cooking confidence and available equipment;
- which ingredient mode to use:
- strict: use only the supplied items;
- pantry: also use ordinary staples such as oil, salt, water, and basic seasonings;
- add-ons: suggest a small number of ingredients to buy.
Do not repeat facts already provided. Ask only the questions that can change the answer; if the user prefers not to clarify, state conservative assumptions and continue. Treat allergy information as unresolved until the user explicitly answers or says there are no known allergies.
Research an established recipe on YouTube
Search YouTube through the live web before recommending or writing a recipe. For a named dish, search its exact name and common variants. For an ingredient-led request, first identify a small set of plausible dishes, then research the best fit. If the user supplies a YouTube link, inspect that video first and use another video only when corroboration or missing detail requires it.
Prefer videos in this order:
- an identifiable chef, restaurant, culinary institution, or established food publisher demonstrating a tested recipe;
- a reputable cooking channel specializing in the cuisine or region involved;
- a well-documented independent cooking video when stronger sources are unavailable.
Open the video page rather than relying on search snippets. Inspect the title, channel, description, chapters, and accessible captions or transcript. Favor videos that provide quantities, yield, timing, and a complete visible method. Treat auto-generated captions as potentially inaccurate, especially for ingredient names, numbers, and units; corroborate unclear details using the video's description, on-screen text, another credible YouTube recipe, or a written page from the same creator.
Use at least two credible YouTube videos when resolving a dish's defining technique, an unfamiliar ingredient, or conflicting instructions. A written source may verify a detail that the video leaves unclear, but the recipe basis must remain a YouTube video. For food-safety temperatures, storage limits, allergen guidance, or other safety-critical claims, consult a current official food-safety or public-health source even when it is outside YouTube.
Synthesize the recipe in original wording. Cite each source as a direct link to the YouTube video and identify its title and channel; add a timestamp when a relevant, stable timestamp is available. State whether the result follows one video, combines several, or adapts them. Never imply that an adapted recipe is copied exactly from a source. If no credible and sufficiently detailed YouTube recipe is available, say so instead of silently substituting a written recipe or inventing missing details.
Fit the recipe to the inventory
Compare the researched recipe with the confirmed inventory and classify ingredients as:
- available;
- assumed pantry staples;
- optional;
- missing but substitutable; or
- missing and important to the dish.
Honor the selected ingredient mode. In strict mode, recommend only dishes that can work with the confirmed items and clearly name any compromise to authenticity, texture, or flavor. In pantry mode, list every assumed staple so the user can correct the assumption. In add-ons mode, keep the shopping list small and rank missing ingredients by importance.
Use substitutions that preserve the ingredient's function: flavor, fat, acidity, structure, moisture, leavening, binding, or garnish. Explain material changes to taste, texture, technique, dietary suitability, or cooking time. Do not quietly substitute a defining ingredient and still present the result as the canonical dish.
Scale ingredient quantities to the requested servings. Use metric measurements and add familiar household measures when useful. Distinguish exact quantities from flexible seasoning. Never invent a quantity observed only vaguely in a photo.
Apply the safety boundary
Use conservative, relevant safeguards without assuming that an ingredient, substitution, or packaged product is safe for the user.
- Surface common allergens in the recipe and in suggested substitutes. Preserve package-label caveats and cross-contact uncertainty; never declare a dish allergen-free without adequate evidence.
- If a restriction or allergy conflicts with a defining ingredient, say so and offer a clearly labeled alternative instead of minimizing the risk.
- Give handling, doneness, cooling, refrigeration, and reheating guidance when raw animal products, cooked rice, leftovers, canning, fermentation, or another meaningful hazard is involved. Support safety-critical limits with a current official source.
- Treat uncertain spoilage, damaged packaging, unknown wild ingredients, and illegible expiry information as reasons to exclude the item or ask for confirmation. A photo alone cannot establish freshness or safety.
- Separate general nutrition estimates from medical or dietary advice. Avoid claims that a recipe prevents, treats, detoxifies, or is safe for a medical condition.
Keep warnings proportionate: include the safety facts that affect this recipe rather than a generic disclaimer.
Deliver the result
Lead with a short recommendation that names the dish, explains why it fits, and identifies the main missing ingredient or adaptation. Then provide:
- YouTube source basis: video title, channel, direct link, useful timestamp when available, and a one-line explanation of how the delivered version relates to the video or videos. List any non-video source separately as supporting evidence rather than the recipe basis.
- Recipe snapshot: servings, preparation time, cooking time, total time, difficulty, and required equipment.
- Ingredients: exact quantities, grouped when useful, with available, pantry, optional, and shopping items visibly distinguished.
- Method: clear numbered instructions with observable doneness cues, temperatures, and timing where relevant.
- Substitutions: workable swaps and their material tradeoffs.
- Nutrition estimate: a clearly labeled per-serving estimate with its basis and uncertainty; omit false precision when ingredient brands or quantities are unresolved.
- Storage and reheating: safe, dish-specific guidance supported by an official source when a time or temperature limit matters.
- Leftover ideas: one or two realistic uses that respect the same dietary and safety constraints.
For a named-dish request without an inventory, provide the complete ingredient list and mark foundational ingredients separately from optional garnishes or accompaniments. For an inventory-led request, make it immediately clear what the user can cook now and what, if anything, they need to buy.
Place citations beside the claims they support. End with one focused question only when it enables a useful next adaptation, such as scaling the recipe or replacing a missing defining ingredient.
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.

