Install
openclaw skills install smyx-reptile-feeding-refusal-vomiting-analysisThrough fixed enclosure cameras, the system analyzes feeding-time and post-feeding videos of reptiles (snakes, lizards, turtles) to detect prey-attack behavior, successful swallowing, and regurgitation (vomiting). | 通过爬宠箱固定摄像头,分析喂食时及喂食后一段时间的视频,检测爬行动物(如蛇、蜥蜴、龟)的进食行为:是否主动攻击猎物(如鼠、昆虫)、是否成功吞食、以及是否在进食后短时间内将食物吐出(反吐)。当宠物对猎物无视、逃避(拒食)或将已吞入的食物吐出时,记录异常事件并输出提示。
openclaw skills install smyx-reptile-feeding-refusal-vomiting-analysisThrough fixed enclosure cameras, the system analyzes feeding-time and post-feeding videos of reptiles (snakes, lizards, turtles) to detect prey-attack behavior, successful swallowing, and regurgitation (vomiting). If the reptile ignores or avoids prey within a set window (default 30 min after offering), it is judged as feeding refusal; if it regurgitates swallowed prey within a short period (default 2 h after swallowing), it is judged as vomiting. The skill helps early detection of digestive tract disease, stress, inappropriate temperature, or parasitic infection. Application scenarios: vivariums, breeding tanks, reptile farms. The system monitors during feeding periods and pushes alerts upon refusal or vomiting. Skill features: feeding refusal and vomiting are common reptile health issues that may result from improper temperature, intestinal blockage, parasites, or infectious disease. AI-based automatic recording helps keepers intervene early and prevent deterioration. This skill can be integrated into smart vivariums or reptile-keeping apps.
通过爬宠箱固定摄像头,分析喂食时及喂食后一段时间的视频,检测爬行动物(如蛇、蜥蜴、龟)的进食行为:是否主动攻击猎物(如鼠、昆虫)、是否成功吞食、以及是否在进食后短时间内将食物吐出(反吐)。当宠物对猎物无视、逃避(拒食)或将已吞入的食物吐出时,记录异常事件并输出提示。该技能有助于早期发现爬宠的消化道疾病、应激、环境温度不适或寄生虫感染。应用场景:爬宠箱、饲养缸、爬行动物养殖场。系统在喂食时段自动监测,当出现拒食或呕吐时向饲养者推送提醒。技能特点:拒食和呕吐是爬宠常见的健康问题,可能由温度不当、肠道堵塞、寄生虫或传染病引起。通过 AI 自动记录,可提醒饲养者及时干预,避免病情恶化。该技能可集成到智能爬宠箱或饲养管理 APP 中。
假设你是一个专业的爬行动物健康监测 AI。你的任务是分析爬宠箱固定摄像头的喂食视频(正对喂食区域,分辨率 ≥ 720p,帧率 ≥ 20 FPS),围绕"投喂瞬间 t0"展开两个独立但相关的判定窗口:① 拒食窗口(t0 ~ t0+30 分钟):检测攻击事件(蛇咬击/缠绕、蜥蜴/龟扑咬)+ 吞食事件(猎物从口腔送入食道完成下咽);窗口内 attack=0 且 swallow=0 → refusal_judged。② 呕吐窗口(吞食时间点 ~ +2 小时):检测反吐事件(反刍吐出全猎物/部分/液体),反吐物外观分类。按 species(精确到物种:球蟒 / 玉米蛇 / 红尾蚺 / 王蛇 / 豹纹守宫 / 鬃狮蜥 / 蓝舌石龙子 / 红腿象龟 / 苏卡达 / 缅陆等)匹配进食生理基线,按 7 类综合场景判定(feeding_normal_attack_swallow / feeding_normal_delayed_attack / refusal_in_physiological_context / refusal_abnormal / vomiting_event / vomiting_with_environmental_cause / feeding_signal_unreliable),按 4 级提醒策略递进(Level 1 积极反馈 → Level 2 生理性正常无需干预 → Level 3 异常拒食检查温度湿度 UVB+猎物状态+大小+7 天后再试 → Level 4 呕吐立即停喂 24-72h+检查消化温度+观察精神排泄+联系兽医)。核心物种特异性硬约束:大型蛇类(球蟒 / 红尾蚺 / 王蛇等)一次喂食后数日至两周不进食属正常**;冬化期物种(部分龟类、玉米蛇)整季拒食属正常;蜕皮期所有爬宠均可能拒食;繁殖期雄性可能拒食;抱卵/产前雌性常拒食 → 严禁通用阈值盲判生理性拒食为异常。生理性上下文必须考虑(蜕皮 / 冬化 / 距上次成功喂食 < 72h / 繁殖期 / 抱卵期 / 新入缸应激 / 环境温度异常),避免误报。视野遮挡 / 光照不足 / 跟踪率 < 80% / 投喂时间未录入 → 必须返回 feeding_signal_unreliable。不提供任何疾病诊断,仅输出基于视觉的进食行为记录;严禁输出具体药物名称、剂量、给药方案、灌肠剂、催吐剂、止吐药;严禁输出"强制开口喂食""灌食""饥饿疗法 X 天"等具体操作剂量;严禁伪造夸大攻击/吞食/反吐事件;严禁越权代用户投喂或启停设备(仅建议)。**
python -m scripts.smyx_reptile_feeding_refusal_vomiting_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_reptile_feeding_refusal_vomiting_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: 结果输出文件路径(可选)refusal_judged + vomit_event_detected + 综合场景标签feeding_signal_unreliable 并建议调整摄像头或补充投喂时间录入爬宠喂食异常-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 事件类型/置信度/场景 | 分析时间 | 点击查看 |
|---|---|---|---|
| 爬宠喂食异常-20260525100600001 | 呕吐 / 0.93 / vomiting_event | 2026-05-25 10:06:00 | 🔗 查看报告 |
# 分析本地爬宠箱喂食视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_feeding_refusal_vomiting_analysis --input /path/to/feeding.mp4 --open-id your-open-id
# 分析网络爬宠箱喂食视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_feeding_refusal_vomiting_analysis --url https://example.com/feeding.mp4 --open-id your-open-id
# 显示历史拒食/呕吐事件记录清单(自动触发关键词:查看爬宠拒食/呕吐历史报告等)
python -m scripts.smyx_reptile_feeding_refusal_vomiting_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_reptile_feeding_refusal_vomiting_analysis --input feeding.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_reptile_feeding_refusal_vomiting_analysis --input feeding.mp4 --open-id your-open-id --output result.json