nutrition-tracker

Track daily calories and macros in Obsidian, with profile initialization (sex/height/weight/goal) and goal-based target checks. Includes i18n (zh-CN/en-US). Use when user logs meals, asks if targets are met, or wants to set/remember nutrition profile.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nutrition-tracker" with this command: npx skills add abstract-sum/nutrition-tracker

Nutrition Tracker (Obsidian)

This skill logs meals (kcal + P/C/F) into an Obsidian vault and maintains daily totals. It also stores a lightweight nutrition profile (sex/height/weight/activity/goal) and can evaluate whether today's intake meets targets.

i18n: scripts support --lang zh-CN|en-US (default: zh-CN).

Storage

  • Vault (default): ~/Documents/obsidian/yzhai-daily
  • Profile: health/eat/profile.json
  • Monthly log: health/eat/YYYY-MM/YYYYMM_calories_macros.md

Quick start

1) Initialize / update profile

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

2) Log a meal

bash ~/.openclaw/workspace/skills-public/nutrition-tracker/scripts/nutrition_log.sh \
  --date "2026-03-04" --time "19:54" --meal dinner \
  --desc "rice 150g; potato 120g; meat+egg 200g; soup 200g" \
  --kcal 830 --p 45 --c 69 --f 40 \
  --lang zh-CN

3) Check whether today's targets are met

bash ~/.openclaw/workspace/skills-public/nutrition-tracker/scripts/nutrition_check_today.sh \
  --date "2026-03-04" \
  --lang zh-CN

Target logic (defaults)

If profile has no explicit macro targets, defaults are computed by goal:

  • cut (fat loss):
    • Protein: 2.0 g/kg
    • Fat: 0.8 g/kg
    • Carbs: remaining calories (based on kcal target)

You can override targets explicitly in profile (see nutrition_init.sh --pTarget/--cTarget/--fTarget).

Notes

  • Keep meal macros as estimates; refine later by updating entries.
  • This skill is designed to be deterministic via scripts, not free-form editing.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated