Nutrition Tracker for Openclaw

A professional nutrition logging system that syncs daily caloric and macronutrient data directly to your Obsidian vault using profile-based target logic.

abstract-sum
v0.1.0
Mar 4, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install nutrition-tracker

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 nutrition-tracker 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 Nutrition Tracker?

The Nutrition Tracker is a specialized health management tool designed for users who want to maintain high-fidelity records of their diet within a local-first environment. As a key entry in the Openclaw Skills library, it bridges the gap between raw data entry and organized knowledge management. The skill enables users to initialize a comprehensive health profile—including sex, height, weight, and activity levels—to generate goal-oriented targets for protein, carbs, and fats.

By leveraging Obsidian as its storage engine, the Nutrition Tracker ensures that your health journey is fully integrated with your daily notes. It uses deterministic scripts to log meals and check progress, providing a structured way to handle nutrition without the privacy concerns of third-party cloud apps. This skill is ideal for developers and quantified-self enthusiasts who value data ownership and automated workflows.

Nutrition Tracker Use Cases

  • Tracking daily caloric intake and macronutrient distribution (P/C/F) during fat loss or muscle gain phases.
  • Maintaining a persistent health profile within an Obsidian vault for long-term fitness monitoring.
  • Automated calculation of nutritional targets based on physical metrics and specific goals like cutting.
  • Generating monthly localized Markdown logs of eating habits for review and analysis.

How Nutrition Tracker Works

  1. The user initializes or updates their health profile using a dedicated script, which calculates daily calorie and macro needs based on inputs like activity level and goals.
  2. Meal data is captured through a logging script that records the description, time, and specific nutrient values.
  3. The skill automatically creates or appends to a monthly Markdown file in the Obsidian vault, organizing data by date.
  4. A check-today script evaluates the current day's logs against the profile's targets to provide an immediate status update on nutritional compliance.
  5. All data is stored in a clean, JSON and Markdown-based directory structure for easy querying via other Openclaw Skills or Obsidian plugins.

Nutrition Tracker Setup

To begin using this skill among your Openclaw Skills, initialize your profile with the following command:

bash ~/.openclaw/workspace/skills-public/nutrition-tracker/scripts/nutrition_init.sh \
  --sex male --height 175 --weight 75 --activity office --goal cut --kcal 2200 --lang en-US

To log a specific meal to your vault:

bash ~/.openclaw/workspace/skills-public/nutrition-tracker/scripts/nutrition_log.sh \
  --date "2026-03-04" --time "19:54" --meal dinner \
  --desc "rice 150g; chicken 200g" \
  --kcal 830 --p 45 --c 69 --f 15 \
  --lang en-US

Nutrition Tracker Data Schema & Taxonomy

The Nutrition Tracker organizes data within the following schema in your vault:

Path Format Description
health/eat/profile.json JSON Stores physical metrics, activity level, and calculated macro targets.
health/eat/YYYY-MM/YYYYMM_calories_macros.md Markdown Daily log entries including descriptions and macro totals.

Logs are organized by month to prevent file bloating and ensure fast access within any Openclaw Skills workflow.

Nutrition Tracker Advanced Features

  • Goal-based auto-calculation: Automatically sets macros (e.g., 2.0 g/kg protein for fat loss) based on the user's current weight.
  • Multi-language support: Full i18n capabilities supporting both English (en-US) and Chinese (zh-CN).
  • Explicit target overrides: Power users can bypass auto-calculations to set custom P/C/F targets via CLI flags.
  • Local-first integrity: Designed to be deterministic through shell scripts, avoiding free-form editing errors and maintaining data consistency.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*