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.
Best use case
nutrition-tracker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using nutrition-tracker should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/nutrition-tracker/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How nutrition-tracker Compares
| Feature / Agent | nutrition-tracker | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# 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 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 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 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.
Related Skills
KPI Tracker Skill
Track, analyze, and report on Key Performance Indicators for any business.
Budget & Expense Tracker — AI Agent Financial Command Center
Track every dollar, enforce budgets, spot spending patterns, and build wealth — all through natural conversation with your AI agent.
game-light-tracker
Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.
ml-experiment-tracker
Plan reproducible ML experiment runs with explicit parameters, metrics, and artifacts. Use before model training to standardize tracking-ready experiment definitions.
element-nft-tracker
Element Market API integration. This skill strictly requires the 'ELEMENT_API_KEY' environment variable to function.
dependency-tracker
每周依赖检查。检查 Node.js、npm 版本和全局包是否有可用更新。触发时机:cron 定时任务或手动调用。
polymarket-tracker
Track top Polymarket markets by trading volume. Shows market name, Yes/No trading volumes, and current odds. Use when user asks about Polymarket trends, hot markets, or wants to find high-volume trading opportunities. Requires payment via skillpay.me (0.001 USDT per call).
india-price-tracker
Track and compare product prices across popular Indian stores (Amazon India, Flipkart, Reliance Digital, Croma, Vijay Sales, Tata CLiQ, and more), compute effective prices after offers/cashback, detect arbitrage opportunities, and monitor price history with alerts.
calorie-tracker
Smart health management solution with food and exercise recognition, nutrition and calorie analysis, secure data storage, and comprehensive data management. Empowers users with accurate food and exercise logging, personalized nutrition assessment, daily intake tracking, and calorie expenditure monitoring to support a healthy lifestyle.
Goal Tracker Skill
Track long-term goals with milestones, daily logging, and accountability.
Config Tracker Skill
自动追踪并提交 OpenClaw 配置文件和关键 markdown 文件的变更。
tech-debt-tracker
Scan codebases for technical debt, score severity, track trends, and generate prioritized remediation plans. Use when users mention tech debt, code quality, refactoring priority, debt scoring, cleanup sprints, or code health assessment. Also use for legacy code modernization planning and maintenance cost estimation.