返回顶部
i

image-calorie-tracker

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
170
下载量
0
收藏
概述
安装方式
版本历史

image-calorie-tracker

# 🔥 Photo Calorie Tracker (image-calorie-tracker) Recognizes food photos, logs daily calorie intake, and generates reports. ## When to Run - The user sends food images - The user asks about calories over the past X days (X is any number) ## 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.md` ### Generate 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 format ## Output 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 - **Incomplete**: lunch or dinner is missing (breakfast does not count) - **{percent}%**: difference between total calories and target; positive means over, negative means under ### Meal Display Rules - Show only lunch, dinner, and snack (breakfast not counted) - Omit meals that are not recorded - Calorie unit: kcal ## Meal Definitions - **Lunch**: around 12:00, about 300-800 kcal - **Dinner**: around 18:00, about 400-1000 kcal - **Snack**: snacks/desserts between lunch and dinner ## 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 - Temp images: `/root/.openclaw/workspace/temp_qqdata/` - Daily records: `/root/.openclaw/workspace/memory/YYYY-MM-DD.md` - Target calories: `/root/.openclaw/workspace/skills/image-calorie-tracker/config/target_calorie.txt` ## Example Output ``` 📊 Calorie Tracking | Target:2100 【03-16】+7% Lunch: 1115 【03-17】Incomplete Lunch: 820 Snack: 280 ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 photo-calorie-tracker-1776193023 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 photo-calorie-tracker-1776193023 技能

通过命令行安装

skillhub install photo-calorie-tracker-1776193023

下载 Zip 包

⬇ 下载 image-calorie-tracker v1.0.0

文件大小: 3.17 KB | 发布时间: 2026-4-17 15:45

v1.0.0 最新 2026-4-17 15:45
- Initial release: Photo Calorie Tracker skill
- Recognizes food images, logs daily calorie intake, and analyzes intake over user-specified date ranges
- Provides formatted calorie tracking reports based on meal photos and daily records
- Focused on lunch, dinner, and snack logging (breakfast excluded from calculations)
- Includes built-in food calorie reference for common meal items
- Not intended for weight analysis, full nutrition breakdowns, or workout planning

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部