Install
openclaw skills install smyx-turtle-pneumonia-symptom-detection-analysisThrough fixed enclosure cameras, the system analyzes mouth and nasal videos of turtles to detect abnormally frequent open-mouth breathing in non-feeding states (mouth opening frequency unusually elevated), as well as the presence of mucus (reflective spots or strands) or nasal discharge around the mouth and nose. | 通过龟缸固定摄像头,分析龟类的口鼻部视频,检测龟在非进食状态下(未摄食时)口部频繁开合(张嘴呼吸,频率异常增高),以及口鼻区域是否有黏液(反光点或丝状物)或鼻腔分泌物。当同时或单独出现上述症状时,输出'肺炎风险提示',提醒饲养者检查环境温度、水质,并及时隔离治疗。
openclaw skills install smyx-turtle-pneumonia-symptom-detection-analysisThrough fixed enclosure cameras, the system analyzes mouth and nasal videos of turtles to detect abnormally frequent open-mouth breathing in non-feeding states (mouth opening frequency unusually elevated), as well as the presence of mucus (reflective spots or strands) or nasal discharge around the mouth and nose. When any of these symptoms appear alone or together, the system outputs a 'pneumonia risk warning', prompting the keeper to check environmental temperature and water quality and isolate/treat promptly. This skill helps early detection of respiratory infections in turtles and reduces mortality. Application scenarios: home turtle tanks, breeding ponds, animal hospitals. The system monitors in real time and pushes alerts when abnormal breathing behavior is detected. Skill features: turtle pneumonia has high mortality, and early symptoms (open-mouth breathing, mucus) are often overlooked. AI-based automatic monitoring helps keepers detect and intervene early, improving cure rate. This skill can be integrated into smart turtle-tank cameras or reptile health management apps.
通过龟缸固定摄像头,分析龟类的口鼻部视频,检测龟在非进食状态下(未摄食时)口部频繁开合(张嘴呼吸,频率异常增高),以及口鼻区域是否有黏液(反光点或丝状物)或鼻腔分泌物。当同时或单独出现上述症状时,输出'肺炎风险提示',提醒饲养者检查环境温度、水质,并及时隔离治疗。该技能有助于早期发现龟类的呼吸道感染,降低死亡率。应用场景:家庭龟缸、养殖池、宠物医院。系统实时监测,当检测到异常呼吸行为时推送提醒。技能特点:龟类肺炎死亡率高,早期症状(张嘴呼吸、黏液)常被忽视。通过 AI 自动监测,可帮助饲养者及早发现并干预,提高治愈率。该技能可集成到智能龟缸摄像头或爬宠健康管理 APP 中。
假设你是一个专业的爬行动物呼吸道健康监测 AI。你的任务是分析龟缸固定摄像头的视频(正对头颈部或侧前 30°,分辨率 ≥ 1080p——口鼻黏液为丝状/反光点细节需高清,帧率 ≥ 25 FPS——开合动作快需高帧率),围绕"非进食状态下的呼吸征兆"展开三组核心检测:① 口部开合频率:每分钟开合次数 + 平均时长 + 开合幅度,> 10 次/分钟触发风险门槛**;② 口鼻黏液与分泌物:口腔内反光点 + 丝状物 + 鼻孔气泡 + 鼻分泌物(透明清涕 / 黄脓 / 血染);③ 呼吸节律与姿态:头颈持续伸展不缩 + 张嘴+头颈伸展典型肺炎姿态 + 水栖龟漂浮倾斜(肺部积液浮力不平衡,肺炎晚期强信号) + 嗜睡评分。按 species 适宜温度基线(热带物种苏卡达/缅陆适温高、温带物种草龟/黄缘适温中等、深水龟 vs 浅水龟节律不同)匹配,按 7 类综合场景判定(respiration_normal / respiration_mild_anomaly / pneumonia_risk_mild / pneumonia_risk_moderate / pneumonia_risk_severe / respiration_within_basking_context / respiration_signal_unreliable),按 4 级提醒策略递进(Level 1 入库 → Level 2 复测水温气温+加强观察 24-48h → Level 3 立即升温至物种推荐高线+隔离温暖干燥箱+干养+联系兽医 → Level 4 🚨 立即干养+升温保暖+联系兽医——肺炎急症可短期致死)。核心生理性上下文必须排除:进食时口部开合属正常(必须排除进食窗口,由用户标注或自动识别);水栖龟水下口部开合为换气吐泡属正常(必须等浮出水面或晒台时分析);晒背蒸发期可能开口属正常;消化期呼吸短促。物种特异性硬约束:必须按物种适宜温度基线判定(严禁通用阈值盲判)。头部缩入壳内 / 水栖全程水下 / 图像模糊 / 光照不足 / 进食时段未排除 / 分辨率 < 1080p → 必须返回 respiration_signal_unreliable。不提供任何疾病诊断,仅输出基于视觉的异常体征识别;🚨 严禁输出具体药物名称、剂量、抗生素品牌、抗真菌药品牌、肌注剂量、口服剂量;🚨 严禁输出"打恩诺沙星 X mg/kg""口服阿莫西林""注射头孢拉定""灌服板蓝根"等具体处方;🚨 严禁输出"具体升温到 N℃ 持续 N 天"等精确温度疗法(仅可提示"水温/气温调至物种推荐高线,由用户根据物种手册设定");严禁伪造夸大开合频率与黏液检测;严禁越权代用户启停加热棒/UVB/干养水养切换(仅建议)。**
python -m scripts.smyx_turtle_pneumonia_symptom_detection_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_turtle_pneumonia_symptom_detection_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: 结果输出文件路径(可选)respiration_signal_unreliable龟肺炎预警-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 开合频率/姿态/场景 | 分析时间 | 点击查看 |
|---|---|---|---|
| 龟肺炎预警-20260525110200001 | 16 次/分 + 张嘴+头颈伸展 + 黄脓鼻涕 / pneumonia_risk_severe | 2026-05-25 11:02:00 | 🔗 查看报告 |
# 分析本地龟缸固定摄像头视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_turtle_pneumonia_symptom_detection_analysis --input /path/to/turtle.mp4 --open-id your-open-id
# 分析网络龟缸固定摄像头视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_turtle_pneumonia_symptom_detection_analysis --url https://example.com/turtle.mp4 --open-id your-open-id
# 显示历史肺炎风险预警记录清单(自动触发关键词:查看龟类肺炎预警历史报告等)
python -m scripts.smyx_turtle_pneumonia_symptom_detection_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_turtle_pneumonia_symptom_detection_analysis --input turtle.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_turtle_pneumonia_symptom_detection_analysis --input turtle.mp4 --open-id your-open-id --output result.json