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
CODEBLOCK0
Commands
| Action | Command |
|---|
| Search | INLINECODE0 |
| Get details |
recipes info <meal_id> |
| Random meal |
recipes random |
| List categories |
recipes categories |
| By area/cuisine |
recipes area <area> |
Examples
CODEBLOCK1
Output
Search/list output:
CODEBLOCK2
Info/random output:
CODEBLOCK3
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 - Run
./recipes info <id> for full recipe with ingredients and instructions - Run
./recipes random for dinner inspiration - Run
./recipes area <cuisine> to explore by cuisine
Workflow example:
CODEBLOCK4
Don't use for: Nutritional info, calorie counts, dietary restrictions (API doesn't provide this).
食谱查询
供AI代理为其人类查找食谱的命令行工具。鸡肉能做什么?——现在你的代理可以帮忙了。
使用TheMealDB API。无需账户或API密钥。
使用方法
搜索意大利面食谱
给我一个随机晚餐点子
我能做什么意大利菜?
告诉我餐点ID 52772
命令
| 操作 | 命令 |
|---|
| 搜索 | recipes search 查询内容 |
| 获取详情 |
recipes info <餐点ID> |
| 随机餐点 | recipes random |
| 列出分类 | recipes categories |
| 按地区/菜系 | recipes area <地区> |
示例
bash
recipes search chicken # 查找鸡肉食谱
recipes info 52772 # 按ID获取完整食谱
recipes random # 给我惊喜!
recipes categories # 列出所有分类
recipes area Italian # 意大利菜
recipes area Mexican # 墨西哥菜
输出
搜索/列表输出:
[52772] 肉酱意面 — 意大利菜,牛肉
信息/随机输出:
🍽️ 肉酱意面
ID: 52772 | 分类: 牛肉 | 地区: 意大利
标签: 意面,肉类
📝 食材:
• 500克牛肉碎
• 2个洋葱
• 400克番茄酱
...
📖 烹饪步骤:
[完整烹饪说明]
🎥 视频:[YouTube链接(如有)]
📎 来源:[食谱来源(如有)]
地区(菜系)
美式、英式、加拿大、中式、克罗地亚、荷兰、埃及、菲律宾、法式、希腊、印度、爱尔兰、意大利、牙买加、日式、肯尼亚、马来西亚、墨西哥、摩洛哥、波兰、葡萄牙、俄罗斯、西班牙、泰国、突尼斯、土耳其、乌克兰、越南
备注
- - 使用TheMealDB免费API
- 无需身份验证
- 餐点ID是数据库标识符
- 筛选命令(地区)仅返回ID——使用info获取详情
- 分类端点包含描述
代理实现说明
脚本位置: {skill_folder}/recipes(指向scripts/recipes的包装器)
当用户询问食谱/烹饪时:
- 1. 运行./recipes search 食材或菜肴查找选项
- 运行./recipes info 获取包含食材和步骤的完整食谱
- 运行./recipes random获取晚餐灵感
- 运行./recipes area <菜系>按菜系探索
工作流程示例:
用户:晚餐我能做什么?
- 1. recipes random → 获取随机点子
- recipes info → 完整食谱详情
用户:我想吃意大利菜
- 1. recipes area Italian → 列出意大利菜
- recipes info → 选择一个并获取完整食谱
不适用于: 营养信息、卡路里计数、饮食限制(API不提供此类数据)