← 返回 Skills 市场
openlark

Smart Nutrition Customizer

作者 OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-nutrition
功能描述
Smart Nutrition Customizer. Input height, weight, age, gender, and activity level to calculate BMR and macronutrient needs, then generate a full-day meal pla...
使用说明 (SKILL.md)

Smart Nutrition Customizer 👩‍🍳

Calculate metabolic rate and nutritional needs from body data, then generate a personalized full-day meal plan.

Use Cases

Use when the user needs "nutrition planning", "meal plan", "calorie calculation", "weight loss meals", "muscle gain meals", "dietitian", "healthy recipes", or "calorie counting".

Workflow

Step 1: Collect Information

Gather the following data from the user (ask only for what's missing, not all at once):

Parameter Description
Gender Male / Female
Age Years
Height cm
Weight kg
Activity Level Sedentary / Lightly active (1-3 days/week) / Moderately active (3-5 days/week) / Very active (6-7 days/week) / Extremely active (athlete/manual labor)
Goal Weight loss / Maintenance / Muscle gain (optional, defaults to maintenance)

Step 2: Calculate Metabolism & Nutritional Needs

Basal Metabolic Rate (BMR) — Mifflin-St Jeor Equation

Male:   BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age - 161 + 166  → i.e. 10W + 6.25H - 5A + 5
Female: BMR = 10 × weight(kg) + 6.25 × height(cm) - 5 × age - 161

Total Daily Energy Expenditure (TDEE) = BMR × Activity Multiplier

Activity Level Multiplier
Sedentary 1.2
Lightly active 1.375
Moderately active 1.55
Very active 1.725
Extremely active 1.9

Goal-Based Calorie Adjustment

Goal Adjustment
Weight loss TDEE - 300~500 kcal
Maintenance TDEE (unchanged)
Muscle gain TDEE + 300~500 kcal

Macronutrient Distribution

Goal Protein Fat Carbs
Weight loss 30-35% 25-30% 35-45%
Maintenance 20-25% 25-30% 45-55%
Muscle gain 25-30% 20-25% 45-55%

Conversion: Protein 4 kcal/g, Carbs 4 kcal/g, Fat 9 kcal/g.

Step 3: Generate Full-Day Meal Plan

Output in the following format, covering breakfast, lunch, dinner, plus 1-2 optional snacks:

## 📊 Your Data Overview

| Item | Value |
|------|-------|
| BMR | xxx kcal |
| TDEE | xxx kcal |
| Target Calories | xxx kcal |
| Protein | xx g (xx%) |
| Fat | xx g (xx%) |
| Carbs | xx g (xx%) |

---

## 🍳 Breakfast (~xxx kcal)

### Dish Name

**Ingredients** (x servings):
- Ingredient 1 — xx g
- Ingredient 2 — xx g

**Instructions**:
1. Step one
2. Step two

**Nutrition**: Calories xx kcal | Protein xx g | Fat xx g | Carbs xx g

---

(Repeat same format for lunch, dinner, and snacks)

---

## 📋 Daily Summary

| Meal | Calories | Protein | Fat | Carbs |
|------|----------|---------|-----|-------|
| Breakfast | xx | xx | xx | xx |
| Lunch | xx | xx | xx | xx |
| Dinner | xx | xx | xx | xx |
| Snack | xx | xx | xx | xx |
| **Total** | **xx** | **xx** | **xx** | **xx** |
| Target | xx | xx | xx | xx |

Meal Design Principles

  • Chinese cuisine first, aligned with local eating habits; can intersperse Western/Japanese simple dishes
  • Label specific gram amounts for each meal for practical execution
  • Keep instructions concise and practical, 3-5 steps, suitable for home kitchens
  • Use common, easy-to-buy ingredients
  • Keep total daily calorie error within ±50 kcal of target
  • Prioritize protein from quality sources: eggs, chicken breast, fish/shrimp, tofu, milk
  • Weight loss plans: more vegetables, high protein, controlled oil and sugar; muscle gain plans: moderately increase carbs and protein
  • If the user has food allergies or dietary restrictions, proactively ask and avoid

Additional Services

After generating the plan, proactively ask if the user needs:

  • 🔄 A new menu for another day
  • 📅 A weekly meal plan
  • 🛒 A shopping list
  • 📉 Calorie target adjustment
安全使用建议
Install only if you are comfortable sharing body metrics and dietary restrictions with the agent for meal planning. Treat the output as general nutrition guidance, not medical advice, and avoid using it for medical conditions, eating disorders, pregnancy, severe allergies, or clinical diet needs without a qualified professional.
能力评估
Purpose & Capability
The requested age, height, weight, gender, activity level, goal, allergies, and restrictions match the stated BMR, macro, and meal-plan purpose, but they are personal health-adjacent details.
Instruction Scope
The triggers include broad phrases such as healthy recipes and dietitian, so the skill could activate for some general nutrition questions; the workflow itself is limited to meal planning and calculation.
Install Mechanism
The artifact contains only a markdown SKILL.md file with no executable scripts, dependencies, network calls, package installs, or raw command instructions.
Credentials
No local file access, credential use, external API access, shell execution, or broad environment authority is requested.
Persistence & Privilege
No background workers, memory writes, profile/session access, persistence, mutation of installed skills, or privilege escalation are described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-nutrition
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-nutrition 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Smart Nutrition Customizer. - Calculates BMR and macronutrient needs based on user's height, weight, age, gender, activity, and health goals. - Automatically generates a personalized full-day meal plan with recipes, ingredient amounts, calorie counts, and detailed nutrition labels. - Meal plans prioritize Chinese dishes, with practical instructions and easy-to-find ingredients. - Supports specific dietary preferences, allergies, and custom calorie targets. - Offers additional services including new daily menus, weekly plans, shopping lists, and calorie adjustments.
元数据
Slug smart-nutrition
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Smart Nutrition Customizer 是什么?

Smart Nutrition Customizer. Input height, weight, age, gender, and activity level to calculate BMR and macronutrient needs, then generate a full-day meal pla... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。

如何安装 Smart Nutrition Customizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-nutrition」即可一键安装,无需额外配置。

Smart Nutrition Customizer 是免费的吗?

是的,Smart Nutrition Customizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Smart Nutrition Customizer 支持哪些平台?

Smart Nutrition Customizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Smart Nutrition Customizer?

由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。

💬 留言讨论