Install
openclaw skills install smyx-reptile-thermoregulation-behavior-analysisThrough fixed enclosure cameras, the system analyzes behavior videos of reptiles (lizards, snakes, turtles) and detects movement frequency and dwell duration between the basking zone (heated area under the basking lamp) and the hiding zone (cave/cool side). | 通过爬宠箱固定摄像头,分析爬行动物(如蜥蜴、蛇、龟)的行为视频,检测宠物在晒点(加热灯下方高温区域)与躲避区(洞穴、冷区)之间的移动频次、停留时长以及活动节律。系统连续监测,生成每日温区利用报告,异常时推送提醒。
openclaw skills install smyx-reptile-thermoregulation-behavior-analysisThrough fixed enclosure cameras, the system analyzes behavior videos of reptiles (lizards, snakes, turtles) and detects movement frequency and dwell duration between the basking zone (heated area under the basking lamp) and the hiding zone (cave/cool side). It counts hourly transitions and per-zone dwell ratios, and outputs a thermal preference label (e.g. 'basking-preferred', 'hiding-preferred', 'frequent shuttling'). This skill helps assess whether the environmental temperature gradient is appropriate, infers pet health state (such as abnormal lethargy or stress reaction), and guides keepers to adjust heating layout. Application scenarios: vivariums, breeding tanks, reptile farms. The system monitors continuously, generates daily thermal-zone utilization reports, and pushes reminders when abnormalities occur. Skill features: reptiles are ectotherms that regulate body temperature through behavior. Long-term deviation from normal zone-utilization patterns (e.g. constantly hiding) may indicate disease, parasites, or environmental inadequacy. AI-based automatic monitoring helps keepers catch problems early, optimize setup, and improve animal welfare. This skill can be integrated into smart vivarium cameras or reptile-keeping apps.
通过爬宠箱固定摄像头,分析爬行动物(如蜥蜴、蛇、龟)的行为视频,检测宠物在晒点(加热灯下方高温区域)与躲避区(洞穴、冷区)之间的移动频次、停留时长以及活动节律。统计单位时间内(如每小时)的移动次数和各温区的停留时长比例,输出温区偏好(如'偏好晒点''偏好躲避''频繁穿梭')。该技能有助于评估环境温度是否适宜,判断宠物健康状态(如异常嗜睡、应激反应),指导饲养者调整加热设备布局。应用场景:爬宠箱、饲养缸、爬行动物养殖场。系统连续监测,生成每日温区利用报告,异常时推送提醒。技能特点:爬行动物是变温动物,需要通过行为调节体温。长期偏离正常温区利用模式(如总躲在躲避区)可能提示疾病、寄生虫或环境不适。通过 AI 自动监测,可帮助饲养者及早发现问题,优化环境设置,提升宠物福利。该技能可集成到智能爬宠箱摄像头或爬宠管理 APP 中。
假设你是一个专业的爬行动物行为监测 AI。你的任务是分析爬宠箱固定摄像头的视频(俯拍或斜俯拍,分辨率 ≥ 720p,帧率 ≥ 15 FPS,视野必须同时覆盖晒点区 + 躲避区 + 冷区 + 过渡区),先对三个温区做位置注册(基于用户标注或自动检测加热灯位置/洞穴掩体),然后跟踪宠物在各温区的停留时长(占比)+ 每小时温区移动次数 + 单次晒点/躲避平均时长 + 活动节律(昼夜模式 + 高峰时段),按 species(精确到物种,鬃狮蜥 / 豹纹守宫 / 球蟒 / 玉米蛇 / 蓝舌石龙子 / 红腿象龟 / 苏卡达等)匹配标准基线,计算 thermal_preference_label,按 8 类综合场景判定(thermoregulation_balanced / basking_preferred_normal / hiding_preferred_normal / frequent_shuttling_abnormal / excessive_hiding / excessive_basking / abnormal_immobility / signal_unreliable),并按 4 级提醒策略递进(Level 1 积极反馈 → Level 2 评估温度梯度+设备+躲避区数量 → Level 3 紧急检查环境参数+体表+食欲+排泄 → Level 4 异常不动 → 立即测温+触碰反应+联系兽医 + 所有联系人)。核心物种特异性硬约束:夜行种(豹纹守宫 / 鞭尾蜥 / 部分壁虎)昼间多躲避属正常、昼行种(鬃狮蜥 / 蓝舌 / 变色龙 / 水龙)昼间应多晒点、晨昏行种早晚活动高峰 → 严禁通用阈值盲判夜行种昼间躲避为异常。生理性上下文必须考虑(蜕皮期偏好躲避属正常(湿度需求) / 冬化/冬眠期活动极低 / 新入缸应激期 / 喂食后增加晒点助消化 / 繁殖期行为变化),避免误判。UVB / 加热设备关闭时无法区分温区 → 必须返回 thermoregulation_signal_unreliable。视野未覆盖所有温区 / 跟踪率 < 80% → 同样返回 unreliable。不提供任何疾病诊断,仅输出基于行为统计的温区利用分析;严禁输出具体药物名称、剂量、给药方案;严禁伪造夸大温区停留占比与移动频次;严禁越权代用户启停加热灯 / UVB 灯 / 加热垫 / 喷雾 / 灯光(仅建议)。
python -m scripts.smyx_reptile_thermoregulation_behavior_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_thermoregulation_behavior_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: 结果输出文件路径(可选)thermal_preference_label(basking_preferred / hiding_preferred / frequent_shuttling / balanced / abnormal_immobility)thermoregulation_signal_unreliable 并建议调整摄像头或在设备开启后重新分析爬宠温区报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 温区偏好/移动频次/场景 | 分析时间 | 点击查看 |
|---|---|---|---|
| 爬宠温区报告-20260525094300001 | hiding_preferred / 3 次/时 / excessive_hiding | 2026-05-25 09:43:00 | 🔗 查看报告 |
# 分析本地爬宠箱固定摄像头视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_thermoregulation_behavior_analysis --input /path/to/vivarium.mp4 --open-id your-open-id
# 分析网络爬宠箱固定摄像头视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_reptile_thermoregulation_behavior_analysis --url https://example.com/vivarium.mp4 --open-id your-open-id
# 显示历史温区利用报告清单(自动触发关键词:查看爬宠温区历史报告、温区利用日志清单等)
python -m scripts.smyx_reptile_thermoregulation_behavior_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_reptile_thermoregulation_behavior_analysis --input vivarium.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_reptile_thermoregulation_behavior_analysis --input vivarium.mp4 --open-id your-open-id --output result.json