← 返回 Skills 市场
226
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install photo-calorie-tracker
功能描述
Photo Calorie Tracker - Recognizes food photos, logs daily calorie intake, and analyzes any date range. Use when: the user sends food images or asks about ca...
安全使用建议
This skill appears internally consistent: it analyzes food photos using the platform 'image' tool and reads/writes files in /root/.openclaw/workspace (temp images and per-day memory markdown files). Before installing, consider: (1) it will store and read any images you copy into the temp folder — avoid placing sensitive photos there; (2) the included shell script reads per-day markdown records and expects certain headings (the script searches for Chinese labels), so you may need to adapt record formatting; (3) there are no network calls or credentials requested by the skill, so it doesn't exfiltrate data by design, but you should still confirm you trust the skill source because it will access files in the agent workspace.
功能分析
Type: OpenClaw Skill
Name: photo-calorie-tracker
Version: 1.0.0
The skill bundle contains a bash script `scripts/report.sh` that is vulnerable to a limited path traversal. The script accepts a `YEAR` argument (the second positional parameter) without any sanitization and uses it to construct a file path: `FILE="${MEMORY_DIR}/${YEAR}-${DATE}.md"`. An attacker could potentially use this to read files outside the intended directory, although the impact is limited by the appended date suffix. While the instructions in `SKILL.md` are benign and align with the stated purpose of tracking calories, the lack of input validation in the helper script constitutes a vulnerability.
能力评估
Purpose & Capability
Name and description match the behavior: the SKILL.md and scripts focus on recognizing food images, estimating calories, logging daily records, and producing reports. The files referenced (workspace memory, temp image dir, and a local target_calorie config) are coherent with the stated purpose.
Instruction Scope
Instructions explicitly tell the agent to copy images into /root/.openclaw/workspace/temp_qqdata/, use the platform 'image' tool, and read/write per-day markdown records under /root/.openclaw/workspace/memory/. This is within the skill's scope but does require the skill to read and write files in the agent's workspace (including user-provided images). The SKILL.md and the script assume specific record formats and (in the script) Chinese section headings (grep '午餐'/'晚餐'), which may cause functional mismatches but not a security issue.
Install Mechanism
No install spec or external downloads; only an included bash script (scripts/report.sh) and some config/text files. No archives or remote code fetches detected.
Credentials
The skill requires no environment variables, credentials, or external service tokens. All file access is to workspace paths declared in SKILL.md and present in the bundle (config/target_calorie.txt).
Persistence & Privilege
always is false and the skill does not request system-wide changes or modify other skills. It will read/write its own workspace files (normal for this kind of skill).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install photo-calorie-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/photo-calorie-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: Photo Calorie Tracker skill
- Recognizes food images, logs daily calorie intake, and analyzes intake over user-specified date ranges
- Provides formatted calorie tracking reports based on meal photos and daily records
- Focused on lunch, dinner, and snack logging (breakfast excluded from calculations)
- Includes built-in food calorie reference for common meal items
- Not intended for weight analysis, full nutrition breakdowns, or workout planning
元数据
常见问题
Photo Calorie Tracker 是什么?
Photo Calorie Tracker - Recognizes food photos, logs daily calorie intake, and analyzes any date range. Use when: the user sends food images or asks about ca... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 226 次。
如何安装 Photo Calorie Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install photo-calorie-tracker」即可一键安装,无需额外配置。
Photo Calorie Tracker 是免费的吗?
是的,Photo Calorie Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Photo Calorie Tracker 支持哪些平台?
Photo Calorie Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Photo Calorie Tracker?
由 bobo23456(@bobo23456)开发并维护,当前版本 v1.0.0。
推荐 Skills