Lzheng Nutrition System logo

Lzheng Nutrition System

Community
LZheng0411
lzheng-nutrition-system

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

Overview

PublisherLZheng0411
RepositoryLzheng-fitness
Skill namelzheng-nutrition-system
Stars
137
Forks
10
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by LZheng0411 on GitHub. Read the source before you install it.

Installation

Install the Lzheng Nutrition System AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LZheng0411/Lzheng-fitness/tree/main/skills/lzheng-nutrition-system
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LZheng0411/Lzheng-fitness.git /tmp/Lzheng-fitness
mkdir -p .claude/skills
cp -r /tmp/Lzheng-fitness/skills/lzheng-nutrition-system .claude/skills/lzheng-nutrition-system
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lzheng Nutrition System in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lzheng Nutrition System on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lzheng Nutrition System is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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,不得出现虚构处方或私人配置。

视频学习与三餐报餐

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lzheng Nutrition System AI skill do?

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

Why use Lzheng Nutrition System on TypingMind?

Because you install it once and use it with any model. Lzheng Nutrition System is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lzheng Nutrition System in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LZheng0411/Lzheng-fitness/tree/main/skills/lzheng-nutrition-system. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lzheng Nutrition System?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lzheng Nutrition System?

As many as you like. As long as a model supports skills, you can use Lzheng Nutrition System with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lzheng Nutrition System AI skill free?

Yes. It is published on GitHub by LZheng0411 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇