Agent skill

Lzheng Nutrition System

by LZheng0411 in LZheng0411/Lzheng-fitness

建立、校验和复盘与当前训练计划联动的通用营养系统,包括建档、重训练/普通训练/休息日目标、餐食估算候选、用户确认入账和趋势调整;不用于疾病营养治疗、过敏原诊断或把照片估算包装成精确事实。

MITAuto-check passedProductivity & Automation

Install Lzheng Nutrition System

skills CLI
$ npx skills add LZheng0411/Lzheng-fitness --skill lzheng-nutrition-system -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LZheng0411/Lzheng-fitness lzheng-nutrition-system --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LZheng0411/Lzheng-fitness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/lzheng-nutrition-system .claude/skills/lzheng-nutrition-system && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lzheng-nutrition-system
GitHub stars
119
Token cost
~412 tokens
SKILL.md length
79 words
Files
8 (incl. scripts, references, assets)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

建立、校验和复盘与当前训练计划联动的通用营养系统,包括建档、重训练/普通训练/休息日目标、餐食估算候选、用户确认入账和趋势调整;不用于疾病营养治疗、过敏原诊断或把照片估算包装成精确事实。

  • Works in 4 steps: 完整读取 营养协议。 → 读取当前训练计划的真实日期排程、最近体重/腰围趋势、执行率、训练表现和已确认餐食;… → 营养变量按需读取… → …
  • Tasks that involve Health and fitness tracking
  • SKILL.md covers 开始前, 用户流程, 固定边界 and 生成与交接, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

Lzheng Nutrition System is an agent skill from LZheng0411/Lzheng-fitness. 建立、校验和复盘与当前训练计划联动的通用营养系统,包括建档、重训练/普通训练/休息日目标、餐食估算候选、用户确认入账和趋势调整;不用于疾病营养治疗、过敏原诊断或把照片估算包装成精确事实。

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/examples/nutrition-contract.example.json` and `references/learning-and-meals.md`).

It sits in Productivity & Automation, covering Health and fitness tracking. The repository describes itself as: Lzheng的开源健身 Agent Skill 知识库. The licence is MIT.

When your agent uses it

  • Tasks that involve Health and fitness tracking

Example prompts

  • “/lzheng-nutrition-system”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 完整读取 营养协议。
  2. 读取当前训练计划的真实日期排程、最近体重/腰围趋势、执行率、训练表现和已确认餐食;缺失或过期时标为待校准。
  3. 营养变量按需读取 ../lzheng-training-expert-library 的 Alan Aragon 模块。
  4. 先确认目标、年龄、身高、当前体重、饮食环境、预算、医生已确认限制和主要执行障碍;未收敛前不输出精确热量。

What it can do on your machine

Read from SKILL.md and the folder at commit c9f0b57. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lzheng Nutrition System loads about 412 tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 29 tokens; SKILL.md has 79 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~412
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LZheng0411/Lzheng-fitness at commit c9f0b57, republished under its MIT licence (© LZheng0411). 79 words, ~412 tokens.

Download SKILL.mdSave it as .claude/skills/lzheng-nutrition-system/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
lzheng-nutrition-system
description
建立、校验和复盘与当前训练计划联动的通用营养系统,包括建档、重训练/普通训练/休息日目标、餐食估算候选、用户确认入账和趋势调整;不用于疾病营养治疗、过敏原诊断或把照片估算包装成精确事实。

Lzheng 通用营养系统

本 Skill 只负责营养建档、nutrition_contract、日型目标和复盘候选。训练计划决定日型,不按单次训练手表消耗临时补吃;工作台负责展示和记录,不能反向发明处方。

开始前

  1. 完整读取 营养协议。
  2. 读取当前训练计划的真实日期排程、最近体重/腰围趋势、执行率、训练表现和已确认餐食;缺失或过期时标为待校准。
  3. 营养变量按需读取 ../lzheng-training-expert-library 的 Alan Aragon 模块。
  4. 先确认目标、年龄、身高、当前体重、饮食环境、预算、医生已确认限制和主要执行障碍;未收敛前不输出精确热量。

用户流程

建档 → 得到当天目标 → 拍照或文字记录 → 查看区间估算 → 饭后反馈 → 用户确认入账 → 查看剩余 → 两周复盘

  • 照片输出只能是候选区间、置信度和误差来源。
  • estimate 是上桌总量,consumed_estimate 是实际摄入候选,confirmed_nutrition 才是正式入账。
  • 只有用户主动创建任务并显式运行一次 Agent 才允许识别;空队列不调用模型,网页不自动轮询。
  • 用户可以在候选区间内做确定性微调并保留 agent_best / user_adjusted / user_manual 来源。
  • 已确认记录的更正必须留痕;不能静默覆盖原值。

固定边界

  • 热量公式只是起点,至少用两周同条件体重趋势、腰围、训练表现和执行率校准。
  • 当前体重未知时保留 awaiting_profile,不生成伪精确目标。
  • 蛋白质和脂肪保持相对稳定,训练日型主要调整碳水;七日加权平均必须符合周目标。
  • 食堂、外卖和照片估算始终保留范围;压力进食后不使用禁食或惩罚性有氧补偿。
  • 医疗、肾脏疾病、糖尿病、进食障碍、孕期、过敏或药物相关需求转交合格专业人员;急性严重症状立即就医。
  • 个人照片、账号、密钥、环境 ID、Notion 地址和真实餐食数据不得进入公开模板或示例。

生成与交接

验证结构化协议:

powershell
python scripts/validate_nutrition_contract.py <nutrition-contract-vNN.json>

协议通过且用户确认后,保存为当前系统的营养主源,并创建 nutrition_contract_updated 交接给 lzheng-fitness-workbench-builder。交接只传相对路径和确认状态;工作台刷新、发布副本、部署和线上验证必须分别报告。

完成闸门

  1. validator 与 test_nutrition_system.py 通过;
  2. 当天日型来自真实日期排程,未知日期不猜测;
  3. 周平均、宏量换算和调整上限通过测试;
  4. 估算、实际摄入候选与确认入账三段没有混用;
  5. 默认无自动触发器、无后台空查、无自动确认;
  6. 示例保持匿名且体重为 null,不得出现虚构处方或私人配置。

视频学习与三餐报餐

用户要把学到的饮食方法用于三餐、文字/照片报餐或标签复用时,读取 学习与报餐。保留用户接受的方法和目标版本,不用新的菜单替换计算依据。

© LZheng0411, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references, assets) in skills/lzheng-nutrition-system of LZheng0411/Lzheng-fitness.

  • SKILL.md
  • agents/openai.yaml
  • assets/examples/nutrition-contract.example.json
  • references/learning-and-meals.md
  • references/nutrition-contract.md
  • scripts/test_nutrition_system.py
  • scripts/update_planner.py
  • scripts/validate_nutrition_contract.py

Open the folder on GitHubat commit c9f0b57

Compare with similar skills

Lzheng Nutrition System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lzheng Nutrition System compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lzheng Nutrition System this skillLZheng0411/Lzheng-fitness119—~412Automated safety check: PassMIT
Coachfelixrieseberg/claude-coach1991 repos~4.9kAutomated safety check: PassMIT
Fitness Analyzerhuifer/WellAlly-health9605 repos~1.3kAutomated safety check: PassMIT
Master Ajahn Chahxr843/Master-skill4471 repos~2kAutomated safety check: PassCC-BY-NC-SA-4.0
Mental Health Analyzerhuifer/WellAlly-health9605 repos~3.2kAutomated safety check: PassMIT
Nutrition Analyzerhuifer/WellAlly-health9605 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Coach

    felixrieseberg/claude-coach

    Create personalized triathlon, marathon, and ultra-endurance training plans.

    199 GitHub starsUsed in 1 repo~4.9k tokens
    Productivity & AutomationAuto-check passed
  • Fitness Analyzer

    huifer/WellAlly-health

    分析运动数据、识别运动模式、评估健身进展,并提供个性化训练建议。支持与慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~1.3k tokens
    Productivity & AutomationAuto-check passed
  • Master Ajahn Chah

    xr843/Master-skill

    A skill your agent uses when user asks about 南传佛教, 上座部, Theravada, 巴利经典, 正念 sati, 放下, 三法印, 四念处, 出入息念 anapanasati, 戒定慧, 毗婆舍那, 森林禅林派, 巴蓬寺, 阿姜查, 杜多行, 中道, or wants teaching in 阿姜查 Ajahn Chah's voice.

    447 GitHub starsUsed in 1 repo~2k tokens
    Productivity & AutomationAuto-check passed
  • Mental Health Analyzer

    huifer/WellAlly-health

    分析心理健康数据、识别心理模式、评估心理健康状况、提供个性化心理健康建议。支持与睡眠、运动、营养等其他健康数据的关联分析。

    960 GitHub starsUsed in 5 repos~3.2k tokens
    Productivity & AutomationAuto-check passed
  • Nutrition Analyzer

    huifer/WellAlly-health

    分析营养数据、识别营养模式、评估营养状况,并提供个性化营养建议。支持与运动、睡眠、慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~3.3k tokens
    Productivity & AutomationAuto-check passed
  • Ghealth

    Google-Health-API/google-health-cli

    Query Google Health API v4 — steps, heart rate, exercise, sleep, weight, SpO2, HRV, ECG, blood glucose, nutrition, and 40 total data types

    266 GitHub stars~2.3k tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check passed

More from LZheng0411/Lzheng-fitness

All 12 skills in this repo
  • Lzheng Fitness Plan

    LZheng0411/Lzheng-fitness

    基于用户当前状态、Skill 内置健身知识和最新官方指南,完成问诊、安全筛查、P0—L3 分层、固定器械与自由重量动作选择、完整训练计划、短期降级方案、时间快照及移动端友好 HTML 交付。用于用户要求制定、重做、解释或可视化增肌、减脂、体态重组、健康、基础力量或综合健身计划,以及询问一周练几次、如何分化、动作怎样选时;不用于单次训练复盘、医疗康复或未经用户确认的单项力量周期调用。

    119 GitHub stars~1.5k tokensUpdated 12 days ago
    Auto-check passed
  • Lzheng Fitness Workbench Builder

    LZheng0411/Lzheng-fitness

    将训练计划 JSON、执行基准、训练复盘、可选 Notion 导出和内置界面素材组装为可离线打开的个人健身工作台,并完成数据刷新、壁纸替换、内置文档阅读、可选 Obsidian 编辑、响应式页面、发布副本与自动校验。用于用户要求从零构建、迁移、重建、替换背景、打包、同步、修复或发布健身工作台,或希望在新电脑上复刻同款个人训练系统时;不用于制定个性化训练处方、单次训练复盘或医疗建议。

    119 GitHub stars~2.2k tokensUpdated 12 days ago
    Auto-check passed
  • Lzheng Training System

    LZheng0411/Lzheng-fitness

    初始化、升级、诊断、校验和迁移 Lzheng 本地训练系统,并把增肌、减脂、力量与综合健身计划、训练复盘和健身工作台串成单一主源闭环。用于用户刚下载/刚安装、说开始建立健身系统、想增肌/减脂/提升力量、新电脑搭建、系统升级或工作台异常排查;首次使用时由 AI 自然语言接管引导,不要求用户先找 README、命令或 Skill 名称。

    119 GitHub stars~1.2k tokensUpdated 12 days ago
    Auto-check passed
  • Lzheng Strength Cycle Planner

    LZheng0411/Lzheng-fitness

    为深蹲、卧推、硬拉、负重引体、推举等力量主项制定、解释、调整或复盘完整的 8—12 周周期,并交付含主项渐进曲线的可本地打开训练计划 HTML。用于用户要求规划组数、次数、重量、RPE/RIR、顶组、回退组、减量、测试、渐进规则或未完成分支,或要求把训练计划做成网页、总览页、可视化计划时。

    119 GitHub stars~1.3k tokensUpdated 12 days ago
    Auto-check passed
  • Lzheng Training Expert Library

    LZheng0411/Lzheng-fitness

    为 Lzheng 计划、力量周期、训练复盘和停训接回 Skill 提供六个可移植、来源限定的训练专家模块,包含来源边界、覆盖矩阵、问题路由、知识卡、协作选择和验证状态;用于内部选择最少必要专家并保留分歧条件,不作为名人角色扮演、医疗诊断或独立动态处方入口。

    119 GitHub stars~320 tokensUpdated 12 days ago
    Auto-check passed
  • Lzheng Video Lessons

    LZheng0411/Lzheng-fitness

    将抖音或本地健身教学视频核对为有起止点的分段课程,用直接教读者怎么做的详细解释生成播放器,接入现有知识库并按用户授权完成发布和线上验证;支持复用更新,不把视频建议自动写成个人训练处方。

    119 GitHub stars~484 tokensUpdated 12 days ago
    Auto-check passed

Questions about Lzheng Nutrition System

What does Lzheng Nutrition System do?

建立、校验和复盘与当前训练计划联动的通用营养系统,包括建档、重训练/普通训练/休息日目标、餐食估算候选、用户确认入账和趋势调整;不用于疾病营养治疗、过敏原诊断或把照片估算包装成精确事实。. Lzheng Nutrition System is an agent skill from LZheng0411/Lzheng-fitness.

When should I use Lzheng Nutrition System?

Lzheng Nutrition System fits situations like: tasks that involve Health and fitness tracking.

How do I install Lzheng Nutrition System in Claude Code?

Run `npx skills add LZheng0411/Lzheng-fitness --skill lzheng-nutrition-system -a claude-code`. Or copy the skill folder (skills/lzheng-nutrition-system in LZheng0411/Lzheng-fitness) into .claude/skills/lzheng-nutrition-system in your project. Claude Code loads it when a task matches its description.

How do I install Lzheng Nutrition System in Codex?

Run `npx skills add LZheng0411/Lzheng-fitness --skill lzheng-nutrition-system -a codex`. Or copy the skill folder (skills/lzheng-nutrition-system in LZheng0411/Lzheng-fitness) into .agents/skills/lzheng-nutrition-system in your project. Codex loads it when a task matches its description.

Can I use Lzheng Nutrition System in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LZheng0411/Lzheng-fitness --skill lzheng-nutrition-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lzheng-nutrition-system, .gemini/skills/lzheng-nutrition-system, .github/skills/lzheng-nutrition-system and .opencode/skills/lzheng-nutrition-system in your project.

What does Lzheng Nutrition System need to run?

Going by SKILL.md and its folder, Lzheng Nutrition System needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Lzheng Nutrition System access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lzheng Nutrition System safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Lzheng Nutrition System use?

Lzheng Nutrition System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lzheng Nutrition System use?

About 412 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Lzheng Nutrition System?

Skills that share tags, products or a category with Lzheng Nutrition System: Coach (felixrieseberg/claude-coach, 199 stars), Fitness Analyzer (huifer/WellAlly-health, 960 stars), Master Ajahn Chah (xr843/Master-skill, 447 stars) and Mental Health Analyzer (huifer/WellAlly-health, 960 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lzheng Nutrition System?

LZheng0411 (a GitHub user) maintains it in LZheng0411/Lzheng-fitness, which has 119 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on September 29, 2026.

Source: LZheng0411/Lzheng-fitness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.