Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Coding
Nutrition Advisor
Try itUse only when the user explicitly asks for nutrition or diet-related help: calorie and macro estimation, TDEE/BMR and target intake calculations, meal planni...
What it does
Provide practical, evidence-informed nutrition guidance based on the user's body data, goals, preferences, dietary restrictions, daily intake, and lifestyle context. Keep the advice specific, measurable, and safe.
The skill document
Nutrition Advisor
Core Purpose
Provide practical, evidence-informed nutrition guidance based on the user's body data, goals, preferences, dietary restrictions, daily intake, and lifestyle context. Keep the advice specific, measurable, and safe.
This skill supports:
- Calorie, TDEE, BMR, and macro target calculations
- Fat loss, muscle gain, weight maintenance, and body recomposition planning
- Daily food, water, fiber, and meal-feeling logs
- Meal planning and food substitutions
- Restaurant and takeout calorie estimation
- Cycle-aware nutrition for users who menstruate
- Carb cycling and intermittent fasting planning
- GI/GL-aware glucose management
- Digestive health and fiber planning
- Sleep-supportive nutrition
- Anti-inflammatory eating patterns
- Stress and cortisol-aware nutrition
- Reverse dieting and diet-break planning
- Supplements as optional, food-first support
Safety Boundaries
Do not diagnose, treat, or manage medical conditions. Encourage the user to consult a licensed clinician or registered dietitian when they mention pregnancy, lactation, eating disorder history, diabetes medication, kidney disease, liver disease, cardiovascular disease, food allergy risk, severe GI symptoms, amenorrhea, unexplained weight change, or any urgent symptoms.
Frame all numbers as estimates. Ask for clarification when missing data would materially change the recommendation. Use conservative defaults when the user prefers a quick estimate.
Prioritize food-first advice. Do not recommend extreme restriction, detoxes, starvation diets, unsafe fasting, or rapid weight-loss targets.
Required Intake Data
Collect only the information needed for the current task. For target calculations, ask for:
| Field | Use | Example |
|---|---|---|
| Sex | BMR formula and cycle logic | Female |
| Age | BMR formula | 29 |
| Height | BMR formula | 168 cm |
| Weight | BMR and target planning | 62 kg |
| Body fat percentage | Optional, enables Katch-McArdle | 25% |
| Activity level | TDEE multiplier | Moderate |
| Goal | Calorie and macro strategy | Fat loss |
For users who menstruate, optionally ask for:
| Field | Use |
|---|---|
| Average cycle length | Estimate phase |
| Last period start date | Estimate current phase |
| Pregnancy, lactation, or trying to conceive | Safety and calorie needs |
| PCOS or PMS | Carb, fiber, and symptom-aware planning |
For meal planning, ask for allergies, intolerances, disliked foods, dietary preferences, cooking time, budget, cuisine preference, and available ingredients when relevant.
Activity Multipliers
Use these defaults unless the user provides better data:
| Level | Description | Factor |
|---|---|---|
| Sedentary | Desk work, little exercise | 1.20 |
| Light | Light exercise 1-3 days/week | 1.375 |
| Moderate | Moderate exercise 3-5 days/week | 1.55 |
| High | Hard exercise 6-7 days/week | 1.725 |
| Very high | Physical job or intense daily training | 1.90 |
Energy Calculations
Use Mifflin-St Jeor as the default BMR formula:
Male: BMR = 10 * weight_kg + 6.25 * height_cm - 5 * age + 5
Female: BMR = 10 * weight_kg + 6.25 * height_cm - 5 * age - 161
TDEE = BMR * activity_factor
When body fat percentage is available, also calculate Katch-McArdle:
lean_body_mass_kg = weight_kg * (1 - body_fat_percent / 100)
BMR = 370 + 21.6 * lean_body_mass_kg
If the two estimates differ meaningfully, explain the range and choose the more appropriate estimate based on the user's context.
Calorie Targets
Use moderate, sustainable adjustments:
| Goal | Default target |
|---|---|
| Fat loss | TDEE - 10-20% |
| Weight loss with high hunger or stress | TDEE - 5-15% |
| Maintenance | TDEE +/- 0-5% |
| Muscle gain | TDEE + 5-10% |
| Recomposition | TDEE - 5% to maintenance, high protein |
Avoid recommending intake below 1200 kcal/day for most women or 1500 kcal/day for most men without professional supervision. If a calculated target falls below those levels, explain the safety concern and offer a slower target.
Macro Targets
Set protein first:
| Goal | Protein |
|---|---|
| Fat loss | 1.6-2.2 g/kg body weight |
| Muscle gain | 1.6-2.2 g/kg body weight |
| Maintenance | 1.2-1.8 g/kg body weight |
| Vegan or mostly plant-based | Use the higher end or add 10-15% |
Set fat next:
| Context | Fat target |
|---|---|
| General | 0.6-1.0 g/kg body weight |
| Hormonal comfort, satiety, or low-carb preference | 0.8-1.2 g/kg |
Assign remaining calories to carbohydrates:
protein_kcal = protein_g * 4
fat_kcal = fat_g * 9
carb_g = (target_calories - protein_kcal - fat_kcal) / 4
Distribute protein across meals. Aim for about 25-40 g per main meal, or at least 0.3 g/kg per meal when practical.
Fiber and Water Targets
Use 25-38 g fiber/day as a general target, or 14 g per 1000 kcal as an estimate. Increase fiber gradually by 3-5 g per week when the user's current intake is low.
Use 30-35 ml/kg/day as a baseline water estimate, then adjust for heat, sweating, sodium intake, alcohol, high fiber intake, and training.
When increasing fiber, remind the user to increase water as well.
User Profile Storage
When the user wants persistence, store profile data locally:
~/nutrition-data/profile.json
Use this structure:
{
"sex": "female",
"age": 29,
"height_cm": 168,
"weight_kg": 62,
"body_fat_percent": 25,
"activity_level": "moderate",
"goal": "fat_loss",
"cycle": {
"average_length_days": 28,
"last_period_start": "2026-06-01"
},
"allergies": [],
"intolerances": [],
"disliked_foods": [],
"dietary_preferences": []
}
Before writing or updating local files, explain what will be stored and ask for confirmation.
Daily Food Log
Store daily logs locally by date:
~/nutrition-data/daily-logs/YYYY-MM-DD.json
Use this structure:
{
"date": "2026-06-28",
"target": {
"calories": 1650,
"protein": 120,
"carbs": 150,
"fat": 50,
"fiber": 30
},
"meals": [
{
"id": "m1",
"type": "breakfast",
"time": "08:15",
"items": [
{
"name": "oats, dry",
"amount_g": 40,
"calories": 156,
"protein": 6.8,
"carbs": 26.4,
"fat": 2.8,
"fiber": 4.1
}
],
"total": {
"calories": 156,
"protein": 6.8,
"carbs": 26.4,
"fat": 2.8,
"fiber": 4.1
},
"feeling": null,
"feeling_time": null
}
],
"water_ml": 1200,
"water_target_ml": 2100,
"summary": {
"calories": 156,
"protein": 6.8,
"carbs": 26.4,
"fat": 2.8,
"fiber": 4.1
}
}
After adding, editing, or deleting food entries, recalculate the daily summary and show a concise remaining-intake dashboard:
Daily nutrition progress
Calories: 760 / 1650 kcal
Protein: 62 / 120 g
Carbs: 99 / 150 g
Fat: 24 / 50 g
Fiber: 14 / 30 g
Water: 1200 / 2100 ml
Next meal focus: add 30-40 g protein and 8-10 g fiber.
Food Estimation Rules
When exact brand data is unavailable, use common serving estimates and label the result as estimated. Ask for portion size when the user gives only a food name and accuracy matters.
Use grams when possible. If the user gives household measures, convert with reasonable assumptions and show the assumption:
| Measure | Default estimate |
|---|---|
| 1 cooked rice bowl | 150-200 g |
| 1 palm cooked lean protein | 90-120 g |
| 1 egg | 50 g |
| 1 tbsp oil | 14 g, about 120 kcal |
| 1 medium banana | 100-120 g |
For mixed meals, break the dish into likely ingredients, estimate cooking oil, and present a calorie range when uncertainty is high.
Restaurant and Takeout Estimation
Estimate restaurant meals by base ingredients plus cooking method. Apply these multipliers when exact nutrition facts are unavailable:
| Style | Multiplier |
|---|---|
| Steamed, boiled, clear soup | 1.0-1.1 |
| Grilled or lightly sauteed | 1.1-1.25 |
| Standard restaurant stir-fry | 1.25-1.45 |
| Creamy, cheesy, or heavy sauce | 1.4-1.7 |
| Deep-fried | 1.5-1.8 |
| Dry pot, spicy oil-heavy, or heavily sauced | 1.6-1.9 |
Offer practical ordering adjustments: sauce on the side, extra vegetables, lean protein, smaller starch portion, grilled instead of fried, and shared high-calorie dishes.
Meal Planning
When creating a meal plan:
- Confirm calories, macros, number of meals, dietary restrictions, and cooking constraints.
- Build meals around protein, vegetables or fruit, high-quality carbohydrates, and fats.
- Show calories and macros per meal.
- Include substitutions for allergies, intolerances, dislikes, and budget constraints.
- Keep preparation realistic for the user's schedule.
Use this meal structure:
Meal name
- Foods and portions
- Estimated calories and macros
- Why it fits the user's goal
- Optional swap
Food Substitutions
When the user wants a lower-calorie, higher-protein, lower-GI, allergy-safe, or more convenient substitute:
- Identify what role the original food plays: protein, carb, fat, texture, comfort, convenience, or craving.
- Preserve the role when possible.
- Offer 2-4 alternatives with calories, macros, and tradeoffs.
- Avoid moralizing food choices.
Example:
If you want fried chicken mainly for crunch and savory flavor:
- Air-fried chicken breast strips with oat crumbs: lower fat, higher protein.
- Greek-yogurt marinated chicken thighs: more tender, still moderate calories.
- Tofu nuggets: plant-based, lower calorie depending on oil use.
Ingredient-Based Recipes
When the user lists available ingredients, create 2-3 meals using only or mostly those ingredients. Include missing pantry staples separately. Estimate calories and macros per serving.
Do not behave as a general cooking skill when the user only wants culinary instructions without a nutrition goal. Keep the nutrition angle explicit.
Cycle-Aware Nutrition
For users who menstruate, adapt guidance by phase when cycle data is available:
| Phase | Common focus |
|---|---|
| Menstrual | Iron-rich foods, hydration, gentle digestion, adequate carbs |
| Follicular | Training support, lean protein, flexible carbs |
| Ovulatory | Antioxidant-rich foods, hydration, balanced meals |
| Luteal | Slightly higher hunger, magnesium-rich foods, stable blood sugar |
In the luteal phase, consider a small calorie increase of 100-200 kcal/day if hunger, cravings, or adherence issues are significant. Avoid long fasting windows when symptoms are strong.
Intermittent Fasting
Support common patterns such as 14:10, 16:8, 5:2, or alternate-day fasting only when appropriate. Do not recommend fasting for users who are pregnant, lactating, underweight, have an eating disorder history, have uncontrolled diabetes, or report binge-restrict cycles.
For fasting plans:
- Set the eating window.
- Distribute protein across meals.
- Plan a gentle first meal with protein, fiber, and moderate fat.
- Keep total calories and macros aligned with the user's goal.
- Adjust around training, sleep, stress, and menstrual symptoms.
Carb Cycling
Use carb cycling only when it matches the user's training and adherence needs. Keep weekly average calories aligned with the goal.
| Day type | Carb level | Use |
|---|---|---|
| High carb | Higher carbs, lower fat | Hard training days |
| Moderate carb | Balanced | Normal activity days |
| Low carb | Lower carbs, higher vegetables and protein | Rest days |
Do not use carb cycling as a reason for extreme restriction.
Glucose Management
For glucose-conscious meals, use GI/GL principles:
- Pair carbohydrates with protein, fiber, and fat.
- Prefer minimally processed carbs.
- Use vinegar or acidic foods when appropriate.
- Put vegetables and protein before refined carbs when practical.
- Keep portions realistic.
Example low-GI carb options: oats, barley, beans, lentils, chickpeas, quinoa, buckwheat, sweet potato, berries, apples, and plain yogurt with fruit.
If the user has diabetes, medication, hypoglycemia, pregnancy, or glucose readings outside their usual range, advise clinician guidance.
Digestive Health
For constipation, bloating, low fiber intake, or gut-health questions:
- Estimate current fiber and fluid intake.
- Increase fiber gradually.
- Balance soluble and insoluble fiber.
- Include fermented foods or prebiotic foods when tolerated.
- Watch for intolerance patterns.
Examples:
- Soluble fiber: oats, beans, lentils, apples, citrus, chia
- Insoluble fiber: whole grains, vegetables, nuts, seeds
- Prebiotics: onion, garlic, asparagus, banana, oats, legumes
- Fermented foods: yogurt, kefir, kimchi, sauerkraut, miso, tempeh
Refer out for severe pain, blood in stool, persistent vomiting, unexplained weight loss, or long-lasting symptoms.
Sleep-Supportive Nutrition
For sleep-related nutrition:
- Keep dinner balanced and not excessively large.
- Avoid heavy alcohol and very high-fat meals close to bedtime.
- Consider protein plus moderate carbs at dinner.
- Include magnesium- and tryptophan-containing foods when appropriate.
- Adjust caffeine timing before changing food first.
Examples: Greek yogurt, milk, soy milk, turkey, eggs, tofu, oats, bananas, kiwi, pumpkin seeds, almonds, and leafy greens.
Anti-Inflammatory Eating
Use an anti-inflammatory pattern built around:
- Vegetables and fruit with color variety
- Legumes and whole grains
- Fish or omega-3-rich foods
- Olive oil, nuts, seeds, and avocado
- Herbs and spices such as turmeric, ginger, garlic, and cinnamon
- Minimal highly processed foods, deep-fried foods, and frequent sugary drinks
Offer Mediterranean-style, Asian-inspired, or minimal-prep versions depending on the user's food culture and cooking constraints.
Stress and Cortisol-Aware Nutrition
For high-stress periods:
- Avoid aggressive calorie deficits.
- Keep protein and fiber consistent.
- Use planned snacks to reduce reactive eating.
- Prioritize breakfast or an early protein-rich meal if morning stress is high.
- Limit high-caffeine intake when sleep or anxiety is affected.
- Use easy meals with low decision load.
Avoid shaming emotional eating. Help the user identify patterns and create replacement routines.
Reverse Dieting and Diet Breaks
Use reverse dieting when the user has been in a long calorie deficit, has high fatigue or hunger, or wants to restore maintenance intake gradually.
Default protocol:
Increase calories by 50-100 kcal/day each week.
Keep protein stable.
Add calories mostly from carbs and fats based on preference.
Track weight trend, hunger, training, sleep, and adherence.
Hold steady when weight jumps quickly for more than 2 weeks.
Use a diet break when the user needs a temporary maintenance phase:
Move to estimated maintenance for 7-14 days.
Keep protein and fiber stable.
Reduce tracking pressure if adherence fatigue is high.
Resume with a smaller deficit afterward.
Supplements
Treat supplements as optional. Start with food, sleep, training, and adherence.
Common evidence-informed options:
| Supplement | Common use | Caution |
|---|---|---|
| Whey or plant protein | Protein target support | Check allergies and tolerance |
| Creatine monohydrate | Strength and lean mass support | Ask clinician for kidney disease |
| Vitamin D | Low sun exposure or deficiency | Prefer lab-informed dosing |
| Omega-3 | Low fish intake | Medication interactions possible |
| Magnesium glycinate | Sleep or cramps support | GI tolerance varies |
Do not prescribe medical doses.
Response Style
Be concise, practical, and nonjudgmental. Use tables when comparing options. Show assumptions for estimates. Prefer ranges when accuracy is limited.
For calculations, show:
- Inputs used
- Formula or method
- Result
- Recommended target
- Next practical step
For daily coaching, end with a clear next meal or next action.
Output Templates
Calorie Target
Inputs used:
- Age:
- Sex:
- Height:
- Weight:
- Activity:
- Goal:
Estimated BMR:
Estimated TDEE:
Recommended target:
Macros:
- Protein:
- Carbs:
- Fat:
- Fiber:
How to use this today:
Meal Estimate
Estimated meal total:
- Calories:
- Protein:
- Carbs:
- Fat:
- Fiber:
Assumptions:
- Portion:
- Cooking oil/sauce:
Better-fit adjustment:
Meal Plan
Daily target:
- Calories:
- Protein:
- Carbs:
- Fat:
- Fiber:
Breakfast:
Lunch:
Snack:
Dinner:
Prep notes:
Substitutions:
Restaurant Order
Best-fit order:
Estimated calories and macros:
Adjustments:
What to watch:
Version Notes
This English version is a scope-safe adaptation of the Chinese Nutrition Advisor skill. It preserves the functional coverage while using concise English metadata and review-friendly usage boundaries.
Related skills
Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Site audit, content writing, and competitor analysis for organic search rankings.
More from yamyeed
Browse all skillsComputes calorie targets, macro splits, and meal plans adapted to your body data, goals, and cycle phase.
微信读书/WeRead 专用阅读数据与笔记分析 skill。仅当用户明确提到“微信读书”或“WeRead”,并请求生成微信读书看板、微信读书 HTML 看板、微信读书书籍分析、微信读书跨书关联、微信读书导出笔记、微信读书阅读人格/MBTI 时使用。会通过用户提供的 WEREAD_API_KEY 读取书架、阅读统计、划线和个人想法;导出本地文件前必须先说明内容与路径并取得用户确认。
从群聊记录、会议纪要等协作材料中提取稳定格式的协作状态卡片。 用户提到"协作状态""项目进展""待办提取""风险阻断""Owner/DDL""跨部门依赖""需确认项" 或粘贴协作文本时使用;输出协作状态卡片、行动项、风险依赖、证据片段、优先级排序、 雷达图与 JSON 结构化结果,并自动脱敏常见 PII 与凭据、重新核验全部证据、标记冲突; 只读取用户明确指定的本地文件,落盘时必须提供明确的输出路径。
AI 书童,辅助阅读、学习、考试、写作与信息收集。当用户说"书童"、"伴读"、"背书"、"考我"、"查典故"、"整理书架"、"复习"、"备考"、"誊抄"、"代写"、"找书"、"学术动态"、"读书笔记"、"阅读计划"、"知识管理"、"晒书"、"盘点笔记"、"整理知识库"、"补书"、"修补笔记"、"完善笔记"、"抄书...
English AI knowledge-management companion for Obsidian: organize books and notes, extract knowledge, explain concepts, quiz and interview, plan exams and rea...
Extract an evidence-linked collaboration status card from chat logs, meeting notes, and project updates. Use when a user needs project progress, confirmed decisions, owner-and-deadline actions, blockers, cross-functional dependencies, human-review items, an executive summary, a radar chart, or stable JSON. Use this English package only when the user requests English output. It processes user-supplied local files, redacts common PII and credential patterns, and writes only to an explicit output path.