Install
openclaw skills install @18072937735/smyx-reptile-excrement-analysis-analysisThrough a fixed camera in the reptile enclosure, the system captures a high-definition image (or a static video frame) once excrement is found, and uses AI visual analysis to identify urate (white/milky-white crystals or paste, common in lizards, geckos, etc.) — including its size (pixel area) — and to identify the morphology of feces (normally formed log, soft pasty, watery, or bloody). | 通过爬宠箱固定摄像头,在发现排泄物后拍摄高清图像(或分析视频中的静态帧),利用 AI 视觉分析技术识别尿酸(白色/乳白色结晶或膏状物,常见于蜥蜴、守宫等爬宠)的大小(面积像素)以及粪便的形态(正常成形条状、稀软糊状、水样或带血)。
openclaw skills install @18072937735/smyx-reptile-excrement-analysis-analysisThrough a fixed camera in the reptile enclosure, the system captures a high-definition image (or a static video frame) once excrement is found, and uses AI visual analysis to identify urate (white/milky-white crystals or paste, common in lizards, geckos, etc.) — including its size (pixel area) — and to identify the morphology of feces (normally formed log, soft pasty, watery, or bloody). It compares urate area with historical normal values (an enlarged area may indicate kidney burden or dehydration; an unusually small area may indicate metabolic abnormality) and outputs intestinal health prompts based on feces consistency (e.g. 'feces well formed, healthy', 'feces soft, possible enteritis or parasites'). This skill helps keepers detect kidney and intestinal problems early. Application scenarios: reptile enclosures, vivaria, lizard/gecko/snake farms. The system automatically analyses excrement before cleaning, generates a health report, and pushes alerts on anomalies. Skill features: excrement is an important window into the reptile's digestive and renal function. AI-based automatic analysis of urate size and feces consistency helps early detection of enteritis, parasites, kidney disease, etc., enabling keepers to adjust diet and treatment promptly. This skill can be integrated into smart reptile-enclosure cameras or reptile health-management apps.
通过爬宠箱固定摄像头,在发现排泄物后拍摄高清图像(或分析视频中的静态帧),利用 AI 视觉分析技术识别尿酸(白色/乳白色结晶或膏状物,常见于蜥蜴、守宫等爬宠)的大小(面积像素)以及粪便的形态(正常成形条状、稀软糊状、水样或带血)。将尿酸面积与历史正常值对比(若过大可能提示肾脏负担或脱水;过少可能提示代谢异常),同时根据粪便稀软程度输出肠道健康提示(如'粪便成形,健康''粪便稀软,可能肠炎或寄生虫')。该技能有助于饲养者及早发现爬宠的肾脏、肠道问题。应用场景:爬宠箱、饲养缸、蜥蜴/守宫/蛇类养殖场。系统在清理前自动分析排泄物,生成健康报告,异常时推送提醒。技能特点:排泄物是反映爬宠消化、肾脏功能的重要窗口。通过 AI 自动分析尿酸大小和粪便稀软程度,可早期发现肠炎、寄生虫、肾脏疾病等,帮助饲养者及时调整饮食和治疗。该技能可集成到智能爬宠箱摄像头或爬宠健康管理 APP 中。
假设你是一个专业的爬行动物排泄物健康分析 AI。你的任务是分析爬宠箱内排泄物的高清图像(俯拍,含已知尺寸参考物用于像素-实际尺寸换算,分辨率 ≥ 1080p——尿酸结晶纹理与粪便形态需高清,均匀白色光源——避免色温偏移影响粪便颜色判定),围绕"尿酸 + 粪便双通道"展开三组检测:① 尿酸检测:是否检测到尿酸(白色/乳白色区域)+ 颜色分类(white_normal / cream_yellow / orange_tinged / gritty_granular)+ 像素面积 + 以个体体长为参考归一化面积(核心指标,跨个体可比)+ 与历史正常值对比(增大 > 50% 提示肾脏负担或脱水)+ 质地(smooth_paste_normal / gritty_granular / hard_chunky)+ 团块数量;② 粪便形态:是否检测到粪便 + 颜色分类(brown_normal / green / black_tarry / red_bloody / yellow / white_grey / undigested_insects_visible)+ 形态分类(formed_log_normal / soft_pasty / loose_watery / mucus_coated / bloody_streaked)+ 像素面积 + 长宽比(成形 > 2 / 稀软 ≈ 1)+ 是否可见未消化内容 + 团块数量;③ 上下文与排除信号:喂食后 72h 内食物种类影响(蟋蟀绿便 / 粉鼠深色便) / 蜕皮期 / 抱蛋雌性排泄间隔延长 / 休眠/冬眠期排泄频率下降+尿酸浓缩 / 垫材类型影响识别难度 / 近期换食 < 7 天。按 7 类综合场景判定(excrement_healthy / urate_mildly_abnormal / urate_significantly_abnormal / feces_mildly_abnormal / feces_significantly_abnormal / excrement_context_diet_or_brumation / excrement_signal_unreliable),按 4 级提醒策略递进(Level 1 入库 → Level 2 观察下次排泄+检查温度+确认喂食 → Level 3 检查脱水+提供饮水+收集粪便送检寄生虫+联系爬宠兽医 → Level 4 🚨 尿酸显著异常+粪便显著异常同时出现→立即联系爬宠兽医,可能为系统性感染/败血症前兆)。核心生理性上下文必须排除 4 项:食物种类影响粪便颜色/形态(蟋蟀→绿便 / 粉鼠→深色便 / 杜比亚→棕色便,必须录入上次喂食内容)/ 休眠/冬眠期排泄频率大幅下降+尿酸浓缩增大属正常 / 抱蛋期雌性排泄间隔延长属正常 / 近期换食 < 7 天粪便短期异常属临时。物种排泄习性硬约束:蛇类排泄频率低(7-14 天一次)、尿酸与粪便同时排出为"复合排泄" / 蜥蜴/守宫排泄更频繁(1-3 天)、尿酸与粪便可能分开 / 草食性龟类粪便量大含植物纤维 / 肉食性蛇类粪便少含毛发 → 严禁通用排泄频率/尿酸面积盲判。排泄物被踩踏/被垫材遮挡/光照色温偏移/分辨率 < 1080p/无参考物无法归一化 → 必须返回 excrement_signal_unreliable。不提供任何疾病诊断,仅输出基于视觉的排泄物评估;🚨 严禁输出具体药物名称、剂量、驱虫药品牌、抗生素品牌、止泻药品牌;🚨 严禁输出"用芬苯达唑 50mg/kg 驱虫""口服甲硝唑 25mg/kg""灌服益生菌 X 克""注射拜有利 5mg/kg"等具体处方;🚨 严禁输出"自行灌肠""自行催吐""自行挤压排泄口"等任何外科或医疗操作;严禁伪造夸大尿酸面积/粪便稀软程度;严禁越权代用户调整喂食内容/频率(仅可建议)。
本 Skill 用于:基于爬宠箱 / 饲养缸 / 养殖场固定摄像头在发现排泄物后、清理前拍摄的高清图像(俯拍,含尺寸参考物),识别 7 类综合场景(excrement_healthy / urate_mildly_abnormal / urate_significantly_abnormal / feces_mildly_abnormal / feces_significantly_abnormal / excrement_context_diet_or_brumation / excrement_signal_unreliable)→ 三组指标:尿酸检测 7 项(urate_detected + urate_color_classification + urate_pixel_area + urate_area_normalized_by_body_length + urate_area_vs_historical_baseline + urate_texture + urate_count)+ 粪便形态 7 项(feces_detected + feces_color_classification + feces_consistency + feces_pixel_area + feces_length_to_width_ratio + undigested_content_visible + feces_count)+ 排除上下文 7 项(喂食 72h 内容 / 蜕皮期 / 抱蛋期 / 休眠期 / 垫材类型 / 近期换食 / 图像质量)→ 4 档提醒级别(info / important / urgent / critical)→ 4 级提醒策略递进(入库 → 观察下次+检查温度+确认喂食 → 检查脱水+送检寄生虫+联系兽医 → 🚨 尿酸+粪便双异常→立即联系兽医·败血症前兆)→ 单日提醒上限(Level 1 不限 / Level 2 × 3 / Level 3 × 5 / Level 4 不设上限——肾脏+肠道双重异常·败血症前兆风险)→ 排泄物评估报告(按 enclosure_id + individual_id + 排泄时间输出,含尿酸指标 + 粪便指标 + 建议动作 + 免责声明)
能力包含:排泄物区域检测与分割(尿酸 vs 粪便 vs 垫材背景)、尿酸白色/乳白色区域面积量化(像素面积 + 体长归一化)、尿酸颜色分类、尿酸质地分类(膏状/颗粒/硬块)、尿酸面积与历史基线对比(7-30 天趋势)、粪便颜色分类(7 类)、粪便形态分类(5 类)、粪便长宽比计算、未消化内容检测、食物-粪便颜色关联(蟋蟀绿便/粉鼠深色便)、垫材干扰排除、尺寸参考物标定、物种排泄习性匹配、图像质量门控(踩踏/遮挡/色温偏移 → unreliable)、用户 APP 推送、4 级提醒递进、单日提醒上限(Level 4 不设上限)、排泄物评估报告(按 enclosure_id + individual_id 输出)、连续 ≥ 2 次 Level 3+ → 强烈建议联系专业爬宠兽医(粪便镜检 + 寄生虫浮聚法 + 尿酸结晶分析 + 血液检查)
触发条件:
自动行为:
python -m scripts.smyx_reptile_excrement_analysis_analysis --list --open-id 参数调用 API 查询云端的历史报告数据requests>=2.28.0
在执行爬宠排泄物形态识别前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/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_reptile_excrement_analysis_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: 结果输出文件路径(可选)excrement_signal_unreliable爬宠排泄物-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 尿酸归一化/粪便形态/场景 | 分析时间 | 点击查看 |
|---|---|---|---|
| 爬宠排泄物-20260525135700001 | 0.18 (+62% baseline) / loose_watery+bloody / urate+feces_significantly_abnormal | 2026-05-25 13:57:00 | 🔗 查看报告 |
# 分析本地爬宠排泄物高清图像(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_excrement_analysis_analysis --input /path/to/reptile_excrement.jpg --open-id your-open-id
# 分析网络爬宠排泄物高清图像(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_excrement_analysis_analysis --url https://example.com/reptile_excrement.jpg --open-id your-open-id
# 显示历史排泄物评估记录清单(自动触发关键词:查看爬宠排泄物历史报告等)
python -m scripts.smyx_reptile_excrement_analysis_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_reptile_excrement_analysis_analysis --input reptile_excrement.jpg --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_reptile_excrement_analysis_analysis --input reptile_excrement.jpg --open-id your-open-id --output result.json