技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v3.0.2
统计:⭐ 0 · 220 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:aaa2531349/calorie1
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill appears to implement the stated photo → calorie workflow, but there are inconsistencies (it reads API keys and local config files that were not declared in the metadata) and some surprising behaviors you should review before installing.
目的
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 confi…
说明范围
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.
安装机制
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.
证书
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 pla…
持久
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.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「calorie1-detective-v3」。简介:热量侦探 v2.0.0 - AI 食物卡路里计算器。通过 Kimi 视觉识别照片中的食物,自动计算卡路里、蛋白质、碳水、脂肪等营养数据。内置常见食物营养数据库…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aaa2531349/calorie1/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: calorie-detective-v2-0-0
description: 热量侦探 v2.0.0 - AI 食物卡路里计算器。通过 Kimi 视觉识别照片中的食物,自动计算卡路里、蛋白质、碳水、脂肪等营养数据。内置常见食物营养数据库。用于健康饮食管理、减肥健身追踪。再隐蔽的热量也逃不过我的眼睛!
---
# 🔍 热量侦探 v3.0.0
🕵️ **再隐蔽的热量也逃不过我的眼睛!**
通过 Kimi 视觉识别技术,像侦探一样找出食物中隐藏的热量,自动计算卡路里和营养成分,帮助你更好地管理饮食健康。
## ✨ 功能特性
1. **📸 拍照识别** - 使用 Kimi 视觉 API 自动识别食物
2. **🔥 卡路里计算** - 自动计算总卡路里和宏量营养素
3. **📊 营养报告** - 生成详细的营养分析报告
4. **💡 健康建议** - 提供饮食改进建议
5. **🌐 中文优化** - 专为中餐优化,识别更准确
6. **💾 本地数据库** - 内置 100+ 种常见食物营养数据
## 🍎 内置食物数据库
已内置 100+ 种常见食物营养数据(每 100 克):
| 类别 | 食物举例 |
|------|----------|
| 🍚 主食 | 米饭、面条、馒头、面包、土豆 |
| 🥚 蛋白质 | 鸡蛋、牛奶、鸡肉、猪肉、牛肉、鱼、虾 |
| 🍎 水果 | 苹果、香蕉、橙子、葡萄、草莓 |
| 🥬 蔬菜 | 青菜、番茄、黄瓜、胡萝卜、西兰花 |
| 🍔 快餐 | 汉堡、薯条、炸鸡、披萨 |
## 🔄 扩展开发
### 添加新食物
编辑 `src/calorie_calculator.py` 中的 `COMMON_FOODS` 字典:
```python
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 或联系开发者。
---
**🕵️ 热量侦探,再隐蔽的热量也逃不过我的眼睛!** 🍽️