agentleFS
cooklangcooklang/cooklang-skills/skills/search-recipes/SKILL.md

search-recipes

Skill8 starsChanged 10 months agoMITView on GitHub

Find recipes by ingredient, tag, metadata, or text search

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search your recipe collection using CookCLI.

    line 10
  2. Distinctive:

    Use this skill when:

    line 17
  3. Distinctive:

    Ask: "What are you looking for?"

    line 26
  4. Distinctive:

    Use specific ingredient names: "chicken breast" vs "chicken"

    line 143
  5. Very specific:

    Search by tag: cook search vegetarian

    line 144
  6. Very specific:

    Search by cuisine: cook search italian

    line 145

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Search Recipes

Overview

Search your recipe collection using CookCLI. Searches across:

  • Recipe titles
  • Ingredients
  • Instructions
  • Metadata (tags, cuisine, author)
  • Notes

Use this skill when:

  • Looking for recipes with specific ingredients
  • Finding recipes by cuisine or tag
  • Searching for a recipe you remember partially

Process

Step 1: Understand Query

Ask: "What are you looking for?"

  • Ingredient: "recipes with chicken"
  • Multiple ingredients: "recipes with chicken and rice"
  • Tag/cuisine: "Italian recipes"
  • Text: "something quick for dinner"

Step 2: Run Search

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

Step 3: Present Results

Show matching recipes with:

  • Recipe name (linked to file)
  • Matching context (where the term was found)
  • Key metadata (servings, time, tags)

Step 4: Offer Actions

For selected recipe:

  • "Open this recipe"
  • "Scale to different servings"
  • "Add to shopping list"

Examples

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

Reference

Search Command Syntax

# 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

Search Scope

CookCLI searches these fields:

  • Title - Recipe name
  • Ingredients - All @ingredient entries
  • Instructions - Full recipe text
  • Metadata - Tags, cuisine, author, etc.
  • Notes - Content in > blocks

Tips

  • Use specific ingredient names: "chicken breast" vs "chicken"
  • Search by tag: cook search vegetarian
  • Search by cuisine: cook search italian
  • Combine for precision: cook search quick vegetarian dinner

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.