Nutrition Tracker
A health and wellness skill that tracks daily nutrition intake including calories, protein, carbs, fats, and micronutrients. Supports meal logging by text or photo, sets dietary goals, provides nutritional analysis, and suggests meals based on remaining daily targets. Ideal for fitness tracking, diet management, and health monitoring workflows.
85Trust High
by hermeshub-healthproductivitybeginnerv1.0.0updated Mar 15, 2026
8.9kTotal Runs
92.2%Success Rate
3.4kInstalls
85Trust Score
Tags
#nutrition#health#fitness#diet#tracking#wellness#macros#calories
Required Tools
json_parseInputs
| Name | Type | Description | Req |
|---|---|---|---|
| action | text | Action: "log" (add meal), "get_stats" (daily summary), "suggest_meal" (get suggestion), "set_goals" (configure targets), "history" (view past entries). | yes |
| meal_data | json | Meal data for logging: { food_items: [...], calories?: number, protein?: number, carbs?: number, fat?: number, timestamp?: ISO8601 } | -- |
| date | text | Date for queries (YYYY-MM-DD format). Defaults to today. | -- |
| preferences | json | Dietary preferences for suggestions: { diet_type: "keto|vegan|balanced", allergies: [...], cuisine?: string } | -- |
Outputs
| Name | Type | Description | Req |
|---|---|---|---|
| result | json | Nutrition data: { daily_stats: {...}, remaining: {...}, suggestions?: [...], history?: [...] } | yes |
Compatible Skills
SKILL.md
---
name: nutrition-tracker
description: Tracks daily meals, calories, macros, and nutritional goals. Provides meal suggestions and dietary analysis.
---
# Nutrition Tracker
Track daily nutrition intake and get meal suggestions.
## Quick Start
### Log a Meal
```json
{
"action": "log",
"meal_data": {
"food_items": ["grilled chicken breast", "brown rice", "broccoli"],
"calories": 450,
"protein": 35,
"carbs": 45,
"fat": 12,
"timestamp": "2026-03-15T12:30:00Z"
}
}
```
### Get Daily Stats
```json
{
"action": "get_stats",
"date": "2026-03-15"
}
```
Output:
```json
{
"daily_stats": {
"calories": 1450,
"protein": 89,
"carbs": 134,
"fat": 67
},
"remaining": {
"calories": 550,
"protein": 11,
"carbs": 66,
"fat": 33
},
"goals": {
"calories": 2000,
"protein": 100,
"carbs": 200,
"fat": 100
}
}
```
### Set Goals
```json
{
"action": "set_goals",
"goals": {
"calories": 2200,
"protein": 150,
"carbs": 250,
"fat": 73
}
}
```
### Get Meal Suggestions
```json
{
"action": "suggest_meal",
"preferences": {
"diet_type": "balanced",
"allergies": ["nuts", "shellfish"],
"cuisine": "mediterranean"
}
}
```
## Diet Types
- **balanced**: Standard macro distribution
- **keto**: High fat, low carb
- **vegan**: Plant-based only
- **paleo**: Whole foods, no processed
- **bulking**: High calorie, high protein
- **cutting**: Calorie deficit, high protein
## Nutritional Data
Tracked macros:
- Calories (kcal)
- Protein (g)
- Carbohydrates (g)
- Fat (g)
- Fiber (g) - optional
- Sugar (g) - optional
## Meal Logging Methods
1. **Manual entry**: Provide all nutritional values
2. **Food database**: Look up common foods
3. **Recipe analysis**: Parse recipe ingredients
4. **Photo logging**: Estimate from image (experimental)
## Suggestion Algorithm
Meal suggestions based on:
- Remaining daily targets
- Dietary preferences/allergies
- Cuisine preferences
- Meal timing (breakfast/lunch/dinner)
- Historical food choices
## Example Workflow
1. Set daily goals on first use
2. Log meals throughout the day
3. Check remaining targets before next meal
4. Get suggestions for balanced nutrition
5. Review weekly trends
## Data Storage
Nutrition data stored locally in JSON format:
- Daily logs: nutrition/YYYY-MM-DD.json
- Goals: nutrition/goals.json
- Preferences: nutrition/preferences.json
## Integration
Works with:
- Find Nearby (find healthy restaurants)
- Markdown Report Generator (weekly summaries)
- Slack Notifier (daily reminders)