SkillHub

recipe-finder

v1.0.0

使用TheMealDB API按食材、菜系或饮食偏好搜索推荐食谱,提供详细餐食信息与制作步骤。

Sourced from ClawHub, Authored by Sai Harsha

Installation

Please help me install the skill `recipe-finder` from SkillHub official store. npx skills add harshasic/recipe-finder

Recipe Finder

Find recipes by ingredients, cuisine, or dietary preferences using TheMealDB free API.

Triggers

Use this skill when the user: - Asks "what can I make with [ingredient]" - Requests "recipes for dinner" or "Italian recipes" - Says "vegetarian options" or "vegan meals" - Asks for meal ideas based on ingredients they have

Tools

  • web_fetch - Fetch recipe data from TheMealDB API

Instructions

  1. Parse the user's request to identify:
  2. Main ingredient (e.g., chicken, eggs, pasta)
  3. Cuisine type (e.g., Italian, Mexican, Chinese)
  4. Dietary restriction (e.g., vegetarian, vegan, gluten-free)

  5. Call TheMealDB API:

  6. By ingredient: https://www.themealdb.com/api/json/v1/1/filter.php?i={ingredient}
  7. By cuisine: https://www.themealdb.com/api/json/v1/1/filter.php?a={cuisine}
  8. Search by name: https://www.themealdb.com/api/json/v1/1/search.php?s={query}

  9. For each recipe found, optionally fetch details:

  10. https://www.themealdb.com/api/json/v1/1/lookup.php?i={id}

  11. Format response with:

  12. Recipe name
  13. Thumbnail image (if available)
  14. Category and cuisine
  15. Key ingredients
  16. Brief instructions (or link to full recipe)

Response Format

Present recipes in a clean, scannable format: - Recipe name (bold) - Image thumbnail (if available) - Category | Cuisine - Main ingredients list - Brief description

Notes

  • TheMealDB is free, no API key required
  • Results are limited but reliable
  • Combine multiple queries for best results (ingredient + cuisine)