饮食记录追踪

v1.1.0

中文饮食记录助手。记录每日饮食、计算热量、营养分析。 本地存储,无需账号。 当用户说"饮食记录"、"今天吃了什么"、"热量计算"、"营养分析"时触发。 Keywords: 饮食, 热量, 卡路里, 营养, diet, food, meal.

0· 136·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for freedompixels/cn-diet-tracker.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "饮食记录追踪" (freedompixels/cn-diet-tracker) from ClawHub.
Skill page: https://clawhub.ai/freedompixels/cn-diet-tracker
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install cn-diet-tracker

ClawHub CLI

Package manager switcher

npx clawhub@latest install cn-diet-tracker
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🥗 Clawdis
latestvk97eswfe5bh0zcd0q8scvtt0tn854ypjproductivityvk97eswfe5bh0zcd0q8scvtt0tn854ypjtoolsvk97eswfe5bh0zcd0q8scvtt0tn854ypj
136downloads
0stars
2versions
Updated 1w ago
v1.1.0
MIT-0

🥗 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

Comments

Loading comments...