Task Router Skill
Task Router
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.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install abstract-sum/nutrition-tracker打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
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).
~/Documents/obsidian/yzhai-daily
health/eat/profile.json
health/eat/YYYY-MM/YYYYMM_calories_macros.md
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
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
bash ~/.openclaw/workspace/skills-public/nutrition-tracker/scripts/nutrition_check_today.sh \
--date "2026-03-04" \
--lang zh-CN
If profile has no explicit macro targets, defaults are computed by goal:
2.0 g/kg
0.8 g/kg
You can override targets explicitly in profile (see nutrition_init.sh --pTarget/--cTarget/--fTarget).
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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.
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.