Search, filter, and find recipes by ingredients, cuisine, tags, dietary restrictions, difficulty, or any combination. Use when the user wants to find recipes, asks "what can I make with...", searches by ingredient, filters by cuisine or dietary need. Triggers on "find recipe", "search recipes", "show me all", "what recipes have", "recipes with".
Find and filter recipes in ./recipes/ based on user criteria.
Recipes are markdown files with YAML frontmatter. Use grep to search frontmatter fields and ingredient lists.
grep -rl "ingredient_name" ./recipes/
For multiple ingredients (ALL must match), chain greps or read each candidate and verify.
grep -rl "^cuisine: Indian" ./recipes/
grep -rl "tags:.*tagname" ./recipes/
grep -rl "dietary:.*vegetarian" ./recipes/
grep -rl "^difficulty: easy" ./recipes/
When user specifies multiple criteria (e.g., "easy vegetarian Indian recipes"):
When the user lists ingredients they have on hand:
Present results as a table:
| Recipe | Cuisine | Difficulty | Key Match |
|---|
If only one result, display the full recipe.
Toast — restaurant POS, orders, menus, employees, revenue centers, and reporting.