健身助手

健身助手根据用户档案创建个性化的一日饮食和训练计划,并可按本地化的每日时间表配送新计划。

l1mufeng
2026年8月25日
0 收藏
44 下载

安装与下载

1 ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install fitness-assistant

2 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/
工作区 {'/skills/'}

优先级:工作区 › 全局 › 内置

3 提示词安装

将此提示词复制到 Openclaw 即可自动安装。

请帮我使用 Clawhub 安装 skill-fitness-assistant。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

获取包含原生技能文件的ZIP压缩包。

下载技能 (.zip)

基本信息

名称 健身助手
Slug fitness-assistant
创建者 l1mufeng
创建时间 2026-08-25 05:30:49
更新时间 2026-08-25 05:30:49
收藏数 0
使用量 44
浏览量 22

安装指南

  1. ClawHub CLI 从源直接安装技能的最快方式。
    npx clawhub@latest install fitness-assistant
  2. 手动安装 将技能文件夹复制到以下位置之一
    全局模式
    ~/.openclaw/skills/
    工作区
    /skills/
    优先级:工作区 > 本地 > 内置
  3. 提示词安装 将此提示词复制到 OpenClaw 即可自动安装。
    请帮我使用 Clawhub 安装 fitness-assistant。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
    更倾向于下载?
    获取包含原生技能文件的ZIP压缩包。
    下载技能 (.zip)

什么是

健身助手是一个 Openclaw Skills 工作流,使用年龄、性别、身体测量值、活动水平、目标、健康状况、饮食限制、训练经验、器材、日常安排、时区和语言生成实用的每日饮食与运动指导。它会先计算 BMI、BMR、TDEE、热量目标和宏量营养素目标,再生成结构化计划。
该技能还可将一次性计划转换为每日重复自动化。它会确认用户的本地配送时间、IANA 时区、语言和目标频道,然后使用 OpenClaw cron 自动化安排新计划。安全边界可防止虚构健康数据、不支持的语言、医疗声明、不安全的热量目标,以及未确认时区就创建日程。

应用场景

生成包含早餐、午餐、晚餐、可选加餐、饮水建议和按宏量营养素分配份量的每日饮食计划。
根据用户经验、可用器材、日程和训练时间创建训练课程。
根据公制或英制测量值计算热量、蛋白质、脂肪和碳水化合物目标。
使用用户偏好的语言和时区设置每日早间或晚间健身消息。
刷新现有的定时计划,而不创建重复的自动化任务。
对已报告的健康状况、怀孕、药物影响或未满 18 岁用户谨慎调整一般生活方式建议,并建议咨询专业人士。

工作原理

如有保存的用户档案则加载,并仅询问缺失信息,包括年龄、性别、身高、体重、活动、目标、限制、饮食限制、训练背景、日常安排、时区和语言。
使用公制输入或英制选项运行计划计算器,获得 BMI、BMR、TDEE、热量目标和宏量营养素克数。
根据计算目标、饮食限制、膳食计划指南、饮水需求和最低热量标准制定每日饮食计划。
创建包含热身、主要训练和冷身的一次训练,并匹配经验、器材、健康限制和可用时间。
使用语言参考中定义的固定标签和共享结构,以一种受支持的语言格式化完整消息。
遵守安全规则:避免诊断和医疗声明,只使用已报告数据,在出现风险因素时谨慎调整,并在适当时建议专业意见。
如果请求重复配送,在创建或更新 cron 自动化前确认本地时间、IANA 时区、语言和目标频道。
确认自动化和下次运行时间;存在匹配任务时更新它,而不是创建重复任务。

配置指南

让 OpenClaw 可以使用健身助手技能目录,包括其 scripts 和 references 目录。
确认执行环境中可用 Python 3。
使用完整档案测试目标计算器:
python3 {baseDir}/scripts/plan.py --age 32 --sex male --height-cm 178 --weight-kg 78 --activity moderate --goal lose
如果档案使用磅和英寸记录,则使用英制输入模式:
python3 {baseDir}/scripts/plan.py --unit imperial --age 32 --sex male --height-in 70 --weight-lb 172 --activity moderate --goal lose
当下游自动化需要机器可读的计算器输出时添加 --json:
python3 {baseDir}/scripts/plan.py --age 32 --sex male --height-cm 178 --weight-kg 78 --activity moderate --goal lose --json
收集并保存 references/profile.md 中定义的档案字段;不要虚构缺失的健康或身体数据。
对于重复配送,按照 references/scheduling.md 使用已确认的配送时间和 tz 值创建 cron 自动化。日程负载应引用此技能,以便每次运行都生成新计划。

数据架构

用户档案
字段 用途
年龄和性别 支持目标计算和安全调整
身高和体重 接受公制或英制测量,用于身体和能量计算
活动水平 帮助估算每日能量消耗
目标 确定热量和训练指导方向
健康状况和限制 控制谨慎调整及咨询建议
饮食限制 筛选饮食建议
训练经验和器材 决定运动选择和复杂度
日常安排 帮助将饮食和训练融入用户日程
IANA 时区 本地化重复配送所必需
语言 选择一种受支持的输出语言及其固定标签
生成的计划数据
营养计算: BMI、BMR、TDEE、热量目标,以及蛋白质、脂肪和碳水化合物目标。
饮食计划: 早餐、午餐、晚餐、可选加餐、饮水目标、份量和按宏量营养素安排的饮食指导。
训练计划: 热身、主要训练、冷身、运动选择和课程结构。
安全背景: 适用时包含限制、禁忌、最低热量遵循情况和专业咨询建议。
本地化元数据: 所选语言、固定标签、配送时间和时区。
自动化元数据
Cron 日程和时区(tz)。
目标位置,例如当前聊天或其他已配置频道。
引用健身助手技能的负载提示词。
用于更新而非重复创建日程的现有任务标识。
已确认的下次执行时间。

高级特性

通过计算器的单位处理支持公制和英制测量。
为机器可读工作流和自动化集成提供 JSON 计算器输出。
使用已保存档案,仅请求缺失字段,避免收集重复信息。
通过语言参考中定义的固定标签生成一致的多语言输出。
每次定时运行都生成新的每日计划,而不是反复发送静态消息。
使用明确的 IANA 时区进行 cron 日程安排,确保可靠的本地时间配送。
在确认目标后支持配送到当前聊天或其他已配置频道。
在适当时更新现有自动化,防止重复的周期性任务。
对慢性病、怀孕、药物影响及未满 18 岁用户执行最低热量标准和谨慎的安全行为。


name: fitness-assistant description: Plan daily meals and workouts from a user's age and health profile, then schedule localized daily plans via OpenClaw automations.

Fitness Assistant

Builds a personalized one-day diet plan + workout plan from the user's age, body data, and health condition, and can deliver it every day on a schedule in the user's chosen language and timezone.

Use this skill when the user asks for:

a daily meal/diet plan, calorie or macro targets, or a workout plan;
recurring daily fitness messages ("send me a plan every morning", "定时发每日计划", "daily plan", etc.).

Workflow

  1. Profile

Load the saved user profile if one exists; otherwise collect the fields listed in references/profile.md. Ask only for what is missing. Minimum required: age, sex, height, weight, activity level, goal, health conditions/limitations, dietary restrictions, training experience/equipment, daily routine, timezone (IANA), language.

  1. Compute targets

Run the calculator and use its numbers:

python3 {baseDir}/scripts/plan.py --age 32 --sex male --height-cm 178 --weight-kg 78 --activity moderate --goal lose

Use --unit imperial for lb/in inputs and --json for machine-readable output. The script prints BMI, BMR, TDEE, the calorie target, and protein/fat/carbs grams. If the script cannot run, compute manually using the formulas and defaults in references/meal-planning.md.

  1. Build today's plan Diet: breakfast / lunch / dinner / optional snack split, water target, and macro-aware portions following references/meal-planning.md. Respect dietary restrictions and the calorie floors.
    Workout: one session matched to experience, equipment, and time available, following references/training.md; include warm-up, main work, and cooldown.
    Language: write the whole message in the user's chosen language from the 8 in references/languages.md, using that file's fixed labels so every language has the same structure.
    Safety: this is general lifestyle guidance, not medical advice. If the profile shows a chronic condition, age under 18, pregnancy, or medication that affects diet/training, adapt conservatively and recommend professional consultation before following the plan. Never go below the calorie floors in meal-planning.md.
  2. Schedule daily delivery (when requested)

When the user wants the plan published on a schedule:

Confirm the delivery time (their local clock), timezone (IANA name), language, and where to deliver (this chat or another channel).
Create an automation with a cron schedule plus tz, whose payload prompt references this skill so each run produces a fresh daily plan — see references/scheduling.md for the exact tool/CLI calls and the ready-to-use prompt template.
Confirm the created job and tell the user the next run time; if a job already exists, update it instead of creating a duplicate.

Boundaries

Do not invent health data or diagnose; use only what the user reports.
Do not use languages outside the 8 supported ones, and do not mix languages in one message.
Do not schedule without a confirmed timezone and delivery time.
Do not add medical claims or guaranteed outcomes ("burn fat in 7 days").

Media Bias News

ai-ecommerce-expert-tiktok-shop-ecommerce-content