with one click
meal
饮食记录 — 记录饮食、查询历史、删除记录
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
饮食记录 — 记录饮食、查询历史、删除记录
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | meal |
| description | 饮食记录 — 记录饮食、查询历史、删除记录 |
| type | tool |
| expose_as_tool | true |
| tier | lite |
| multi_turn | true |
| diary_status_order | 40 |
| writes | {"diary":["diary"],"db":["health_log"]} |
Tool-only mode: log_meal (record meals with nutrition estimation) + query_meals (query meal history with daily summaries) + delete_meal (remove incorrect records).
用户提到吃了什么或发食物照片时调用,由你估算热量和宏量营养素。如:"午饭吃了麻辣烫"、附食物图片。
记录后:务必告知用户营养明细——总热量 + 每个食物的热量、蛋白质、碳水、脂肪。这是这个功能的核心价值。示例回复:"记下了~早餐284kcal,蛋白2个(34kcal, 蛋白质7g) + 豆豆1个(250kcal, 碳水24g 脂肪16g)"
| Parameter | Type | Required | Description |
|---|---|---|---|
| meal_type | string | yes | breakfast / lunch / dinner / snack |
| items | string | yes | JSON 食物数组:[{"name":"麻婆豆腐","calories":250,"protein_g":15,"carbs_g":8,"fat_g":18}] |
| total_calories | integer | yes | 本餐估算总热量 |
| total_protein_g | number | 总蛋白质克数 | |
| total_carbs_g | number | 总碳水克数 | |
| total_fat_g | number | 总脂肪克数 | |
| source | string | text / photo / voice,默认 text | |
| date | string | YYYY-MM-DD,默认今天 |
用户询问最近吃了什么、热量摄入、营养趋势时调用。如:"今天吃了多少卡"、"这周吃得健康吗"。
| Parameter | Type | Required | Description |
|---|---|---|---|
| days | integer | 回看天数,默认 1(今天)。查一周用 7。 | |
| date | string | 指定日期 YYYY-MM-DD,会覆盖 days。 |
按日期和餐型删除饮食记录。用于用户说记错了或想删掉的情况。
| Parameter | Type | Required | Description |
|---|---|---|---|
| meal_type | string | yes | breakfast / lunch / dinner / snack |
| date | string | YYYY-MM-DD,默认今天 |
修改已记录的餐食:没有 edit_meal 工具。先 delete_meal 删除旧记录,再 log_meal 记录正确版本。
习惯打卡 — 需要长期坚持并追踪'做了没有'的事(如运动、喝水、学习)。
夜间记忆维护 — 去重、压缩、归档
系统体检 — 一键查看 prompt 体积、数据库状态、记忆系统、运行状态
Heartbeat 工作便签 — agent 写给下次心跳的自己看的待办、条件型交代、临时关注
定时提醒 — 到点通知一下,不追踪完成情况。
一次性待办 — 需要被追踪催促直到完成,但做完就结束不会再来的事(如买猫粮、约牙医、查资料)。用户回报完成某事且不属于活跃习惯时也走这里。