nutricoach 营养专家

v1.0.1

Personal health data management and intelligent diet recommendation system. Use when users need to: - Record and track body metrics (weight, height, BMI, bod...

1· 52·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name, description, SKILL.md and the included scripts (meal logging, pantry, OCR wrappers, web dashboard, backups, export) are coherent — the code implements the advertised features (body metrics, meals, pantry, OCR, recipe recommendations, web UI). There are no obvious unrelated permissions or credentials requested.
Instruction Scope
SKILL.md instructs running the included scripts and launching a local web dashboard; the scripts operate on per-user SQLite DBs under the skill's data folder. A few instructions and scripts reference optional cloud OCR and advise setting OPENAI_API_KEY or using a data/user_config.yaml — that environment credential is not declared in the skill metadata. The skill will run subprocesses (calls to other included scripts) and read/write local files (data and backups) — all consistent with its function, but the optional OCR path can involve networked OCR services if configured.
Install Mechanism
There is no install spec (the package is distributed as source scripts). Dependencies are declared in requirements.txt (Flask, PyYAML, optional OpenAI/Tesseract commented). No remote archives or download URLs are used by the install process shown. This is low install risk, but running pip install -r requirements.txt will pull packages from PyPI if used.
Credentials
The skill declares no required environment variables, which aligns with local-only operation. However, the code and SKILL.md mention optional cloud OCR (Kimi Vision / OpenAI) and reference OPENAI_API_KEY and data/user_config.yaml in error messages — these are optional but if you enable cloud OCR the skill will use API keys not declared up-front. No unrelated system credentials (AWS, GitHub tokens, etc.) are requested.
Persistence & Privilege
always:false and user-invocable:true. The skill stores per-user SQLite DBs and keeps backups under its data/backups directory; it does not request system-wide configuration changes or claim permanent always-on privileges. Backups are local copies of the DB and the skill does not modify other skills' configuration.
Assessment
This skill appears to implement what it claims (local meal/pantry tracking, recipe suggestions, OCR wrappers and a local dashboard). Before installing and running: - If you want to use OCR cloud services, be aware that you will need to provide an API key (e.g., OPENAI_API_KEY or a Kimi Vision key) — only enable cloud OCR if you trust the external provider and accept that images/nutrition data may be sent off-device. The skill's metadata does not declare those env vars explicitly. - The code includes a HARDCODING_AUDIT pointing out many hardcoded row indices and other brittle code; this is an engineering quality issue (risk of bugs/corrupted exports) but not malicious. Review/patch db_schema usage before relying on it in production. - The web dashboard template pulls Chart.js from a CDN and the UI may request external assets; if you need an offline deployment, host those assets locally. - Data is stored in the skill's data/backups directories (relative to the skill). Backups are local copies of the DB — ensure you store backups securely (they contain sensitive health data). - Recommended: run the code in an isolated environment (virtualenv/container), review any optional OCR integration code paths you plan to enable, and inspect or run the test suite included to validate behaviour on your platform. If you want, I can: (a) scan specific files for network calls and exact locations where OPENAI_API_KEY or other env vars are read, (b) list all code locations that call subprocess/network, or (c) point out the highest-risk lines that should be reviewed/changed before deployment.

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

latestvk976rnya0qn19abf2vc00w2r1s841s5f

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments