Log food and drinks for Fermin into the fitness food log. Use whenever Fermin mentions eating, drinking, or having any food/beverage — including meals, snacks, protein shakes, coffee, water, or any item with nutritional value. Triggers on: 'I ate', 'I drank', 'I had', 'log this', 'I just ate', mentions of specific foods (eggs, rice, chicken, Huel, coffee, banana, etc.), or sending a photo of food. Also use when asked for today's nutrition summary or protein/calorie totals.
/home/node/.openclaw/.openclaw/workspace/fitness/db/food-log.json
Append to log[] array:
{
"date": "YYYY-MM-DD",
"meal": "<breakfast|lunch|dinner|snack|coffee|pre-workout|post-workout>",
"time": "HH:MM",
"foods": [
{ "item": "description", "protein": 0, "carbs": 0, "fat": 0, "calories": 0 }
],
"totals": { "protein": 0, "carbs": 0, "fat": 0, "calories": 0 },
"notes": "optional"
}
| Item | Protein | Carbs | Fat | kcal |
|---|---|---|---|---|
| Scrambled egg (1) | 6g | 1g | 5g | 70 |
| Arepa colombiana (1) | 3g | 20g | 2g | 110 |
| Banana (1 medium) | 1g | 27g | 0g | 105 |
| White rice (1 cup) | 4g | 45g | 0g | 200 |
| Grilled chicken (150g) | 35g | 0g | 5g | 185 |
| Red beans (1 cup) | 8g | 35g | 1g | 180 |
| Huel Black (1 serving) | 40g | 28g | 16g | 400 |
| Black coffee + sugar (1 tsp) | 0g | 4g | 0g | 16 |
| Avocado (1/4) | 1g | 3g | 7g | 80 |
| Sweet plantain (1) | 1g | 30g | 0g | 120 |
| Fried egg (1) | 6g | 0g | 5g | 70 |
For unlisted items, estimate macros based on standard nutritional values.
log[] in the JSON fileWhen asked for summary, sum all entries for today and show: