Weekly meal planner - input people count, budget, taste preference → output 7-day menu with breakfast/lunch/dinner and shopping list
设计与多媒体
leftover-chef
试用Suggests recipes based on leftover ingredients you already have. Takes a list of ingredients (from photo description, text, or voice) and generates recipes ranked by how completely they use what's available. Includes a 50+ recipe database and a Python matcher that flags missing ingredients.
它能做什么
Suggests recipes based on leftover ingredients you already have. Takes a list of ingredients (from photo description, text, or voice) and generates recipes ranked by how completely they use what's available. Includes a 50+ recipe database and a Python matcher that flags missing ingredients.
技能文档
Leftover Chef
Turn random leftover ingredients into meals you can actually cook tonight.
When to use
- The user lists ingredients they have (e.g. "I have eggs, rice, and soy sauce").
- The user describes a fridge photo or voice inventory.
- The user wants to reduce food waste by cooking with what's on hand.
How it works
- Collect the user's available ingredients as a simple list (comma or space separated).
- Run
scripts/leftover_chef.pywith the ingredients as arguments. - The script matches against a built-in database of 50+ recipes (JSON, stdlib only).
- Recipes are ranked by usage ratio: how many of your ingredients the recipe uses vs. how many the recipe needs that you don't have.
- Each result shows the recipe, which ingredients you have, which are missing, and a usage percentage.
Usage
From the command line
python3 scripts/leftover_chef.py eggs rice soy sauce
python3 scripts/leftover_chef.py --list-ingredients
python3 scripts/leftover_chef.py chicken potato --json
python3 scripts/leftover_chef.py tomato onion garlic --limit 3
Options
| Flag | Description |
|---|---|
--json | Output results as JSON |
--limit N | Show top N matches (default 10) |
--threshold P | Minimum usage percent to show (default 0) |
--list-ingredients | Print all known ingredients |
--list-recipes | Print all recipe names |
Interpreting results
- Usage 100%: you have every ingredient. Cook it now.
- Usage 70–99%: you're missing 1–2 items — easy substitution or quick store run.
- Usage 40–69%: partial match, listed for inspiration.
- Missing items are printed with a warning so the agent can suggest substitutions.
Agent workflow
- Ask for or receive the ingredient list.
- Run the script and read the ranked output.
- Present the top 3–5 matches to the user with a short pitch for each.
- Offer substitution suggestions for any missing ingredients.
- Optionally read a full recipe from
references/recipes.mdfor details.
Files
scripts/leftover_chef.py— main matcher script (Python 3, stdlib only)scripts/recipes_db.json— embedded recipe database (50+ recipes)references/recipes.md— detailed cooking notes for featured recipesreferences/substitutions.md— common ingredient substitutions
相关技能
Use this skill to help a user plan groceries with Crisp, inspect their user-authorized Crisp account data, compare promotions, check delivery windows and fee...
Indonesian kitchen companion skill that transforms leftover ingredients into safe, delicious Indonesian meals. Use when user mentions leftover food, "sisa ma...
Use only when the user explicitly asks for nutrition or diet-related help: calorie and macro estimation, TDEE/BMR and target intake calculations, meal planni...
Help users decide what to cook and how to cook it. Use when the user asks what to eat, what to cook with available ingredients, how to make a specific dish,...
拍照、文字或拍营养标签都能记录一餐,输出区间形式的热量与宏量营养素估算,并带安全护栏。