Find recipes by ingredient, tag, metadata, or text search
Search your recipe collection using CookCLI. Searches across:
Use this skill when:
Ask: "What are you looking for?"
Single term:
cook search chicken
Multiple terms (AND logic):
cook search chicken rice
Phrase search:
cook search "olive oil"
In specific directory:
cook search -b ~/recipes pasta
Show matching recipes with:
For selected recipe:
User: "Find recipes with chicken"
Run:
cook search chicken
Output:
Found 5 recipes matching "chicken":
1. dinner/Chicken Stir Fry.cook
Ingredients: @chicken breast{500%g}
Tags: asian, quick, dinner
Time: 25 minutes
2. dinner/Chicken Parmesan.cook
Ingredients: @chicken breast{4}
Tags: italian, dinner
Time: 45 minutes
3. lunch/Chicken Salad.cook
Ingredients: @cooked chicken{300%g}
Tags: lunch, healthy
Time: 15 minutes
User: "Something with tomatoes and basil"
Run:
cook search tomatoes basil
Output:
Found 3 recipes matching "tomatoes" AND "basil":
1. dinner/Caprese Salad.cook
2. dinner/Margherita Pizza.cook
3. dinner/Pasta Pomodoro.cook
# Single term
cook search chicken
# Multiple terms (AND - both must match)
cook search chicken rice
# Phrase (exact match)
cook search "olive oil"
# Specify directory
cook search -b ~/recipes pasta
cook search -b ./dinner quick
CookCLI searches these fields:
@ingredient entries> blockscook search vegetariancook search italiancook search quick vegetarian dinner