← Back to Skills Marketplace
aaa2531349

calorie1-detective-v3

by aaa2531349 · GitHub ↗ · v3.0.2
cross-platform ⚠ suspicious
379
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install calorie1
Description
热量侦探 v2.0.0 - AI 食物卡路里计算器。通过 Kimi 视觉识别照片中的食物,自动计算卡路里、蛋白质、碳水、脂肪等营养数据。内置常见食物营养数据库。用于健康饮食管理、减肥健身追踪。再隐蔽的热量也逃不过我的眼睛!
README (SKILL.md)

🔍 热量侦探 v3.0.0

🕵️ 再隐蔽的热量也逃不过我的眼睛!

通过 Kimi 视觉识别技术,像侦探一样找出食物中隐藏的热量,自动计算卡路里和营养成分,帮助你更好地管理饮食健康。

✨ 功能特性

  1. 📸 拍照识别 - 使用 Kimi 视觉 API 自动识别食物
  2. 🔥 卡路里计算 - 自动计算总卡路里和宏量营养素
  3. 📊 营养报告 - 生成详细的营养分析报告
  4. 💡 健康建议 - 提供饮食改进建议
  5. 🌐 中文优化 - 专为中餐优化,识别更准确
  6. 💾 本地数据库 - 内置 100+ 种常见食物营养数据

🍎 内置食物数据库

已内置 100+ 种常见食物营养数据(每 100 克):

类别 食物举例
🍚 主食 米饭、面条、馒头、面包、土豆
🥚 蛋白质 鸡蛋、牛奶、鸡肉、猪肉、牛肉、鱼、虾
🍎 水果 苹果、香蕉、橙子、葡萄、草莓
🥬 蔬菜 青菜、番茄、黄瓜、胡萝卜、西兰花
🍔 快餐 汉堡、薯条、炸鸡、披萨

🔄 扩展开发

添加新食物

编辑 src/calorie_calculator.py 中的 COMMON_FOODS 字典:

COMMON_FOODS = {
    '你的食物': {'calories': 100, 'protein': 5, 'carbs': 15, 'fat': 3},
    ...
}

📝 更新日志

v3.0.0 (2026-03-04) - 正式发布版

  • ✅ Kimi 视觉识别支持(moonshot-v1-8k-vision-preview)
  • ✅ 本地食物营养数据库(100+ 种食物)
  • ✅ 营养报告生成
  • ✅ 健康饮食建议
  • ✅ 中文食物识别优化
  • ✅ 品牌:热量侦探
  • ✅ 测试通过(避风塘炒虾、油焖大虾)

v2.0.0 (2026-03-03) - 重大更新

  • ✅ Kimi 视觉识别支持
  • ✅ 本地食物营养数据库
  • ✅ 营养报告生成

v1.0.0 (2026-03-03) - 正式发布版

  • ✅ 基础功能实现

⚠️ 免责声明

  • 本工具提供的营养数据仅供参考,不构成医疗或营养建议
  • 实际食物营养含量可能因烹饪方式、食材来源等因素有所不同
  • 如有特殊饮食需求或健康问题,请咨询专业营养师或医生
  • 开发者不对使用本工具造成的任何损失承担责任

📄 License

MIT

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📧 联系方式

如有问题或建议,请提交 Issue 或联系开发者。


🕵️ 热量侦探,再隐蔽的热量也逃不过我的眼睛! 🍽️

Usage Guidance
This skill's behavior mostly matches its description, but it reads local config files and environment variables for API keys even though the metadata declared none. Before installing: (1) Inspect config/config.yaml and remove/add any secrets only intentionally (prefer env vars to checked-in config files). (2) Do not put sensitive credentials in config/config.local.yaml unless you trust the skill and host. (3) Note the skill will send images (base64) to https://api.moonshot.cn/v1/chat/completions (Kimi) or other configured provider endpoints — confirm you are comfortable with that network traffic. (4) Run the code in a sandbox / with non-production keys first and review data/calorie.log for what is written. (5) If you want to limit exposure, set provider to 'local' and avoid providing API keys so the skill uses its built-in database only.
Capability Analysis
Type: OpenClaw Skill Name: calorie1 Version: 3.0.2 The OpenClaw AgentSkills bundle 'calorie1' is a food calorie calculator that uses Kimi Vision API for image recognition and a local database for nutrition data. All files, including `SKILL.md`, `run.sh`, `test.sh`, `src/calorie_calculator.py`, `config/config.yaml`, and `requirements.txt`, align with the stated purpose. API keys are securely handled via environment variables, `yaml.safe_load` is used for configuration, and LLM output is processed as text without execution. There are no signs of data exfiltration, malicious execution, persistence, prompt injection, or obfuscation.
Capability Assessment
Purpose & Capability
The code, config, and SKILL.md align with the stated purpose (image recognition via a vision API + local nutrition DB). Optional support for multiple providers (Kimi, OpenAI, Nutritionix, FatSecret) is reasonable for a flexible tool. However the package metadata declared no required environment variables/credentials while the code expects/reads API keys (e.g., KIMI_API_KEY, USER_KIMI_API_KEY, OPENAI_API_KEY, NUTRITIONIX keys) and a local config file — this mismatch is noteworthy.
Instruction Scope
Runtime instructions and shipped scripts (run.sh, test.sh) simply run the Python calculator, but the Python code will load config/config.local.yaml if present, read environment variables for API keys, and write logs to data/calorie.log. The SKILL.md and metadata do not explicitly call out those file reads/writes or all env-vars the code may consult, giving the agent more filesystem and network access than the metadata implies.
Install Mechanism
There is no install spec (instruction-only install), and dependencies are declared in requirements.txt. No external downloads or obscure installers are used. Risk from installation is low, but running the included Python code will perform network calls.
Credentials
The code uses multiple optional API keys and environment variables (KIMI_API_KEY, USER_KIMI_API_KEY, OPENAI_API_KEY, NUTRITIONIX_APP_ID/KEY, FATSECRET_KEY) and will prefer a local config file if present. While these are plausible for supporting different providers, the registry metadata declares no required secrets and no primary credential — that under-declaration reduces transparency and may cause accidental credential exposure if a user places secrets in config files or env variables without realizing the skill will read them.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and only writes a local log file (data/calorie.log). It can make outbound network requests to the configured vision API endpoint but does not request elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install calorie1
  3. After installation, invoke the skill by name or use /calorie1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.2
- 新增对 Kimi 视觉识别(moonshot-v1-8k-vision-preview)的支持 - 优化并扩充本地食物营养数据库(含 100+ 种食物,类别更新) - 进一步优化中文食物识别,专注中餐场景 - 更新品牌说明与功能描述,版本号同步至 v3.0.0
v2.0.1
- 更新日志补充,新增 v2.0.0 重大更新版本信息 - 展示了所有主要功能特性,无具体功能变动 - 其余功能说明、数据库描述和免责声明保持不变
v1.0.0
📸 拍照识别 - 上传食物照片,AI 自动识别食物种类 🔥 卡路里计算 - 自动计算总卡路里和宏量营养素 📊 营养报告 - 生成详细的营养分析报告 💡 健康建议 - 提供饮食改进建议 🌐 中文优化 - 专为中餐优化,识别更准确 💾 本地数据库 - 内置常见食物营养数据 每人每天限制最多5次
Metadata
Slug calorie1
Version 3.0.2
License
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is calorie1-detective-v3?

热量侦探 v2.0.0 - AI 食物卡路里计算器。通过 Kimi 视觉识别照片中的食物,自动计算卡路里、蛋白质、碳水、脂肪等营养数据。内置常见食物营养数据库。用于健康饮食管理、减肥健身追踪。再隐蔽的热量也逃不过我的眼睛!. It is an AI Agent Skill for Claude Code / OpenClaw, with 379 downloads so far.

How do I install calorie1-detective-v3?

Run "/install calorie1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is calorie1-detective-v3 free?

Yes, calorie1-detective-v3 is completely free (open-source). You can download, install and use it at no cost.

Which platforms does calorie1-detective-v3 support?

calorie1-detective-v3 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created calorie1-detective-v3?

It is built and maintained by aaa2531349 (@aaa2531349); the current version is v3.0.2.

💬 Comments