Agent Skills
返回列表
健康助手饮食分析

健康助手饮食分析

生活服务 更新于 2026.08.30

将以下提示词粘贴到你的 AI 对话框中:

请根据 https://skillhub.cn/install/skillhub.md,安装 @user_2886c029/we-health-skill-diet。

技能介绍

它解决什么问题

用户上传饮食图片想分析热量与营养时,通用大模型往往靠记忆推断,结果可能不准;同时饮食分析涉及健康信息,又需要兼顾隐私与结果规范性。

核心能力与执行流程

  • 图片前置分流:上传图片时先判断类型,饮食相关图片触发本技能,报告、药盒等图片交由对应技能处理;
  • 本地识别与信息收集:AI先用本地能力识别图片中的饮食内容,再结合年龄、性别、身高、体重、疾病史、过敏史等信息,组装为结构化query;
  • API驱动的结果获取:通过Python的urllib调用微医API,只提取data.markdown_content字段完整展示,不做删减或摘要;
  • 合规引导与隐私保护:首次使用需一轮完成条款同意与API Key配置,健康信息仅用于本次查询,不持久化也不上传第三方。

适用边界与注意点

  • 仅处理饮食图片分析,非饮食类健康问题或报告解读等需求不适用;
  • 严禁用通用知识或其他模型替代API查询,也禁止通过file_list传入图片;
  • 结果仅为健康参考,不能替代医生诊疗,紧急情况需及时就医。

Technical Notes

  • Image pre-routing: When images are uploaded, the skill first distinguishes between food-related images and other types like medical reports or medicine packages, and routes non-food images to corresponding specialized skills.
  • Local perception and information collection: The AI identifies food items in images locally, then gathers necessary user attributes including age, gender, height, weight, medical history and allergies to construct a structured query.
  • API-first result retrieval: Results are fetched via WeDoctor API using Python's urllib library. Only the data.markdown_content field is extracted for full display, without any truncation or summarization.
  • Privacy and consent: First-time onboarding combines agreement confirmation and API key configuration in a single round of interaction. Health information is only used for the current query, not persisted or shared with third parties.

Limitations and cautions

  • Only supports dietary analysis for food-related images; other medical queries or report interpretations are not covered.
  • It is strictly forbidden to use generic knowledge or other models instead of API calls, or pass images via file_list.
  • The results are merely health reference and cannot replace professional medical diagnosis. Users should seek medical help in case of emergency.

使用场景

  • 用户上传一张午餐照片,想确认这顿饭的热量是否过高适合减脂期食用
  • 上传包含多种菜肴的家常菜图片,需要分析蛋白质、碳水化合物等营养素比例
  • 经常点外卖的上班族上传外卖订单截图,想了解长期食用的营养均衡情况
  • 用户上传健身餐图片并填写身高体重,要求计算这顿餐的卡路里是否符合增肌计划

适合人员

  • 正在控制饮食的减脂人群,需要确认日常餐食的热量是否符合目标
  • 关注营养均衡的家庭用户,想了解家常菜搭配的健康程度
  • 长期依赖外卖的上班族,希望评估工地点餐的营养合理性
  • 有增肌或健身计划的运动爱好者,需要监控每日摄入的营养成分