diet-tracker

diet-tracker is a skill for Codex from JuneYaooo/mediwise-health-suite. It costs 39 tokens per session (3,389 once invoked), scanned A, original, MIT.

A food and nutrition record manager for meals, food items, daily and weekly summaries, and calorie trends. It stores measurements and notes without giving dietary treatment or advice.

In plain words
What is it for?
Use it to add meals, list their food items, review nutrition summaries, and examine calorie changes over time.
Why use it?
It keeps meal details and nutrition totals in one place and can connect them with health and weight records.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to add meals, list their food items, review nutrition summaries, and examine calorie changes over time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juneyaooo/mediwise-health-suite/diet-tracker
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.

Any agent
npx skills add JuneYaooo/mediwise-health-suite --skill diet-tracker
Clone the repo
git clone --depth 1 https://github.com/JuneYaooo/mediwise-health-suite

Made for: Codex.

Wrote 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.

agentmods badge for diet-tracker

README.md
[![agentmods](https://agentmods.dev/badge/skills/juneyaooo/mediwise-health-suite/diet-tracker/github.svg)](https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/diet-tracker)
Your own site
<a href="https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/diet-tracker"><img src="https://agentmods.dev/badge/skills/juneyaooo/mediwise-health-suite/diet-tracker/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.

agentmods 80×15 button for diet-tracker

Your own site · 80×15
<a href="https://agentmods.dev/skills/juneyaooo/mediwise-health-suite/diet-tracker"><img src="https://agentmods.dev/badge/skills/juneyaooo/mediwise-health-suite/diet-tracker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00039 $0.03389
Opus 5.5 $0.00016 $0.01356
Sonnet 5.5 $0.00008 $0.00678
Haiku 4.5 $0.00004 $0.00339

Measured 2mo ago against content hash d072aff5ce68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diet-tracker 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 2mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (index.js, scripts/diet.py, scripts/food_lookup.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

diet-tracker/SKILL.md · 163 lines

How it starts

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

MediWise · 饮食追踪 Skill

概述

提供每餐饮食记录、食物条目管理、每日/每周营养摘要、热量趋势分析等功能。与 mediwise-health-tracker 共享数据库,可与 weight-manager 联动形成"饮食 → 热量 → 体重"完整闭环。

本 Skill 只记录和展示饮食数据、数据来源、用户目标差异与记录完整度,不提供营养治疗或饮食指导。内置参考区间只用于客观对比,不据此推荐用户增加、减少或替换食物。

数据模型

diet_records(一餐记录)

字段 说明
id 记录 ID
member_id 成员 ID
meal_type 餐次: breakfast/lunch/dinner/snack
meal_date 日期 YYYY-MM-DD
meal_time 时间 HH:MM(可选)
total_calories 总热量 kcal(见下方三态说明)
total_protein 总蛋白质 g(见下方三态说明)
total_fat 总脂肪 g(见下方三态说明)
total_carbs 总碳水 g(见下方三态说明)
total_fiber 总膳食纤维 g(见下方三态说明)
note 备注

diet_items(食物条目)

字段 说明
id 条目 ID
record_id 关联 diet_records.id
food_name 食物名称
amount 数量
unit 单位(g/ml/份/个等)
calories 热量 kcal(见下方三态说明)
protein 蛋白质 g(见下方三态说明)
fat 脂肪 g(见下方三态说明)
carbs 碳水 g(见下方三态说明)
fiber 膳食纤维 g(见下方三态说明)
note 备注

营养字段的三态语义(饮食数据完整性的基础,读取方必须按此解释):

存储值 含义 产生方式
NULL 未知——没查过、查询失败、或数据源里没有 未提供营养值时尝试补全,补全失败即写 NULL,并在 note 标注 [未解析营养]
0 确为零——用户或数据源明确给出 0 只在显式传入 0 时写入(水、黑咖啡、无糖茶等)
> 0 已确认的数值 由数据源或用户标签提供

NULL 与 0 不可互换:把未知当成 0 会在下游凭空造出「热量收支」。因此按日汇总时,只要当天任一餐的某字段为 NULL,该字段当天的总计就是未知(混合餐次会同时给出已知部分的合计,但不得对外报成完整值),未解析的日期不进入任何平均值分母,只作为「未解析天数」单独报告。逐字段判断,不要只看热量——否则一个未解析的 fat 会被当成 0 系统性拉低三大营养素比例。

功能列表

diet.py — 饮食记录 CRUD

动作 子命令 必要参数 可选参数 说明
add-meal add-meal --member-id, --meal-type, --meal-date --meal-time, --note, --items (JSON) 添加一餐记录(可同时包含多个食物条目),返回 nutrition_status 等字段,见下方响应契约
add-item add-item --record-id, --food-name --amount, --unit, --calories, --protein, --fat, --carbs, --fiber, --note 向已有餐次追加食物条目;也可用于事后补全未解析的营养值(补全后餐次自动重新汇总)
list list --member-id --date, --start-date, --end-date, --meal-type, --limit 查看饮食记录
delete delete --id --type (record/item) 删除记录或条目
daily-summary daily-summary --member-id, --date 某日营养摘要

Read the full file on GitHub · 163 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +31 lines d072aff5ce68
  2. 2mo ago First seen · 132 lines · 39 tokens per session scan A 132cecb62fbe

Subscribe to this mod's changes

diet-tracker is a skill published in the GitHub repository JuneYaooo/mediwise-health-suite (37 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 3,389 once invoked, about $0.0002 per session on Opus 5.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.

Related

diet-tracker compared with skills from other repositories

diet-tracker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diet-trackerJuneYaooo/mediwise-health-suiteSkill371mo agoMITA39Codex
tmuxHKUDS/nanobotSkill50ktodayMITA20Claude Code, Codex
add-matrixnanocoai/nanoclawSkill31ktodayMITA19Claude Code
add-resendnanocoai/nanoclawSkill31ktodayMITA16Claude Code
add-macos-statusbarnanocoai/nanoclawSkill31ktodayMITA49Claude Code
sandbaseiflytek/skillhubSkill5.4kyesterdayApache-2.0A67Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex