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.
npx skills add malue-ai/dazee-small --skill nutrition-analyzergit clone --depth 1 https://github.com/malue-ai/dazee-smallWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/malue-ai/dazee-small/nutrition-analyzer)<a href="https://agentmods.dev/skills/malue-ai/dazee-small/nutrition-analyzer"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/nutrition-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/nutrition-analyzer"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/nutrition-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.00847 |
| Opus 5.5 | $0.00012 | $0.00339 |
| Sonnet 5.5 | $0.00006 | $0.00169 |
| Haiku 4.5 | $0.00003 | $0.00085 |
Grade C, and why
nutrition-analyzer scanned grade C with 2 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 3mo ago.
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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -s "https://api.nal.usda.gov/fdc/v1/foods/search?query=chicken+breast&api_key=DEMO_KEY&pageSize=3" | python3 -c " Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "https://api.nal.usda.gov/fdc/v1/foods/search?query=chicken+breast&api_key=DEMO_KEY&pageSize=3" | python3 -c " What it actually says
食物营养分析
分析食物描述或照片,估算营养成分,提供饮食建议。
使用场景
- 用户说「这顿饭大概多少卡路里」「帮我分析今天吃的东西」
- 用户拍了食物照片想了解营养
- 用户在做饮食计划或减脂/增肌管理
分析方式
文字描述分析
用户描述食物,LLM 基于营养知识估算:
输入: "一碗白米饭 + 红烧排骨三块 + 炒青菜一盘"
输出:
┌──────────┬───────┬────────┬────────┬────────┐
│ 食物 │ 热量 │ 蛋白质 │ 碳水 │ 脂肪 │
├──────────┼───────┼────────┼────────┼────────┤
│ 白米饭 │ 230卡 │ 4g │ 50g │ 0.5g │
│ 红烧排骨 │ 350卡 │ 25g │ 8g │ 24g │
│ 炒青菜 │ 80卡 │ 3g │ 5g │ 5g │
├──────────┼───────┼────────┼────────┼────────┤
│ 合计 │ 660卡 │ 32g │ 63g │ 29.5g │
└──────────┴───────┴────────┴────────┴────────┘
评价:热量适中,蛋白质达标,碳水偏高。
建议:搭配更多蔬菜,减少米饭量至半碗。
图片分析(需多模态模型支持)
如果 LLM 支持视觉输入(如 Claude vision / GPT-4V),可直接分析食物照片。
每日饮食追踪
# 存储饮食记录
mkdir -p ~/.xiaodazi/nutrition
# 当日记录
cat >> ~/.xiaodazi/nutrition/$(date +%Y-%m-%d).json << 'EOF'
{"meal": "午餐", "time": "12:30", "foods": [...], "total_calories": 660}
EOF
# 查看当日汇总
cat ~/.xiaodazi/nutrition/$(date +%Y-%m-%d).json
营养数据库 API(可选)
# USDA FoodData Central(免费,无需 Key)
curl -s "https://api.nal.usda.gov/fdc/v1/foods/search?query=chicken+breast&api_key=DEMO_KEY&pageSize=3" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for food in data.get('foods', [])[:3]:
name = food.get('description', '')
nutrients = {n['nutrientName']: n['value'] for n in food.get('foodNutrients', [])[:10]}
print(f'{name}:')
for k, v in list(nutrients.items())[:5]:
print(f' {k}: {v}')
"
输出规范
- 营养表格用 Markdown 表格展示
- 数值为近似值,注明「仅供参考,非医学建议」
- 给出简短的饮食建议(1-2 句)
- 支持中英文食物名
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.
- 3mo ago First seen · 87 lines · 30 tokens per session scan C c276d21d58a6
nutrition-analyzer is a skill published in the GitHub repository malue-ai/dazee-small (37 stars, last pushed 8mo ago), licensed MIT. It adds 30 tokens to every session and 847 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
nutrition-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nutrition-analyzermalue-ai/dazee-small | Skill | 37 | 8mo ago | MIT | C | 30 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | yesterday | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | 4d ago | Apache-2.0 | A | 205 | Claude Code |