← Back to Skills Marketplace
226
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install photo-calorie-tracker
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install photo-calorie-tracker - After installation, invoke the skill by name or use
/photo-calorie-tracker - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 226 downloads so far.
How do I install Photo Calorie Tracker?
Run "/install photo-calorie-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Photo Calorie Tracker free?
Yes, Photo Calorie Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Photo Calorie Tracker support?
Photo Calorie Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Photo Calorie Tracker?
It is built and maintained by bobo23456 (@bobo23456); the current version is v1.0.0.
More Skills