Personal nutrition and meal planning system with calorie tracking and recipe recommendations
# 基础档案
${SKILL_DIR}/scripts/nutrition-planner profile-create \
--name "张三" \
--age 30 \
--gender male \
--weight 70 \
--height 175 \
--goal lose
# 完整档案(含饮食限制和过敏)
${SKILL_DIR}/scripts/nutrition-planner profile-create \
--name "李四" \
--age 25 \
--gender female \
--weight 55 \
--height 160 \
--activity moderate \
--goal maintain \
--restrictions vegetarian \
--allergies peanuts shellfish
sedentary - 久坐(办公室工作)light - 轻度活动(每周1-2天运动)moderate - 中度活动(每周3-5天运动)active - 高度活动(每周6-7天运动)very_active - 极高活动(体力劳动/运动员)lose - 减脂(每日-500kcal)maintain - 维持(基础代谢)gain - 增肌(每日+500kcal)# 生成7天计划(默认)
${SKILL_DIR}/scripts/nutrition-planner plan-generate
# 生成14天计划
${SKILL_DIR}/scripts/nutrition-planner plan-generate --days 14
# 查看今日计划
${SKILL_DIR}/scripts/nutrition-planner plan-show
# 查看指定日期
${SKILL_DIR}/scripts/nutrition-planner plan-show --date 2024-01-15
# 生成未来7天购物清单
${SKILL_DIR}/scripts/nutrition-planner shopping-list
# 生成未来14天购物清单
${SKILL_DIR}/scripts/nutrition-planner shopping-list --days 14
# 查询单一食物
${SKILL_DIR}/scripts/nutrition-planner nutrition 鸡胸肉
# 模糊查询
${SKILL_DIR}/scripts/nutrition-planner nutrition 鸡
数据存储在 ~/.openclaw/data/nutrition-planner/:
nutrition_planner.db - SQLite 数据库包含以下类别的食物营养数据:
ZIP package — ready to use