ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

diet-tracker

Tracks daily diet and calculates nutrition information to help achieve weight loss goals. Use when the user provides information about their meals and wants to track calorie and macronutrient intake. Also used to remind the user to log meals. This skill reads user's height, weight, age, gender and activity levels from USER.md to predict TDEE. Then based on daily calorie surplus or deficit, extrapolate weight changes.

Why use this skill?

Optimize your diet with the OpenClaw diet-tracker skill. Log meals, calculate TDEE, track macronutrients, and monitor your weight loss progress easily.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/yonghaozhao722/diet-tracker
Or

What This Skill Does

The diet-tracker skill for OpenClaw is a comprehensive nutrition management tool designed to help users monitor their daily intake and achieve long-term weight management goals. By integrating directly with user-specific data stored in USER.md, the skill automatically calculates Total Daily Energy Expenditure (TDEE) based on physiological metrics such as height, weight, age, gender, and activity level. When users log their meals, the skill intelligently identifies food items, fetches precise nutritional data (calories, proteins, carbohydrates, and fats) via get_food_nutrition.py, and maintains an organized record of daily consumption in the memory/ folder. Beyond simple tracking, it provides actionable insights by calculating remaining calorie budgets and extrapolating potential weight change trends, empowering users to make informed dietary decisions.

Installation

To integrate the diet-tracker skill into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/yonghaozhao722/diet-tracker

Ensure that your USER.md file is properly populated with your current health statistics, as the skill relies on this configuration to provide accurate TDEE calculations and calorie targets.

Use Cases

  • Daily Meal Logging: Quickly capture what you have eaten throughout the day for accurate calorie accounting.
  • Caloric Budgeting: Check how many calories you have left for the day to stay within your desired deficit or surplus.
  • Weight Trend Projection: Receive estimates on how your current daily eating habits are influencing your weight loss or gain journey.
  • Reminders: Utilize the skill's capability to prompt you to log your meals if you have forgotten, ensuring data consistency.

Example Prompts

  1. "I had a grilled chicken salad with vinaigrette for lunch, please log this for me."
  2. "How many calories do I have remaining for today based on my current target?"
  3. "Based on my food logs this week, am I currently on track to hit my weight loss goal?"

Tips & Limitations

To ensure the highest accuracy, keep your USER.md updated as your weight or activity level changes. If the system cannot find a specific food item online via the fetch script, it will default to the references/food_database.json file. For best results, use standard food names. Note that nutritional information derived from the web is an estimate; for medical or strictly clinical dietary needs, always consult with a professional healthcare provider. The skill assumes consistent tracking; missing multiple days of entries will result in less accurate long-term weight trend predictions.

Metadata

Stars879
Views0
Updated2026-02-11
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-yonghaozhao722-diet-tracker": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#nutrition#health#diet#fitness#tracking
Safety Score: 4/5

Flags: file-read, file-write, external-api, code-execution