child-nutrition

A child nutrition assessment and food-management command that records meals and evaluates a child's diet against age-based nutritional needs. It also addresses eating patterns such as picky eating and provides dietary suggestions.

In plain words
What is it for?
Use it to record daily meals, optionally for a chosen date, and review energy, protein, calcium, iron, food-group coverage, fluids, and related dietary information. It is intended for diet tracking and guidance, not a substitute for medical or dietetic care.
Why use it?
It turns a free-form food record into a structured view of what a child has eaten and which nutritional areas may be lacking. This can make recurring gaps easier to notice and discuss with a professional.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/huifer/wellally-health/child-nutrition
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.04852
Opus 5 $0.00005 $0.02426
Sonnet 5 $0.00002 $0.00970
Haiku 4.5 $0.00001 $0.00485

Measured yesterday against content hash 74f855e708ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

child-nutrition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/child-nutrition.md · 708 lines

How it starts

The opening of the file, as written. The whole thing — 708 lines — stays where its author put it; the contents beside it link to each section on GitHub.

儿童营养评估与饮食管理

儿童饮食记录、营养评估和挑食管理,提供各年龄段营养需求和饮食建议。

操作类型

1. 记录饮食 - record

记录儿童每日饮食情况。

参数说明:

  • info: 饮食信息(自然语言)
  • date: 记录日期(可选,默认今天)

示例:

/child-nutrition record 早饭牛奶鸡蛋 午饭米饭青菜 晚饭面条
/child-nutrition record 早餐牛奶200ml 鸡蛋1个 面包1片

执行步骤:

1. 读取儿童基础信息

data/profile.json 读取儿童信息。如缺少,提示设置。

2. 根据年龄确定营养需求
年龄 能量(kcal/天) 蛋白质(g/天) 钙(mg/天) 铁(mg/天)
1-3岁 1000-1400 25-30 600 9
4-6岁 1400-1600 30-35 800 10
7-10岁 1600-2000 35-40 1000 13
11-14岁 2000-2500 50-60 1200 15-18(男)/12-15(女)
3. 生成饮食记录报告

正常饮食示例:

✅ 饮食记录已保存

饮食信息:
━━━━━━━━━━━━━━━━━━━━━━━━━━
儿童:小明
年龄:2岁5个月
记录日期:2025年1月14日

今日饮食:
━━━━━━━━━━━━━━━━━━━━━━━━━━

早餐(08:00):
  ✅ 牛奶 200ml
  ✅ 鸡蛋 1个
  ✅ 面包 1片
  ✅ 苹果 半个

加餐(10:30):
  ✅ 酸奶 100ml

午餐(12:00):
  ✅ 米饭 1小碗
  ✅ 青菜 适量
  ✅ 鸡肉 50g
  ✅ 西红柿炒蛋

加餐(15:30):
  ✅ 香蕉 1根

晚餐(18:00):
  ✅ 面条 1小碗
  ✅ 西红柿 牛肉
  ✅ 黄瓜

营养评估:
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 能量摄入:充足
✅ 蛋白质:充足(奶、蛋、肉)
✅ 钙:充足(奶制品)
✅ 铁:充足(肉、蛋)
✅ 维生素C:充足(水果、蔬菜)
✅ 膳食纤维:充足(蔬菜、水果)

食物类别覆盖:
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 谷薯类:3份
✅ 蔬菜水果:5份
✅ 肉蛋奶:4份
✅ 大豆坚果:适量

饮水量:
━━━━━━━━━━━━━━━━━━━━━━━━━━
今日饮水:约800ml
推荐饮水量:1000-1300ml/天
评估:基本充足 ✅

补充剂:
━━━━━━━━━━━━━━━━━━━━━━━━━━
• 维生素D:400IU/天 ✅

总体评价:
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 饮食均衡,营养充足

建议:
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 继续保持当前饮食习惯
✅ 适当增加饮水量

数据已保存

2. 挑食评估 - pickyeater

评估和管理儿童挑食问题。

示例:

/child-nutrition pickyeater

输出示例:

🍴 挑食评估

儿童:小明(2岁5个月)

挑食问题自查:
━━━━━━━━━━━━━━━━━━━━━━━━━━

当前挑食情况:
  拒食食物:胡萝卜、青椒、菠菜
  偏好食物:鸡肉、水果、奶制品
  挑食程度:轻度 ⚠️

挑食原因分析:
━━━━━━━━━━━━━━━━━━━━━━━━━━

1. 味觉敏感
   青椒苦味、胡萝卜特殊味道

2. 质地敏感
   菠菜纤维较粗

3. 颜色偏好
   偏好鲜艳颜色(红、黄)

4. 行为因素
   通过拒食获得关注

改善建议:
━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ 逐步引入
   • 将新食物与喜欢的食物混合
   • 从少量开始,逐渐增加
   • 每次只引入一种新食物

✅ 改变烹饪方式
   • 胡萝卜:蒸熟后加蜂蜜
   • 青椒:切碎混入肉丸
   • 菠菜:切碎做饼

✅ 积极引导
   • 父母示范进食
   • 不要强迫喂食
   • 表扬尝试新食物

✅ 创造乐趣
   • 用模具切出有趣形状
   • 让孩子参与食物准备
   • 讲食物的"故事"

❌ 避免的做法:
━━━━━━━━━━━━━━━━━━━━━━━━━━
❌ 不要强迫吃
❌ 不要用甜食作为奖励
❌ 不要另做"孩子餐"
❌ 不要在吃饭时训斥

营养补充建议:
━━━━━━━━━━━━━━━━━━━━━━━━━━
因拒食蔬菜,建议:
• 继续提供水果(维生素)
• 考虑儿童复合维生素
• 定期评估营养状况

使用 /child-nutrition advice 查看饮食建议
数据已保存

Read the full file on GitHub · 708 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 708 lines · 9 tokens per session scan A 74f855e708ed

Subscribe to this mod's changes

child-nutrition is a command published in the GitHub repository huifer/WellAlly-health (935 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 4,852 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.