Install
openclaw skills install masterchefRecipe and ingredient query assistant. Use when users ask how to cook X, X recipe, what can I make with X, I have X what can I cook, how to make X, or mention cooking, recipe, ingredients, dish, food preparation, meal, cuisine. Supports searching by ingredients or by dish name. Also triggers on Chinese keywords: 怎么做X, 做法, 食材, 菜谱, 做菜, 烹饪, 料理, 食谱.
openclaw skills install masterchefMasterChef is a cooking assistant powered by the api.yummy.chat recipe knowledge base.
MasterChef provides two core features:
Activate this skill when the user's request involves:
The API only accepts Chinese input and returns Chinese output. You must handle translation:
Input translation: If the user writes in English, translate ingredient names or dish names to Chinese before calling the API
Output translation: Translate the full API response back to the user's language (English)
If the user writes in Chinese, no translation is needed — pass Chinese directly to the API and return Chinese output as-is.
Endpoint: POST https://api.yummy.chat/ingredients
Purpose: Query dishes that can be made with 1-3 ingredients
Request format:
{
"ingredients": ["食材1", "食材2", "食材3"]
}
Response format:
{
"results": [
{
"ingredient": "茄子",
"dishes": ["地三鲜", "油焖茄子", "茄子煎饼", ...]
}
]
}
Endpoint: POST https://api.yummy.chat/howtocook
Purpose: Query detailed recipe by dish name (ingredients, steps, tips)
Request format:
{
"dish_name": "菜名"
}
Response format:
{
"dish_name": "地三鲜",
"recipes": [
"地三鲜\n所属菜系:东北菜\n烹饪难度:⭐⭐⭐\n\n食材与调味品\n..."
]
}
Ingredient search mode — when the user:
Recipe lookup mode — when the user:
Priority: If unsure, try recipe lookup first (it's more specific).
Steps:
Extract ingredient names: Identify 1-3 ingredients from user input
["茄子", "土豆"]["鸡翅"]Call API:
curl -s -X POST https://api.yummy.chat/ingredients \
-H "Content-Type: application/json" \
-d '{"ingredients": ["食材1", "食材2"]}'
Parse response: Extract dishes list from each ingredient in results
Translate and format output: See "Output Format Guide" below
Steps:
Extract dish name: Identify the dish name from user input
"地三鲜""可乐鸡翅"Call API:
curl -s -X POST https://api.yummy.chat/howtocook \
-H "Content-Type: application/json" \
-d '{"dish_name": "菜名"}'
Parse response: Extract recipe content from recipes array
Translate and format output: See "Output Format Guide" below
Principles:
Principles:
The dish name doesn't exist in the knowledge base. Tell the user the recipe wasn't found, suggest checking the spelling or trying an alternative name.
Invalid input (wrong number of ingredients, empty string). Guide the user to provide 1-3 ingredient names or a specific dish name.
The backend knowledge base service is unavailable. Ask the user to try again later.
Cannot connect to api.yummy.chat. Suggest checking the network connection.
User: "I have eggplant and potato, what can I make?"
MasterChef behavior:
["茄子", "土豆"]/ingredients APIUser: "How to make Di San Xian?"
MasterChef behavior:
"地三鲜"/howtocook APIUser: "地三鲜怎么做"
MasterChef behavior:
"地三鲜" directlyhttps://api.yummy.chatBash tool to execute curl commandsallowed-tools to reduce permission prompts