agentleFS
cook-mdcook-md/cook-mcp/skills/recipe-search/SKILL.md

recipe-search

Skill1 starsChanged 39 days agoMITView on GitHub

Use when the user wants to find recipes in their Cooklang collection (.cook files, .menu plans) by ingredient, tag, cuisine, course, title or a half-remembered phrase - "what recipes use chickpeas?", "find my Italian dinners", "where's that lemon cake?".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when the user wants to find recipes in their collection.

    line 8
  2. Distinctive:

    Only name recipes the tools returned, with their paths exactly as returned.

    line 33
  3. Very specific:

    If searches keep missing because tags are inconsistent (Italian vs italian vs italian-food), mention it and offer the organize-collection …

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Skill: recipe-search

Use when the user wants to find recipes in their collection.

Needs the Cook MCP server (tools like search_recipes and read_recipe). If these tools are missing, the Cook MCP server isn't connected: if you installed the cooklang plugin or extension, check that its cook server is running (e.g. /mcp) or reinstall it; otherwise add it from https://github.com/cook-md/cook-mcp. Do not guess at what the collection holds.

The tools

  • search_recipes — query and/or tag. Returns hits (path, name): best match first when there is a query; a tag-only search is sorted by path.
    • Every word in query must match (AND), case-insensitively, as a substring of the file name or the file's text (frontmatter, ingredients, steps, notes). chicken rice finds recipes with both; tomato also matches tomatoes.
    • tag keeps only files whose frontmatter tags list contains that tag (case-insensitive, whole tag). query may be empty when tag is set.
  • list_recipes — browse instead of search: dir for one folder (folder names are often the course: Breakfast/, Desserts/), kind "recipe", "menu" or "all".
  • read_recipe — a hit's metadata (servings, time, tags) and steps, when you need them.

Workflow

  1. Turn the request into the narrowest cheap search:
    • an ingredient or dish → query with one or two distinctive words (chickpea, lemon cake);
    • a tag the collection uses (vegetarian, quick) → tag;
    • a course → list_recipes with dir when the collection has a folder for it;
    • a cuisine or diet → try tag first, then query (it also matches frontmatter like cuisine: Italian).
  2. Too many hits: add a word or a tag. None: drop a word, try a shorter stem (aubergin for aubergine/aubergines), or a synonym (courgette/zucchini). For "X or Y", run one search per word and merge the results.
  3. Present hits as a short list of names with their paths. Read only the few you need to say more about (servings, time) — not every hit.
  4. Offer the obvious next step: open one, scale it (scale-recipe), add it to a plan (meal-planning), or build a shopping list (shopping-list).

Rules

  • Only name recipes the tools returned, with their paths exactly as returned. If nothing matches, say so and offer to import one (recipe-import).
  • "What can I cook with what I have?" is a pantry question: use pantry_recipes (pantry skill).
  • Nutrition criteria ("over 30 g protein") are a screen, not a search: narrow here first, then follow nutrition-reports ("Screening a shortlist").
  • If searches keep missing because tags are inconsistent (Italian vs italian vs italian-food), mention it and offer the organize-collection audit.

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.