Install
openclaw skills install smyx-fish-respiratory-rate-monitor-analysisThrough fixed cameras on aquariums, the system analyzes fish gill-cover opening / closing motion video, detects periodic gill opening and closing, and calculates respiratory rate (breaths per minute). When the respiratory rate exceeds a normal threshold (e.g. > 80 BPM, depending on species and water temperature), the system outputs a 'hypoxia warning' and prompts the user to check water quality (dissolved oxygen), water temperature, or fish health status. This skill helps early detection of underwater hypoxia, gill diseases, or stress reactions. Application scenarios: home aquariums, public aquariums, ornamental fish farms, laboratories. The system continuously monitors and automatically pushes reminders when respiratory rate is abnormal. Skill features: fish respiratory rate is an important indicator of dissolved oxygen, stress status, and gill health. AI-based automatic monitoring can remind aquarists to add oxygen before hypoxia occurs, preventing fish death. This skill can be integrated into smart aquarium cameras to enhance product tech value and practicality. | 通过鱼缸固定摄像头,分析鱼类的鳃盖开合运动视频,检测鳃盖的周期性开启和闭合,计算呼吸频率(次/分钟)。当呼吸频率超过正常阈值(例如 > 80 次/分钟,具体依品种和水温而定)时,输出'缺氧预警',提示用户检查水质(溶氧量)、水温或鱼的健康状态。该技能有助于早期发现水中缺氧、鳃部疾病或应激反应。应用场景:家庭鱼缸、水族馆、观赏鱼养殖场、实验室。系统连续监测,在呼吸频率异常时自动推送提醒。技能特点:鱼类呼吸频率是反映溶氧量、应激状态和鳃部健康的重要指标。通过 AI 自动监测,可在缺氧发生前及时提醒养鱼者增氧,防止鱼只死亡。该技能可集成到智能鱼缸摄像头中,提升产品科技含量和实用性。
openclaw skills install smyx-fish-respiratory-rate-monitor-analysisThrough fixed cameras on aquariums, the system analyzes fish gill-cover opening / closing motion video, detects periodic gill opening and closing, and calculates respiratory rate (breaths per minute). When the respiratory rate exceeds a normal threshold (e.g. > 80 BPM, depending on species and water temperature), the system outputs a 'hypoxia warning' and prompts the user to check water quality (dissolved oxygen), water temperature, or fish health status. This skill helps early detection of underwater hypoxia, gill diseases, or stress reactions. Application scenarios: home aquariums, public aquariums, ornamental fish farms, laboratories. The system continuously monitors and automatically pushes reminders when respiratory rate is abnormal. Skill features: fish respiratory rate is an important indicator of dissolved oxygen, stress status, and gill health. AI-based automatic monitoring can remind aquarists to add oxygen before hypoxia occurs, preventing fish death. This skill can be integrated into smart aquarium cameras to enhance product tech value and practicality.
通过鱼缸固定摄像头,分析鱼类的鳃盖开合运动视频,检测鳃盖的周期性开启和闭合,计算呼吸频率(次/分钟)。当呼吸频率超过正常阈值(例如 > 80 次/分钟,具体依品种和水温而定)时,输出'缺氧预警',提示用户检查水质(溶氧量)、水温或鱼的健康状态。该技能有助于早期发现水中缺氧、鳃部疾病或应激反应。应用场景:家庭鱼缸、水族馆、观赏鱼养殖场、实验室。系统连续监测,在呼吸频率异常时自动推送提醒。技能特点:鱼类呼吸频率是反映溶氧量、应激状态和鳃部健康的重要指标。通过 AI 自动监测,可在缺氧发生前及时提醒养鱼者增氧,防止鱼只死亡。该技能可集成到智能鱼缸摄像头中,提升产品科技含量和实用性。
假设你是一个专业的水族呼吸健康监测 AI。你的任务是分析鱼缸固定摄像头近距离视频(鳃盖区域可见),检测鱼类鳃盖的开合运动,计算呼吸频率(BPM = 次/分钟)。当 BPM 超过预设阈值(默认 80,需按鱼种 + 水温联合动态调整基线)时,输出缺氧预警;当 BPM 过低(低于鱼种低阈值)时,疑似低温昏迷/中毒,同样告警。按 7 类综合场景(respiratory_normal / high_normal / hyperventilation_mild / hyperventilation_moderate / hypoxia_warning / bradypnea / signal_unreliable)作判定,按 4 级告警策略递进(Level 1 入库/轻提醒 → Level 2 重要告警 + 检查水温/溶氧/pH/氨氮 → Level 3 紧急告警 + 强烈建议开启增氧 + 联系兽医 → Level 4 多次紧急/同缸多发/浮头吞气 ≥ 5 分钟 + 推送所有联系人 + 强烈建议立即抢救)。必须考虑生理性升高的上下文(活跃游动 / 投喂后 30 分钟内 / 水温升高),避免误报。信号稳定度 < 50% 必须返回 signal_unreliable 并建议重拍,禁止给出不可靠的告警。不提供任何医疗诊断,仅输出基于视觉的呼吸频率数值与异常提示;禁止输出具体药物名称和剂量;严禁伪造夸大 BPM 数据,严禁越权代用户启停增氧泵/加热棒/换水/投药等设备(仅建议)。
python -m scripts.smyx_fish_respiratory_rate_monitor_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_fish_respiratory_rate_monitor_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: 结果输出文件路径(可选)respiratory_signal_unreliable 并建议重拍,禁止给出不可靠的告警鱼缸呼吸监测-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | BPM/场景/等级 | 分析时间 | 点击查看 |
|---|---|---|---|
| 鱼缸呼吸监测-20260524131200001 | 142 BPM / hypoxia_warning / severe | 2026-05-24 13:12:00 | 🔗 查看报告 |
# 分析本地鱼鳃盖近距离视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_fish_respiratory_rate_monitor_analysis --input /path/to/gill.mp4 --open-id your-open-id
# 分析网络鱼鳃盖近距离视频/实时流(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_fish_respiratory_rate_monitor_analysis --url https://example.com/gill.mp4 --open-id your-open-id
# 显示历史呼吸监测记录清单(自动触发关键词:查看鱼呼吸频率历史报告、鱼鳃盖监测日志清单等)
python -m scripts.smyx_fish_respiratory_rate_monitor_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_fish_respiratory_rate_monitor_analysis --input gill.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_fish_respiratory_rate_monitor_analysis --input gill.mp4 --open-id your-open-id --output result.json