/chef:cheffrom chef
Expert cooking assistant for Chinese and Western cuisine. Provides step-by-step recipes, ingredient-based suggestions, technique/substitution advice, and nutrition info using scraped websites, free APIs, and Kaggle datasets.
Ships in chef. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
懂中西餐的 agent:走菜到克重/火候/时机,用家里食材推荐菜,聊搭配和营养,所有输出都有数据来源,没数据就说"我先去抓一下"再动手。
data/recipes/*.md 或现场抓取。两边都没有 → 先 fetch,再输出,别自己编。scripts/save_recipe.py 把抓到的菜写成 data/recipes/{slug}.md。下次有人问同一道菜,先 search.py,命中直接用,不要重复抓。templates/recipe_card.md。references/ingredient_pairing.md。不要凭直觉。sources/spoonacular.json 和 sources/edamam.json 标了 enabled: false,不要调。| 用户说 | 动作 | 脚本 |
|---|---|---|
| "怎么做红烧肉" | 本地 search;没就 fetch;存 md;走菜 | search.py → fetch.py → save_recipe.py → walkthrough.py |
| "家里有鸡蛋西红柿土豆能做啥" | 按食材覆盖推荐 | suggest.py --have "鸡蛋,西红柿,土豆" |
| "今晚想吃辣的/清淡的" | tag 过滤 | search.py --tag 辣 |
| "X 和 Y 搭不搭" | 共现 + 理论 | pairing.py --pair X Y;看 references/ingredient_pairing.md |
| "这菜多少卡路里" | frontmatter.nutrition;没就查食材 | api_openfoodfacts.py |
| "下厨房上这菜怎么做" | 定向抓 | fetch.py --source xiachufang --query … |
| "随机推个菜" | 随机 | search.py --random |
| "基础技法讲一下" | 只读 references/cooking_techniques.md | (不进 data) |
| "牛肉能用啥替代" | 替代表 + 替代品搜菜 | grep ingredient_pairing.md; search.py --ingredient … |
| "批量导入一堆" | Kaggle CSV | import_dataset.py --source food_com --file path.csv |
| "从零起步建议" | bootstrap | setup.py + api_themealdb.py --bootstrap |
scripts/search.py --name "红烧肉" 查本地scripts/walkthrough.py --file data/recipes/xxx.md 按模板输出scripts/fetch.py --source <id> --query ...scripts/save_recipe.py --json <tmp> 写入 data/recipes/scripts/suggest.py --have "鸡蛋,西红柿,葱" [--max-missing 2]python scripts/api_themealdb.py --bootstrap(免费 API ~283 道,合规)python scripts/import_dataset.py --source food_com --file ~/Downloads/RAW_recipes.csv(Kaggle 18w-52w 道)python scripts/fetch.py --source xiachufang --category 家常菜 --pages 10scripts/pairing.py --pair "西红柿" "鸡蛋" 本地共现references/ingredient_pairing.md(共享风味化合物 / 对比口感 / 地域传统)scripts/api_openfoodfacts.py --query "鸡蛋" 查单食材estimated: truegrep -A 5 "<食材>" references/ingredient_pairing.md 看替代表scripts/search.py --ingredient <替代品> 看本地有没有用替代品的同类菜references/library_usage.md 列了 631+ 支持站点)sources/{id}.json 填 access_method: "recipe_scrapers"references/scraping_patterns.mdfetch.py --source <id> --query <test> 冒烟references/cooking_techniques.mdpython scripts/setup.py 装可选依赖(requests / beautifulsoup4 / recipe-scrapers)python scripts/api_themealdb.py --bootstrap 拉种子python scripts/import_dataset.py 批量导入references/sources_overview.md — 每个源的用法、规模、合规备注references/api_usage.md — TheMealDB / Open Food Facts 调用示例references/library_usage.md — recipe-scrapers 库用法(631+ 站点)references/scraping_patterns.md — 下厨房/美食杰/豆果/香哈/新食谱选择器references/cooking_techniques.md — 中餐八大菜系 + 火候 + 西餐 mise en place + 母酱references/ingredient_pairing.md — 食材搭配 + 替代表references/recipe_md_schema.md — data/recipes/*.md frontmatter 规范 + 单位换算templates/recipe.md — 新食谱骨架templates/recipe_card.md — 走菜输出格式templates/suggestion_response.md — 食材推荐输出格式data/recipes/{slug}.md,YAML frontmatter + Markdown 步骤。搜索用 Grep/Read,不用 SQLite。requests / beautifulsoup4 / recipe-scrapers / lxml(setup.py 装)。references/recipe_md_schema.md(拼音优先,英文 fallback)。data/recipes/adana-kebab-themealdb-53262.md (opens in a new tab)data/recipes/air-fryer-egg-rolls-themealdb-53373.md (opens in a new tab)data/recipes/air-fryer-patatas-bravas-themealdb-53158.md (opens in a new tab)data/recipes/ajo-blanco-themealdb-53169.md (opens in a new tab)data/recipes/alfajores-themealdb-53138.md (opens in a new tab)data/recipes/algerian-bouzgene-berber-bread-with-roasted-pepper-sauce-themealdb-53284.md (opens in a new tab)data/recipes/algerian-carrots-themealdb-53282.md (opens in a new tab)data/recipes/algerian-flafla-bell-pepper-salad-themealdb-53288.md (opens in a new tab)data/recipes/algerian-kefta-meatballs-themealdb-53281.md (opens in a new tab)data/recipes/anzac-biscuits-themealdb-53111.md (opens in a new tab)data/recipes/apam-balik-themealdb-53049.md (opens in a new tab)data/recipes/apple-blackberry-crumble-themealdb-52893.md (opens in a new tab)data/recipes/apple-cake-themealdb-53380.md (opens in a new tab)data/recipes/apple-frangipan-tart-themealdb-52768.md (opens in a new tab)data/recipes/apricot-turkish-delight-mess-themealdb-53276.md (opens in a new tab)data/recipes/arepa-pabellón-themealdb-53334.md (opens in a new tab)data/recipes/arepa-pelua-themealdb-53329.md (opens in a new tab)data/recipes/arriba-baked-winter-squash-mexican-style-foodcom-137739.md (opens in a new tab)data/recipes/arroz-al-horno-baked-rice-themealdb-53156.md (opens in a new tab)data/recipes/arroz-con-gambas-y-calamar-themealdb-53147.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yrzhe/claude-skills --plugin chefOther plugins' skills for the same job