微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

AI食谱助手,一句话搞定今晚吃啥

Recipes · v1.0.0
效率 安全 A 级 作者 jeffaf 公开目录收录
下载 2.1k 安装 1 收藏 5k 浏览 44
原始页面

简介

基于TheMealDB的食谱查询CLI工具,无需认证即可按食材、菜系搜索随机推荐,快速获取食材清单与烹饪步骤。

原始描述

CLI for AI agents to find recipes for their humans. Uses TheMealDB API. No auth required.

中文使用说明 来自收录源

核心用法

该 Skill 为 AI Agent 提供命令行食谱查询能力,通过调用 TheMealDB 免费 API 实现。主要功能包括:按食材或菜名搜索食谱(recipes search)、按 ID 获取完整食谱详情含配料和步骤(recipes info)、随机推荐菜品(recipes random)、按地区菜系筛选(recipes area)以及浏览全部分类(recipes categories)。输出格式清晰,包含食材清单、烹饪步骤、视频链接等完整信息,支持 28 种国际菜系查询。

显著优点

零门槛使用:无需注册账号或 API 密钥,开箱即用。CLI 设计简洁直观,适合集成到自动化工作流中。数据丰富:覆盖全球主流菜系,从美式到越南菜,满足多样化饮食需求。输出友好:结构化展示食材用量、分步说明,部分食谱附带 YouTube 视频教程。轻量依赖:仅依赖 bash、curl、jq 等标准工具,无复杂运行时要求。开源免费:MIT 许可证,可自由修改和扩展。

潜在缺点与局限性

功能单一:仅提供基础食谱查询,不包含营养信息、卡路里计算、过敏原标注或饮食限制筛选(如素食、无麸质),无法满足健康管理需求。数据来源依赖:完全依赖 TheMealDB 的公开数据质量和可用性,若 API 服务中断或限流则无法使用。交互体验有限:纯 CLI 输出,无图形界面或收藏、计划餐单等进阶功能。外部代码风险:Skill 本身为文档包,实际可执行代码托管于外部 GitHub 仓库,存在供应链安全风险。

适合的目标群体

家庭烹饪爱好者:需要快速获取家常菜灵感和详细做法。AI Agent 开发者:为智能助手集成食谱查询能力,响应"今晚吃什么"类自然语言请求。内容创作者:美食博主、视频创作者需要查询多菜系菜品作为选题参考。轻量自动化场景:希望在脚本或工作流中嵌入随机菜品推荐功能的用户。

使用风险

供应链安全风险:该 Skill 本质为文档引用包,实际执行的 bash 脚本来自外部个人开发者仓库(jeffaf/recipes-skill),存在代码注入、恶意功能植入可能,使用前需单独审查。隐私合规风险:虽然当前版本不收集用户数据,但外部代码的行为无法完全保证,建议在隔离环境中运行。网络可用性风险:依赖 TheMealDB 第三方服务,无 SLA 保障。维护风险:个人开发者项目(T3 来源)存在弃坑、账号被盗、维护中断等不确定性。建议以非特权用户运行,监控网络请求,定期关注仓库更新动态。

技能正文


name: recipes version: 1.0.0 description: "CLI for AI agents to find recipes for their humans. Uses TheMealDB API. No auth required." homepage: https://www.themealdb.com metadata: openclaw: emoji: "🍳" requires: bins: ["bash", "curl", "jq"] tags: ["recipes", "food", "cooking", "meals", "themealdb", "cli"]

Recipe Lookup

CLI for AI agents to find recipes for their humans. "What can I make with chicken?" — now your agent can help.

Uses TheMealDB API. No account or API key needed.

Usage

"Search for pasta recipes"
"Give me a random dinner idea"
"What Italian dishes can I make?"
"Tell me about meal ID 52772"

Commands

Action Command
Search recipes search "query"
Get details recipes info <meal_id>
Random meal recipes random
List categories recipes categories
By area/cuisine recipes area <area>

Examples

recipes search "chicken"          # Find chicken recipes
recipes info 52772                # Get full recipe by ID
recipes random                    # Surprise me!
recipes categories                # List all categories
recipes area Italian              # Italian dishes
recipes area Mexican              # Mexican dishes

Output

Search/list output:

[52772] Spaghetti Bolognese — Italian, Beef

Info/random output:

🍽️  Spaghetti Bolognese
   ID: 52772 | Category: Beef | Area: Italian
   Tags: Pasta,Meat

📝 Ingredients:
   • 500g Beef Mince
   • 2 Onions
   • 400g Tomato Puree
   ...

📖 Instructions:
[Full cooking instructions]

🎥 Video: [YouTube URL if available]
📎 Source: [Recipe source if available]

Areas (Cuisines)

American, British, Canadian, Chinese, Croatian, Dutch, Egyptian, Filipino, French, Greek, Indian, Irish, Italian, Jamaican, Japanese, Kenyan, Malaysian, Mexican, Moroccan, Polish, Portuguese, Russian, Spanish, Thai, Tunisian, Turkish, Ukrainian, Vietnamese

Notes

  • Uses TheMealDB free API
  • No authentication required
  • Meal ID is the database identifier
  • Filter commands (area) return IDs only — use info for details
  • Categories endpoint includes descriptions

Agent Implementation Notes

Script location: {skill_folder}/recipes (wrapper to scripts/recipes)

When user asks about recipes/cooking:

  1. Run ./recipes search "ingredient or dish" to find options
  2. Run ./recipes info <id> for full recipe with ingredients and instructions
  3. Run ./recipes random for dinner inspiration
  4. Run ./recipes area <cuisine> to explore by cuisine

Workflow example:

User: "What can I make for dinner?"
1. recipes random  →  Get a random idea
2. recipes info <id>  →  Full recipe details

User: "I want something Italian"
1. recipes area Italian  →  List Italian dishes
2. recipes info <id>  →  Pick one and get full recipe

Don't use for: Nutritional info, calorie counts, dietary restrictions (API doesn't provide this).

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

recipesfoodcookingmealsthemealdbcliapi-clientlifestyle

同类 Skill