Diet Log for Openclaw

An advanced AI diet assistant that transforms meal descriptions into deep nutritional insights including macros, minerals, and vitamins.

sj13818161942
v1.0.0
Apr 14, 2026
0
762
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install diet-log

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install diet-log using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Diet Log?

Diet Log is a specialized health utility designed for the Openclaw Skills ecosystem to provide comprehensive dietary tracking through natural language. By utilizing a robust database of over 1,600 food items, this skill allows users to record their daily intake and receive an immediate, multi-dimensional analysis of their nutritional health. It bridges the gap between casual meal logging and professional dietetics by automating the calculation of complex nutrient data.

Built for users who require more than just calorie counting, the skill handles everything from macro-nutrients to trace minerals and diverse vitamin groups. Its intelligent parsing and matching system ensure that even ambiguous entries are handled with technical precision, making it an essential component of any health-conscious developer's workflow within Openclaw Skills.

Diet Log Use Cases

  • Logging daily meals and snacks using simple natural language input.
  • Analyzing the detailed nutritional density (vitamins and minerals) of specific foods.
  • Generating automated weekly or monthly health reports to monitor dietary trends.
  • Auditing nutritional intake against standard daily recommended values for adults.

How Diet Log Works

  1. The user triggers the skill by mentioning food intake or requesting a nutritional analysis.
  2. The system parses the text to identify food items and estimated portions.
  3. It verifies the presence of the food_data.json reference file.
  4. A three-tier matching logic is applied: first attempting an exact match, then a category-based reference, and finally prompting the user for clarification if needed.
  5. The skill calculates 30+ nutritional fields proportional to the weight of the consumed food.
  6. A structured report is output to the user, and the entry is permanently logged into meal_log.json.

Diet Log Setup

To activate this skill within Openclaw Skills, you must provide the external food database due to its comprehensive size.

  1. Download the food database (food_data.json) from the official GitHub repository: https://github.com/sj13818161942/diet-log.
  2. Place the file in the references subdirectory of the skill:
mkdir -p diet-log/references
# Move the downloaded food_data.json here
  1. Ensure your local environment has read/write permissions for generating the meal_log.json history file.

Diet Log Data Schema & Taxonomy

The skill organizes its operations through two primary JSON structures to ensure data integrity:

File Description
food_data.json Static reference database containing 1,643 food records with full nutritional profiles per 100g.
meal_log.json Dynamic user log storing historical meal data, calculated totals, and user notes.

Nutritional fields tracked include energy (kcal), macronutrients (protein, fat, carbs, fiber), fatty acid profiles, 10 essential minerals (calcium, iron, zinc, etc.), and a complete B-complex and fat-soluble vitamin set.

Diet Log Advanced Features

  • Three-Level Matching Strategy: Ensures high data accuracy by falling back to category-based reference values when specific items aren't found.
  • Full Micronutrient Spectrum: Tracks complex data points like selenium, copper, and various fatty acids often ignored by basic trackers.
  • Dynamic Reporting: Supports date-range filtering to generate averages and totals for specific timeframes (Daily/Weekly/Monthly).
  • Contextual Suggestions: Provides technical evaluations and advice based on how the logged intake compares to standard adult requirements.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*