Diet Logger
v1.0.0记录日常饮食并保存到 Obsidian 库。当用户要求记录早饭、午饭、晚饭、加餐、饮食日记或类似的饮食追踪任务时使用。使用 scripts/log_diet.py 脚本确保格式固定一致。
⭐ 0· 64·0 current·0 all-time
by@leo-zzl
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (diet logging to Obsidian) align with the provided script and SKILL.md. The script creates/updates markdown files in an Obsidian-like vault directory, which is exactly what the skill claims to do.
Instruction Scope
Instructions only tell the agent to run the included Python script with date/meal/items arguments. The script performs only local file I/O to create/update a markdown file. Note: the script writes to a hardcoded vault path (/mnt/c/Users/loong/.../05-Daily) which is user-specific and may not exist or be appropriate on other systems—this is a usability/configuration concern but not a malicious action.
Install Mechanism
No install spec; the skill is instruction + single script. No external downloads or package installs are requested.
Credentials
The skill requests no environment variables or credentials. All required inputs are CLI arguments. There are no unrelated secret accesses or config path reads beyond the single hardcoded vault path used for its stated purpose.
Persistence & Privilege
always:false and no changes to other skills or system-wide settings. The script writes files only under the vault path; it does not modify other skills or request elevated privileges.
Assessment
This skill appears to do what it says: run a local Python script to append diet entries into a fixed-format Obsidian markdown file. Before installing or using it, check and possibly change the hardcoded VAULT_PATH in scripts/log_diet.py to a path you control (it currently points to /mnt/c/Users/loong/...). Running the script will create/modify files at that location, so ensure you trust that path and have backups if needed. No network calls or secrets are requested, so the main risks are accidental overwrites or writing to the wrong directory — review the script and adjust the path if you want it to target a different vault or make the path configurable.Like a lobster shell, security has layers — review code before you run it.
latestvk9700e40napeftzvxb102k66d583pxhr
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
