تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

calorie-counter

بواسطة cnqso

Health & Fitness
1.6kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Track daily calorie and protein intake, set goals, and log.

الوصف

ما الذي تفعله هذه المهارة

Tracks daily calorie and protein intake using a local SQLite database. Accepts food entries by name with calorie and protein values, estimates protein when not specified, and shows running totals after each entry. Also logs body weight and maintains history across days.

Runs entirely locally with no account or subscription, and the agent can estimate protein automatically so users don't need to look up nutritional data themselves.

متى تستخدمها

  • Logging meals throughout the day without opening an app
  • Checking how many calories remain before dinner
  • Setting a new calorie goal before starting a diet
  • Tracking weight changes over the past month
  • Deleting a mistakenly logged food entry

مثال على سير العمل

الإدخال

User says: I had scrambled eggs with toast for breakfast, around 400 calories

الوكيل
  1. 1

    Estimates protein: eggs contribute roughly 0.12g/cal, toast roughly 0.03g/cal, blended estimate ~18g for the meal

  2. 2

    Runs: python3 workspace/calorie-counter/scripts/calorie_tracker.py add "scrambled eggs with toast" 400 18

  3. 3

    Reads output showing today's running total and remaining calories against the daily goal

الإخراج

Entry logged: scrambled eggs with toast (400 cal, 18g protein). Today: 400 / 2000 cal (remaining: 1600) | Protein today: 18g | Entries: 1

التثبيت

clawhub install cnqso/calorie-counter

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط