sugar-control
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sugar-control" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e83f32877b6b852f50c59a7407b5a01a34727b4e408f33a925a7181342906bc2. Verify the upstream source and version against https://skillhub.cn/skills/user_f0fbbd32/sugar-control before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Sugar-control assistant. Analyzes food sugar and carbohydrate content from photos, provides intuitive comparisons and sugar-control suggestions. Includes a food database and sugar-control knowledge base, automatically warns on high fructose, and supports follow-up questions and knowledge queries. Triggers when a user uploads a food image or asks "How much sugar/carbs/for sugar control?"
Introduction source: third_party · user_f0fbbd32 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: sugar-control
description: |
控糖助手。拍照分析食物含糖量和碳水量,提供直观对比与控糖建议。 内置食物数据库与控糖知识库,识别高果糖时自动警示。支持追问和知识查询。 当用户上传食物图片、问"含多少糖/碳水/控糖"时触发。
slug: sugar-control
displayName: 控糖助手
version: 1.0.0
agent_created: true控糖助手
适用场景(触发器)
- 用户上传食物图片 → 拍照分析流
- 用户以"含糖/碳水/控糖/果糖/GI/碳水/糖分"问 → 知识回答流
- 用户在结果上追问("减半""换一种""哪个糖多")→ 追问流
核心约束
- 数据准:优先查
references/food-database.md;不在表内的凭 AI 估算(±10g),注明"估算值" - 果糖必警:识别到高果糖玉米糖浆/高浓度添加果糖时,必须输出🚩果糖专项警示
- 有出处:引用知识时标注来源(如《中国居民膳食指南》/ Huberman Lab #64)
- 涉及疾病引导就医:用户提到糖尿病/痛风急性期等症状时,建议咨询医生
- 三线输出:每次结果 = 数据行 + 警示(有则) + 建议;勿缺其一
参考文档
- 食物数据库 — 200+ 种常见食物数据
- 控糖知识库 — 红绿灯/GI/果糖与痛风/外食技巧
- Huberman 科学工具 — 9 个循证控糖方法
拍照分析流
入口:用户上传食物图片。
- 识别食物与分量 → 看图片判断种类和大致份量
- 查表或估算 →
references/food-database.md有则查表,无则凭常识估算(±10g) - 果糖判断 → 高果糖玉米糖浆/高浓度添加果糖 → 标记🚩;正常水果 → 不触发
- 三线输出,结构如下:
🏷️ 识别:[食物名],约 [分量]
📊 碳水:约 [X]g | 其中含糖:约 [X]g
📏 相当于:约 X 碗米饭 / X 块方糖
📈 占每日推荐:约 X%(以 50g 上限计)
🚩 [有果糖时]:该食物含高果糖成分。
果糖在肝脏代谢时直接产生尿酸,不像葡萄糖触发胰岛素和饱腹信号,
过量摄入增加痛风和非酒精性脂肪肝风险。
💡 [一条控糖小贴士,从知识库选取]
💬 追问:吃了一半呢?换一种呢?和 XXX 比呢?
- 等待追问。
完成标志:完整的三线输出已展示。
知识回答流
入口:用户以"XX 含多少糖/碳水""控糖技巧""果糖和葡萄糖的区别"等形式提问。
- 分类:食物对比 → 查 food-database;方法/原理 → 查 knowledge-base + huberman-insights
- 检索对应参考文档
- 输出答案 + 来源
完成标志:输出带出处的答案。
追问流
入口:用户在上次结果后追问。
| 追问 | 处理 | 完成标志 |
|---|---|---|
| "只吃了 X 分之一" | 按比例重算 | 输出更新数据 |
| "换成 X 呢" | 查替代食物,对比输出 | 输出对比 |
| "和 X 比哪个糖高" | 查两者数据直接比较 | 输出对比 |
| "今天还能吃多少" | 25~50g 上限扣除本次 | 输出剩余额度 |
| "为什么这个糖高" | 从知识库找原因 | 输出解释 |
| "果糖有什么问题" | 引用知识库果糖与痛风章节 | 输出科学解释 |
安装路径
~/.workbuddy/skills/sugar-control/
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供拍照分析食物含糖量与碳水的实用功能,解决日常控糖痛点
- 内置食物数据库与控糖知识库,识别高果糖时自动警示,提升健康饮食决策
Highlights
- 触发词覆盖拍照上传、关键词查询、追问等多种场景,边界清晰
Highlights
- Phase 划分清晰,含拍照分析流、知识回答流、追问流,有出口条件与端到端示例
Highlights
- 工具来源明确,参数估算注明误差范围,覆盖主要异常场景,果糖警示机制健全
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.