Photo Calorie Tracker
by @bobo23456
Photo Calorie Tracker - Recognizes food photos, logs daily calorie intake, and analyzes any date range. Use when: the user sends food images or asks about ca...
clawhub install photo-calorie-trackerπ About This Skill
name: image-calorie-tracker description: > Photo Calorie Tracker - Recognizes food photos, logs daily calorie intake, and analyzes any date range. Use when: the user sends food images or asks about calories over the past X days. NOT for: weight change analysis, detailed nutrition breakdowns, or workout plan design.
π₯ Photo Calorie Tracker (image-calorie-tracker)
Recognizes food photos, logs daily calorie intake, and generates reports.
When to Run
Workflow
Log Meals
1. Copy images to/root/.openclaw/workspace/temp_qqdata/YYYY-MM-DD-meal.jpg
2. Use the image tool to recognize food
3. Estimate calories for each food item
4. Update /root/.openclaw/workspace/memory/YYYY-MM-DD.mdGenerate Report
1. Read records for the target dates from/root/.openclaw/workspace/memory/
2. Read the target calories from /root/.openclaw/workspace/skills/image-calorie-tracker/config/target_calorie.txt
3. Output the report in the required formatOutput Format
π Calorie Tracking | Target:{target}γMM-DDγ{status}
{Breakfast if any}: {calories}
{Lunch if any}: {calories}
{Dinner if any}: {calories}
{Snack if any}: {calories}
Status Rules
Meal Display Rules
Meal Definitions
Food Calorie Reference
| Category | Food | Calories (per 100g) | |------|------|--------------| | Staples | Rice | 130 kcal | | Staples | Mixed grain rice | 120 kcal | | Meat | Fried chicken cutlet | 280 kcal | | Meat | Stir-fried pork slices | 180 kcal | | Vegetables | Green pepper with pork | 150 kcal | | Vegetables | Shredded potatoes | 120 kcal | | Bakery | Bread/Cake | 250-350 kcal |
File Paths
/root/.openclaw/workspace/temp_qqdata//root/.openclaw/workspace/memory/YYYY-MM-DD.md/root/.openclaw/workspace/skills/image-calorie-tracker/config/target_calorie.txtExample Output
π Calorie Tracking | Target:2100γ03-16γ+7%
Lunch: 1115
γ03-17γIncomplete
Lunch: 820
Snack: 280