Install
openclaw skills install smyx-infant-stool-color-abnormality-analysisUsing a fixed camera above the baby-changing table or a smartphone, the system captures high-resolution images of the diaper area (or the stool itself), and uses AI visual analysis to identify stool color: normal yellow / yellow-green, abnormal clay-pale (white/clay-like, suggesting biliary obstruction), bright red (lower-GI bleeding), dark red / tarry black (upper-GI bleeding), etc. When abnormal colors are detected, it outputs risk reminders and recommends parents to seek medical care. The skill helps with early detection of infant hepato-biliary disease or GI bleeding. Application scenarios: newborn families, pediatric clinics, postpartum care centers. When changing diapers, parents take a photo with the camera and the system automatically analyzes and pushes results. Skill features: abnormal infant stool color (especially clay-pale) is an early signal of severe diseases such as biliary atresia; early detection and surgery can save lives. AI auto-recognition helps parents stay alert in time and avoid delayed treatment. Can be integrated into parenting apps or smart infant-care devices, becoming a safety net for newborn families. | 通过婴儿护理台上方固定摄像头或手机拍摄尿不湿区域(或直接拍摄排泄物)的高清图像,利用AI视觉分析技术识别大便颜色,包括正常黄色/黄绿色、异常陶土色(白陶土样,提示胆道梗阻)、鲜红色(下消化道出血)、暗红色/黑色(上消化道出血)等。当检测到异常颜色时,输出风险提醒,建议家长及时就医。该技能有助于早期发现婴儿肝胆疾病或消化道出血。应用场景:新生儿家庭、儿科门诊、月子中心。家长在更换尿不湿时用摄像头拍照,系统自动分析并推送结果。技能特点:婴儿大便颜色异常(尤其是陶土色)是胆道闭锁等严重疾病的早期信号,若能早期发现并手术,可挽救生命。通过AI自动识别,可帮助家长及时警觉,避免延误病情。该技能可集成到育儿APP或智能婴儿护理设备中,成为新生儿家庭的安全保障。
openclaw skills install smyx-infant-stool-color-abnormality-analysisUsing a fixed camera above the baby-changing table or a smartphone, the system captures high-resolution images of the diaper area (or the stool itself), and uses AI visual analysis to identify stool color: normal yellow / yellow-green, abnormal clay-pale (white/clay-like, suggesting biliary obstruction), bright red (lower-GI bleeding), dark red / tarry black (upper-GI bleeding), etc. When abnormal colors are detected, it outputs risk reminders and recommends parents to seek medical care. The skill helps with early detection of infant hepato-biliary disease or GI bleeding. Application scenarios: newborn families, pediatric clinics, postpartum care centers. When changing diapers, parents take a photo with the camera and the system automatically analyzes and pushes results. Skill features: abnormal infant stool color (especially clay-pale) is an early signal of severe diseases such as biliary atresia; early detection and surgery can save lives. AI auto-recognition helps parents stay alert in time and avoid delayed treatment. Can be integrated into parenting apps or smart infant-care devices, becoming a safety net for newborn families.
通过婴儿护理台上方固定摄像头或手机拍摄尿不湿区域(或直接拍摄排泄物)的高清图像,利用AI视觉分析技术识别大便颜色,包括正常黄色/黄绿色、异常陶土色(白陶土样,提示胆道梗阻)、鲜红色(下消化道出血)、暗红色/黑色(上消化道出血)等。当检测到异常颜色时,输出风险提醒,建议家长及时就医。该技能有助于早期发现婴儿肝胆疾病或消化道出血。应用场景:新生儿家庭、儿科门诊、月子中心。家长在更换尿不湿时用摄像头拍照,系统自动分析并推送结果。技能特点:婴儿大便颜色异常(尤其是陶土色)是胆道闭锁等严重疾病的早期信号,若能早期发现并手术,可挽救生命。通过AI自动识别,可帮助家长及时警觉,避免延误病情。该技能可集成到育儿APP或智能婴儿护理设备中,成为新生儿家庭的安全保障。
假设你是一个专业的婴儿健康筛查 AI。你的任务是分析尿不湿区域或排泄物的高清图像,检测大便颜色,区分正常与异常(陶土色、血便等)。不要提供医疗诊断或临床结论,仅输出基于视觉的颜色分类与方向性风险提示;对疑似 clay_pale 必须强烈建议尽快就医,警惕胆道闭锁等危及生命的疾病。
python -m scripts.smyx_infant_stool_color_abnormality_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行婴儿大便颜色识别前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.smyx_infant_stool_color_abnormality_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地婴儿尿不湿/排泄物高清图像文件路径--url: 网络婴儿尿不湿/排泄物高清图像 URL 地址(API 服务自动下载)--pet-type: 类别标识,婴儿健康筛查场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示婴儿大便颜色异常历史分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)clay_pale 即使置信度较低也务必立即就医(胆道闭锁手术黄金窗口期 ≤ 60 天)clay_pale(白陶土色)结果,无论置信度高低,均必须立即就医;胆道闭锁手术黄金期 ≤ 60 天,延误可能造成不可逆肝损伤婴儿大便颜色识别报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 颜色分类/风险 | 分析时间 | 点击查看 |
|---|---|---|---|
| 婴儿大便颜色识别报告-20260312172200001 | clay_pale / urgent(疑似胆道异常,立即就医) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地婴儿尿不湿/排泄物高清图像(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_infant_stool_color_abnormality_analysis --input /path/to/diaper.jpg --open-id your-open-id
# 分析网络婴儿尿不湿/排泄物高清图像(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_infant_stool_color_abnormality_analysis --url https://example.com/diaper.jpg --open-id your-open-id
# 显示历史婴儿大便颜色识别报告(自动触发关键词:查看婴儿大便颜色历史报告、陶土色/血便报告清单等)
python -m scripts.smyx_infant_stool_color_abnormality_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_infant_stool_color_abnormality_analysis --input diaper.jpg --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_infant_stool_color_abnormality_analysis --input diaper.jpg --open-id your-open-id --output result.json