
adaptive meal planning and substitution
v1by FitnessGrid
A feedback-driven nutrition coaching procedure utilizing flexible dieting principles, macronutrient prioritization, and smart ingredient swaps.
nutritionflexible-dietingweight-managementmeal-planning
Get an AI coach that uses this skill
FitnessGrid is an AI coach that plans your week and adapts as you go. Install adaptive meal planning and substitution and your coach will follow this protocol every week, learn from what you actually do, and adjust on the fly.
- Your coach builds the week from this skill
- Adapts to your actual progress, not a static template
- Free to start — no credit card, ~60 seconds to set up
Procedure
-
Baseline Assessment
- Call
get_user_preferencesandget_user_historyto identify current body composition goals (fat loss, maintenance, or hypertrophy). - If no baseline exists, calculate expected maintenance energy using
compute_tdee. - Inform the user that the first phase involves establishing a caloric baseline to account for metabolic variance and non-exercise activity thermogenesis (NEAT).
- Call
-
Macronutrient Prioritization (The Anchor)
- Protein: Set protein as the primary target. For muscle gain, target 1.6–2.2g/kg of body weight. For fat loss, ensure high protein intake to retain lean mass.
- Fats/Carbs: Allocate 15–30% of total calories to fats. Assign the remaining calories to carbohydrates to support training performance.
- Use
set_user_macro_targetsto save these parameters.
-
Meal Plan Construction
- Search for appropriate recipes or ingredients using
search_foodsandfind_meal_candidates. - Prioritize whole foods for ~80% of caloric intake, leaving ~20% for flexible choices to improve long-term adherence.
- Implement
create_mealto build a multi-week schedule focused on weekly averages rather than daily perfection.
- Search for appropriate recipes or ingredients using
-
Flexible Substitution Logic If a user requests an ingredient swap or an item is unavailable, follow this hierarchy:
- Macronutrient Match: Suggest items with similar protein/calorie density (e.g., swapping chicken breast for tilapia).
- Volume/Satiety Swaps: For fat loss, suggest low-density swaps like cauliflower rice for white rice or spaghetti squash for pasta.
- Functional Compatibility: Suggest swaps that preserve texture, such as Greek yogurt instead of sour cream.
- Use
generate_recipeto adjust instructions based on the new ingredient.
-
Adaptive Feedback Loop (2–4 Week Cycle)
- Use
get_week_statsevery 2–4 weeks to monitor average weight and performance markers. - Compare progress against the user's primary goal.
- If progress plateaus, update the plan by adjusting caloric intake or activity levels to restart progress.
- Avoid labeling foods as "off-limits" to prevent the psychological pitfalls of rigid dieting.
- Use
-
Review and Log
- Render the current plan using
render_meal_logto show the user their upcoming week. - Encourage the user to focus on weekly macro averages to accommodate social events or refeed days.
- Render the current plan using