TRIGGER when: user asks about workout plans, exercise routines, fat loss, muscle gain, body recomposition, meal planning for fitness, calorie or macro tracki...
编程
fitness-assistant
试用Plan daily meals and workouts from a user's age and health profile with customizable ingredients, then schedule localized plans via OpenClaw automations.
它能做什么
Plan daily meals and workouts from a user's age and health profile with customizable ingredients, then schedule localized 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.
2. 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.
3. 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.
4. 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").
相关技能
Fitness and workout assistant. Helps with exercise plans, nutrition advice, workout programming, and training progression. Use when someone asks about fitness, exercise, nutrition, or wants help with their training program.
Use only when the user explicitly asks for nutrition or diet-related help: calorie and macro estimation, TDEE/BMR and target intake calculations, meal planni...
Weekly meal planner - input people count, budget, taste preference → output 7-day menu with breakfast/lunch/dinner and shopping list
拍照、文字或拍营养标签都能记录一餐,输出区间形式的热量与宏量营养素估算,并带安全护栏。
以最后一次进食为起点记录间歇性与长时断食,估算当前阶段,并在 24 小时后给出电解质与复食建议。