TRIGGER when: user asks about workout plans, exercise routines, fat loss, muscle gain, body recomposition, meal planning for fitness, calorie or macro tracki...
Coding
fitness-assistant
Try itPlan daily meals and workouts from a user's age and health profile with customizable ingredients, then schedule localized plans via OpenClaw automations.
What it does
Plan daily meals and workouts from a user's age and health profile with customizable ingredients, then schedule localized plans via OpenClaw automations.
The skill document
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").
Related skills
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
Log meals from photos, text, or labels and get ranged calorie and macro estimates with built-in safety guardrails.
Track intermittent and extended fasts from last caloric intake, with stage estimates, electrolyte prompts, and scaled refeeding guidance.