Tracks daily diet and calculates nutrition information to help achieve weight loss goals. Use when user provides meal information, asks about calorie intake, requests remaining calorie budget, or needs meal logging reminders. Automatically reminds user to log meals via cron job at lunch and dinner times.
40:Tf54,
This skill helps track daily diet and achieve weight loss goals with automated meal reminders.
User might say:
Or automatically triggered by cron job for meal reminders.
This skill works with automated cron jobs:
Cron job system event: 饮食记录检查:午餐 or 饮食记录检查:晚餐
The skill reads from USER.md:
Activity levels:
scripts/get_food_nutrition.py
references/food_database.json if neededscripts/update_memory.py
memory/YYYY-MM-DD.mdFood Name - XX kcal (P: XXg, C: XXg, F: XXg)scripts/get_food_nutrition.py: Fetches nutrition info + calculates TDEEscripts/update_memory.py: Updates daily memory file with meal datareferences/food_database.json: Fallback database of common foodsIssue: "Cannot read USER.md" or missing user data
Issue: Nutrition lookup fails for uncommon foods
Issue: Multiple food items in one meal
REQUIRED FORMAT — Must include calories + macronutrients:
## Diet Log
**Breakfast**: [food] - [X] kcal (P: [X]g, C: [X]g, F: [X]g)
**Lunch**: [food] - [X] kcal (P: [X]g, C: [X]g, F: [X]g)
**Dinner**: [food] - [X] kcal (P: [X]g, C: [X]g, F: [X]g)
**Daily Total**: [X] / [target] kcal
- Protein: [X] / [target]g (remaining: [X]g)
- Carbs: [X] / [target]g (remaining: [X]g)
- Fat: [X] / [target]g (remaining: [X]g)
**Predicted weight change**: [-/+ X] kg
⚠️ Strictly prohibited to record only calories while omitting macronutrient grams!