Install
openclaw skills install smyx-fish-feeding-activity-analysisThrough built-in cameras of smart feeders or fixed cameras on aquariums, the system captures fish feeding videos after feeding. Using AI object detection and motion analysis, it identifies the number of fish gathering for food, feeding intensity (fish swimming speed, feeding action frequency), and remaining feed amount, and computes a comprehensive feeding activity score (0-100). When the score falls below the threshold, the system outputs an 'appetite decline' alert, which may indicate disease, water quality deterioration, or stress reaction. Application scenarios: smart feeders, home aquariums, aquaculture farms, public aquariums. The system automatically analyzes after each feeding, generates a feeding report, and pushes reminders when abnormal. Skill features: appetite decline is an early signal of fish diseases (e.g. enteritis, parasites). AI-based automatic monitoring of feeding activity helps aquarists detect problems early and reduce losses. This skill can be integrated into smart feeders or aquarium cameras to improve product intelligence. | 通过智能喂食器内置摄像头或鱼缸固定摄像头,在投喂后拍摄鱼群摄食视频,利用 AI 目标检测和运动分析技术,识别鱼群聚集抢食的数量、摄食强度(鱼只游动速度、摄食动作频率)以及剩余饲料量,综合计算摄食活跃度评分(0-100 分)。当活跃度评分低于阈值时,输出'食欲下降'提示,可能预示疾病、水质恶化或应激反应。应用场景:智能喂食器、家庭鱼缸、水产养殖场、水族馆。系统在每次投喂后自动分析,生成摄食报告,异常时推送提醒。技能特点:食欲减退是鱼类疾病(如肠炎、寄生虫)的早期信号。通过 AI 自动监测摄食活跃度,可帮助养鱼者及早发现问题,减少损失。该技能可集成到智能喂食器或鱼缸摄像头中,提升产品智能化水平。
openclaw skills install smyx-fish-feeding-activity-analysisThrough built-in cameras of smart feeders or fixed cameras on aquariums, the system captures fish feeding videos after feeding. Using AI object detection and motion analysis, it identifies the number of fish gathering for food, feeding intensity (fish swimming speed, feeding action frequency), and remaining feed amount, and computes a comprehensive feeding activity score (0-100). When the score falls below the threshold, the system outputs an 'appetite decline' alert, which may indicate disease, water quality deterioration, or stress reaction. Application scenarios: smart feeders, home aquariums, aquaculture farms, public aquariums. The system automatically analyzes after each feeding, generates a feeding report, and pushes reminders when abnormal. Skill features: appetite decline is an early signal of fish diseases (e.g. enteritis, parasites). AI-based automatic monitoring of feeding activity helps aquarists detect problems early and reduce losses. This skill can be integrated into smart feeders or aquarium cameras to improve product intelligence.
通过智能喂食器内置摄像头或鱼缸固定摄像头,在投喂后拍摄鱼群摄食视频,利用 AI 目标检测和运动分析技术,识别鱼群聚集抢食的数量、摄食强度(鱼只游动速度、摄食动作频率)以及剩余饲料量,综合计算摄食活跃度评分(0-100 分)。当活跃度评分低于阈值时,输出'食欲下降'提示,可能预示疾病、水质恶化或应激反应。应用场景:智能喂食器、家庭鱼缸、水产养殖场、水族馆。系统在每次投喂后自动分析,生成摄食报告,异常时推送提醒。技能特点:食欲减退是鱼类疾病(如肠炎、寄生虫)的早期信号。通过 AI 自动监测摄食活跃度,可帮助养鱼者及早发现问题,减少损失。该技能可集成到智能喂食器或鱼缸摄像头中,提升产品智能化水平。
假设你是一个专业的水族摄食行为分析 AI。你的任务是分析鱼缸固定摄像头/智能喂食器内置摄像头投喂后 1 分钟内的视频(可选续采至 3 分钟用于剩余饲料评估),检测鱼群聚集抢食的数量、摄食强度(游动速度、摄食动作频率、抢食激烈度)以及剩余饲料量,综合计算摄食活跃度评分(0-100)。按 7 类综合场景(feeding_excellent / normal / slightly_low / appetite_decline / severe_appetite_loss / total_refusal / signal_unreliable)作判定,按 4 级告警策略递进(Level 1 入库/轻提醒 → Level 2 重要告警 + 检查水温/溶氧/pH/氨氮 + 近期换鱼/换水/换饲料 → Level 3 紧急告警 + 隔离精神萎靡个体 + 暂停下次投喂 + 联系兽医 → Level 4 完全拒食/连续 ≥ 3 餐异常 + 全面检查(水质+体表+游姿+呼吸)+ 联系专业人员)。鱼种特异性必须按基线判定(水面金鱼/锦鲤 vs 底层鼠鱼/异型 vs 立体抢食神仙鱼 vs 日间不进食的夜行鱼)。必须考虑生理性低食欲的上下文(水温骤变、繁殖期、灯光过渡期、饲料品牌切换),避免误报。视频不在投喂窗口/未检测到投喂动作/水浑浊度过高时,必须返回 feeding_signal_unreliable 并建议重拍,禁止给出不可靠的食欲下降告警。不提供任何疾病诊断,仅输出基于视觉的活跃度评估;禁止输出具体药物名称和剂量;严禁伪造夸大评分,严禁越权代用户启停智能喂食器/换水/投药等设备(仅可建议或在用户明确授权范围内调整下次投喂量)。
python -m scripts.smyx_fish_feeding_activity_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_feeding_activity_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地智能喂食器/鱼缸固定摄像头投喂后 1 分钟内视频文件路径--url: 网络智能喂食器/鱼缸固定摄像头投喂后 1 分钟内视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,鱼类摄食活跃度分析场景默认 other--open-id: 当前用户的 open-id(必填,养鱼用户 / 养殖场 / 场馆授权)--list: 显示鱼类摄食行为活跃度分析历史记录清单--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)feeding_signal_unreliable,禁止给出不可靠的食欲下降告警鱼缸摄食活跃度-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 评分/场景/等级 | 分析时间 | 点击查看 |
|---|---|---|---|
| 鱼缸摄食活跃度-20260524132100001 | 38 / feeding_severe_appetite_loss / severe | 2026-05-24 13:21:00 | 🔗 查看报告 |
# 分析本地投喂后视频(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_fish_feeding_activity_analysis --input /path/to/feeding.mp4 --open-id your-open-id
# 分析网络投喂后视频/实时流(以下只是示例,禁止直接使用 openclaw-control-ui 作为 open-id)
python -m scripts.smyx_fish_feeding_activity_analysis --url https://example.com/feeding.mp4 --open-id your-open-id
# 显示历史摄食活跃度记录清单(自动触发关键词:查看鱼摄食历史报告、鱼缸摄食活跃度日志清单等)
python -m scripts.smyx_fish_feeding_activity_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_fish_feeding_activity_analysis --input fe.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_fish_feeding_activity_analysis --input fe.mp4 --open-id your-open-id --output result.json