← 返回 Skills 市场
freedompixels

饮食记录追踪

作者 freedompixels · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ 安全检测通过
138
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install cn-diet-tracker
功能描述
中文饮食记录助手。记录每日饮食、计算热量、营养分析。 本地存储,无需账号。 当用户说"饮食记录"、"今天吃了什么"、"热量计算"、"营养分析"时触发。 Keywords: 饮食, 热量, 卡路里, 营养, diet, food, meal.
使用说明 (SKILL.md)

🥗 CN Diet Tracker — 中文饮食记录

记录饮食,关注健康。

核心功能

功能 说明
记录饮食 一句话记录:食物名+估算热量
热量统计 今日/本周摄入
营养分析 碳水/蛋白/脂肪占比
目标管理 设定每日热量目标

使用方式

# 记录一餐
python3 scripts/diet.py --add "白米饭一碗" 230 --category 主食
python3 scripts/diet.py --add "番茄炒蛋" 180 --category 菜品
python3 scripts/diet.py --add "苹果" 80 --category 水果

# 今日统计
python3 scripts/diet.py --today

# 设定目标
python3 scripts/diet.py --target 2000

# 周报
python3 scripts/diet.py --week

数据存储

本地 JSON:~/.qclaw/workspace/diet.json

安全使用建议
This skill appears to do exactly what it says — local meal logging and reports — and it does not contact external servers or ask for credentials. Before installing: (1) review/inspect scripts/diet.py yourself (it writes to ~/.qclaw/workspace/diet.json); (2) if you care about privacy, keep that file on a private machine or encrypt/restrict its permissions; (3) run the script in a contained environment if you prefer (e.g., a dedicated user account or sandbox). If you need the data synced or backed up, consider that the script does not implement encryption or remote sync.
功能分析
Type: OpenClaw Skill Name: cn-diet-tracker Version: 1.1.0 The cn-diet-tracker skill is a legitimate tool for recording and analyzing daily food intake. The Python script (scripts/diet.py) implements basic CRUD operations on a local JSON file (~/.qclaw/workspace/diet.json) without any network requests, suspicious file access, or command execution vulnerabilities. The SKILL.md instructions are purely functional and do not contain any prompt-injection attempts or hidden malicious commands.
能力评估
Purpose & Capability
Name/description, SKILL.md usage, and the included script all match: a local Chinese diet tracker that records meals, computes calories, and produces reports. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md gives concrete CLI invocations that map directly to the script's functions. The runtime instructions do not ask the agent to read unrelated files, access network endpoints, or exfiltrate data; they only operate on the local JSON datastore.
Install Mechanism
There is no install spec — the skill is instruction + a small Python script. No external downloads, packages, or installers are invoked.
Credentials
The skill requests no environment variables or credentials. It stores data locally at ~/.qclaw/workspace/diet.json (unencrypted JSON). This is appropriate for the stated purpose, but users should be aware the file contains timestamps and meal entries and is readable by processes with filesystem access.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. It only writes its own data file in the user's home directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cn-diet-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cn-diet-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: 修复SKILL.md格式,修复缺失脚本
v1.0.0
v1.0.0: diet tracking + calorie counting + weekly report
元数据
Slug cn-diet-tracker
版本 1.1.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

饮食记录追踪 是什么?

中文饮食记录助手。记录每日饮食、计算热量、营养分析。 本地存储,无需账号。 当用户说"饮食记录"、"今天吃了什么"、"热量计算"、"营养分析"时触发。 Keywords: 饮食, 热量, 卡路里, 营养, diet, food, meal. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 138 次。

如何安装 饮食记录追踪?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install cn-diet-tracker」即可一键安装,无需额外配置。

饮食记录追踪 是免费的吗?

是的,饮食记录追踪 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

饮食记录追踪 支持哪些平台?

饮食记录追踪 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 饮食记录追踪?

由 freedompixels(@freedompixels)开发并维护,当前版本 v1.1.0。

💬 留言讨论