← Back to Skills Marketplace
freedompixels

饮食记录追踪

by freedompixels · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
138
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install cn-diet-tracker
Description
中文饮食记录助手。记录每日饮食、计算热量、营养分析。 本地存储,无需账号。 当用户说"饮食记录"、"今天吃了什么"、"热量计算"、"营养分析"时触发。 Keywords: 饮食, 热量, 卡路里, 营养, diet, food, meal.
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cn-diet-tracker
  3. After installation, invoke the skill by name or use /cn-diet-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
v1.1.0: 修复SKILL.md格式,修复缺失脚本
v1.0.0
v1.0.0: diet tracking + calorie counting + weekly report
Metadata
Slug cn-diet-tracker
Version 1.1.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is 饮食记录追踪?

中文饮食记录助手。记录每日饮食、计算热量、营养分析。 本地存储,无需账号。 当用户说"饮食记录"、"今天吃了什么"、"热量计算"、"营养分析"时触发。 Keywords: 饮食, 热量, 卡路里, 营养, diet, food, meal. It is an AI Agent Skill for Claude Code / OpenClaw, with 138 downloads so far.

How do I install 饮食记录追踪?

Run "/install cn-diet-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 饮食记录追踪 free?

Yes, 饮食记录追踪 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 饮食记录追踪 support?

饮食记录追踪 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 饮食记录追踪?

It is built and maintained by freedompixels (@freedompixels); the current version is v1.1.0.

💬 Comments