Design & media

Pet Litter Box Usage Monitor (Frequency & Duration) | 宠物猫砂盆使用频次与时长

Try it

Triggers when a user provides a litter-box area video URL or file for analysis; uses object detection and tracking to identify each cat's entry/exit times at the litter box, records daily usage frequency and per-visit duration (entry → exit), and compares against the historical baseline. When frequency rises/falls significantly, or per-visit duration is abnormally long/short, outputs a urinary-disease (cystitis, urinary obstruction, kidney disease) early-warning alert. Especially useful for individualized health management in multi-cat households. Application: multi-cat homes, catteries, vet hospital inpatient wards, boarding centers. Does NOT provide medical diagnosis — only outputs behavior-statistics-based alerts. | 当用户提供猫砂盆区域视频URL或文件时,触发本技能进行使用频次与时长分析;通过智能猫砂盆或固定摄像头分析视频,利用目标检测和跟踪技术识别每只猫咪进出猫砂盆的时刻,记录每日使用频次、单次停留时长(从进入至离开),并与历史基线对比;若频次显著增减或单次时长异常,则输出泌尿系统疾病(膀胱炎、尿闭、肾病等)预警,有助于多猫家庭的个体化管理及早发现健康问题。应用场景:多猫家庭、猫舍、宠物医院住院部、宠物寄养中心。仅输出基于行为统计的提示,不提供医疗诊断。

What it does

Triggers when a user provides a litter-box area video URL or file for analysis; uses object detection and tracking to identify each cat's entry/exit times at the litter box, records daily usage frequency and per-visit duration (entry → exit), and compares against the historical baseline. When frequency rises/falls significantly, or per-visit duration is abnormally long/short, outputs a urinary-disease (cystitis, urinary obstruction, kidney disease) early-warning alert. Especially useful for individualized health management in multi-cat households. Application: multi-cat homes, catteries, vet hospital inpatient wards, boarding centers. Does NOT provide medical diagnosis — only outputs behavior-statistics-based alerts. | 当用户提供猫砂盆区域视频URL或文件时,触发本技能进行使用频次与时长分析;通过智能猫砂盆或固定摄像头分析视频,利用目标检测和跟踪技术识别每只猫咪进出猫砂盆的时刻,记录每日使用频次、单次停留时长(从进入至离开),并与历史基线对比;若频次显著增减或单次时长异常,则输出泌尿系统疾病(膀胱炎、尿闭、肾病等)预警,有助于多猫家庭的个体化管理及早发现健康问题。应用场景:多猫家庭、猫舍、宠物医院住院部、宠物寄养中心。仅输出基于行为统计的提示,不提供医疗诊断。

The skill document

🚽 Pet Litter Box Usage Monitor (Frequency & Duration) | 宠物猫砂盆使用频次与时长

智能分析中枢 · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询


🧭 技能概览 | Overview

模块内容
🏷️ 技能名称宠物猫砂盆使用频次与时长
🎯 核心目标当用户提供猫砂盆区域视频URL或文件时,触发本技能进行使用频次与时长分析;通过智能猫砂盆或固定摄像头分析视频,利用目标检测和跟踪技术识别每只猫咪进出猫砂盆的时刻,记录每日使用频次、单次停留时长(从进入至离开),并与历史基线对比;若频次显著增减或单次时长异常,则输出泌尿系统疾病(膀胱炎、尿闭、肾病等)预警,有助于多猫家庭的个体化管理及早发现健康问题。应用场景:多猫家庭、猫舍、宠物医院住院部、宠物寄养中心。仅输出基于行为统计的提示,不提供医疗诊断。
🖼️ 输入类型图片、视频、本地文件、网络 URL
📝 输出能力结构化分析报告、识别/监测结果、建议与报告链接
🧩 场景码SMYX_LITTER_BOX_USAGE_MONITOR_ANALYSIS
Triggers when a user provides a litter-box area video URL or file for analysis; uses object detection and tracking to identify each cat's entry/exit times at the litter box, records daily usage frequency and per-visit duration (entry → exit), and compares against the historical baseline. When frequency rises/falls significantly, or per-visit duration is abnormally long/short, outputs a urinary-disease (cystitis, urinary obstruction, kidney disease) early-warning alert. Especially useful for individualized health management in multi-cat households. Application: multi-cat homes, catteries, vet hospital inpatient wards, boarding centers. Does NOT provide medical diagnosis — only outputs behavior-statistics-based alerts.

当用户提供猫砂盆区域视频URL或文件时,触发本技能进行使用频次与时长分析;通过智能猫砂盆或固定摄像头分析视频,利用目标检测和跟踪技术识别每只猫咪进出猫砂盆的时刻,记录每日使用频次、单次停留时长(从进入至离开),并与历史基线对比;若频次显著增减或单次时长异常,则输出泌尿系统疾病(膀胱炎、尿闭、肾病等)预警,有助于多猫家庭的个体化管理及早发现健康问题。应用场景:多猫家庭、猫舍、宠物医院住院部、宠物寄养中心。仅输出基于行为统计的提示,不提供医疗诊断。

🤖 AI 角色 | AI Role

角色要点说明
说明 1**你是一个专业的宠物泌尿健康AI。你的任务是分析猫砂盆区域的固定摄像头视频,检测每只猫咪的进入和离开时间,统计使用频次和单次停留时长,并与该猫的历史基线进行比较,输出异常预警。不要提供医疗诊断,仅输出基于行为统计的提示。 **

🎬 技能演示 | Skill Demo

▶️ 点击查看技能使用介绍


🎯 任务目标 | Goals

1. 🧩 技能用途

监测猫砂盆区域视频,识别每只猫咪进出事件,统计使用频次/单次时长,对比历史基线给出泌尿健康行为预警

2. 🛠️ 能力范围

序号具体能力
1猫咪个体识别与跟踪
2进入/离开事件检测
3单次停留时长统计
4每日使用频次汇总
5个体历史基线比对
6频次异常/时长异常告警
7多猫并发处理

3. ⚡ 触发条件

触发类型触发规则
✅ 默认触发默认触发:当用户提供猫砂盆区域视频 URL 或文件需要做使用频次/时长监测时,默认触发本技能
🔎 明确分析意图当用户明确需要监测如厕行为时,提及猫咪尿频、排尿时长、猫砂盆使用次数、FLUTD、膀胱炎、尿闭、肾病行为、多猫如厕监测等关键词,并且上传了视频文件
📚 历史报告查询当用户提及以下关键词时,自动触发历史报告查询功能:查看历史猫砂盆使用报告、历史如厕监测、使用频次报告清单、查询如厕行为历史、显示所有使用监测报告

4. 🤖 自动行为

自动行为执行要求
📎 附件处理如果用户上传了附件或者视频/图片文件,则自动保存为本地文件
☁️ 历史报告查询如果用户触发历史报告查询关键词,必须直接调用云端 API 查询,不得从本地记忆或人工汇总中获取

⚠️ 强制数据获取规则(次高优先级)

橙色强约束: 历史报告清单只允许从云端接口读取,不允许从本地记录、长期记忆或人工汇总中提取。

必须执行:

python -m scripts.smyx_litter_box_usage_monitor_analysis --list
类型要求
✅ 必须使用 python -m scripts.smyx_litter_box_usage_monitor_analysis --list 调用 API 查询云端的历史报告数据
🚫 严格禁止从本地 memory 目录读取历史会话信息
🚫 严格禁止手动汇总本地记录中的报告
🚫 严格禁止从长期记忆中提取报告
✅ 输出格式必须统一从云端接口获取最新完整数据,然后以 Markdown 表格格式输出结果

📦 前置准备 | Requirements

  • 依赖说明:scripts 脚本所需的依赖包及版本
    requests>=2.28.0
    

🚀 操作步骤 | Workflow

🔐 用户身份处理(内部自动完成)

绿色安全原则: 用户身份参数由系统内部自动处理,不得向用户展示、询问或要求输入任何身份标识

执行本技能分析或历史报告查询时,脚本会自动完成身份初始化:

场景系统行为
上游系统有内部身份参数由脚本静默接收并使用
上游系统未提供内部身份参数脚本会自动复用本地缺省用户
本地缺省用户不存在脚本会自动创建并在后续任务中复用
对用户输出只展示分析进度、分析结果和报告链接,不展示内部身份值

🔒 关键约束

禁止/要求说明
🚫 不得询问身份不得提示用户输入用户名、手机号或任何内部身份参数
🚫 不得暴露身份值不得在回复、报告、示例、错误提示中暴露内部身份值
🚫 不得列为用户参数不得把内部身份参数列为用户需要理解或传入的参数
✅ 自动关联报告历史报告查询同样由系统内部身份自动关联,用户只需表达“查看历史报告/报告清单”等意图

🧪 标准流程 | Standard Flow

步骤阶段执行动作
1📥 准备视频输入提供本地文件路径或网络 URL;确保输入内容清晰、符合技能场景要求
2🔐 系统自动完成身份关联无需用户输入任何身份参数;不在回复中展示内部身份值
3⚙️ 执行猫砂盆使用监测分析调用 -m scripts.smyx_litter_box_usage_monitor_analysis 处理输入(必须在技能根目录下运行脚本
4📊 查看分析结果接收结构化分析报告,查看识别/监测结果、风险提示、建议与报告链接

⚙️ 脚本参数说明

参数含义备注
--input本地视频文件路径适用于本地文件分析
--url网络视频 URL 地址(API 服务自动下载)API 服务自动下载网络资源
--pet-type宠物类型,可选值:cat/dog/other,默认 cat按需填写
--list显示猫砂盆使用监测历史报告列表清单(可以输入起始日期参数过滤数据范围)用于云端历史报告查询
--api-urlAPI 服务地址(可选,使用默认值)按需填写
--detail输出详细程度(basic/standard/json,默认 json)输出详细程度
--output结果输出文件路径(可选)可选

🗂️ 资源索引 | Resource Index

资源类型路径用途何时读取
🐍 必要脚本scripts/smyx_litter_box_usage_monitor_analysis.py调用 API、执行分析或查询历史报告执行分析或查询时使用
🐍 必要脚本scripts/config.py调用 API、执行分析或查询历史报告执行分析或查询时使用
📘 领域参考references/api_doc.md了解 API 接口规范、字段说明和错误码仅在需要了解接口规范或错误码时读取

⚠️ 注意事项 | Notes

分类注意事项
📚 文档读取仅在需要时读取参考文档,保持上下文简洁
📁 格式支持视频要求:支持 mp4/avi/mov 格式,最大 10MB
🔎 使用提醒多猫家庭需要先建立个体识别基线(多次提交带个体识别的样本),首次使用可能仅提供全局统计
🔎 使用提醒频次/时长异常阈值默认采用 mean ± 2σ,可在 API 端按猫个体自定义
🧑‍⚖️ 结果性质分析结果仅作为如厕行为参考,不替代兽医泌尿科检查
🚫 脚本限制禁止临时生成脚本,只能用技能本身的脚本
🌐 网络地址传入的网络地址参数,不需要下载本地,默认地址都是公网地址,API 服务会自动下载
📜 报告输出当显示历史分析报告清单的时候,从接口返回 json 数据中提取字段 作为超链接地址,且自动转化为如下 Markdown
📜 报告输出表格输出示例

🧰 使用示例 | Examples

# 分析本地猫砂盆区域视频
python -m scripts.smyx_litter_box_usage_monitor_analysis --input /path/to/litterbox.mp4 --pet-type cat

# 分析网络猫砂盆区域视频
python -m scripts.smyx_litter_box_usage_monitor_analysis --url https://example.com/litterbox.mp4 --pet-type cat

# 显示历史使用监测报告/分析报告清单列表(自动触发关键词:查看历史使用监测报告、如厕监测清单等)
python -m scripts.smyx_litter_box_usage_monitor_analysis --list

# 输出精简报告
python -m scripts.smyx_litter_box_usage_monitor_analysis --input box.mp4 --pet-type cat --detail basic

# 保存结果到文件
python -m scripts.smyx_litter_box_usage_monitor_analysis --input box.mp4 --pet-type cat --output result.json

Related skills

Triggers when a user provides a cat litter box area video URL or file for analysis; supports local video uploads or network URLs to call server-side APIs for waste characteristic recognition, analyzing feces morphology (loose stool, bloody stool, dry hard stool) and urine clump size to identify urinary and digestive system abnormalities, outputting health risk alerts (without diagnosing diseases). Application scenarios: smart litter boxes, multi-cat household health monitoring. Development reason: early signs of urinary diseases, a pain point for multi-cat households. | 当用户提供猫砂盆区域的视频URL或文件时,触发本技能进行排泄物性状分析;支持通过上传本地视频或网络视频URL,调用服务端API进行排泄物识别,分析粪便形态(稀便、血便、干硬便)和尿团大小,识别泌尿系统与消化系统异常,输出健康风险提示(不诊断疾病)。应用场景:智能猫砂盆、多猫家庭健康监测。

10 installs

Triggers when a user provides a cat scratch post area video URL or file for analysis; supports local video uploads or network URLs to call server-side APIs for scratch behavior recognition, analyzing scratch frequency, single-session duration, and intensity (estimated via vibration amplitude), outputting standardized observation data on stress level and claw health (without diagnosing diseases or prescribing behavior correction). Application scenarios: smart scratch post, multi-cat household stress management. Development reason: stress-induced abnormal scratch, early signs of behavioral issues. | 当用户提供猫抓板区域的视频URL或文件时,触发本技能进行抓挠行为分析;支持通过上传本地视频或网络视频URL,调用服务端API进行抓挠动作识别,分析抓挠频率、单次持续时间、力度(通过振动幅度估算),评估宠物压力水平和爪子健康状况,输出标准化观察结果(不诊断疾病、不提供行为矫正建议)。应用场景:智能猫抓板、宠物行为监测、多猫家庭压力管理。

9 installs

Triggers when a user provides a pet water fountain area video URL or file for analysis; supports local video uploads or network URLs to call server-side APIs for water intake behavior recognition, tracking drinking frequency, single-session duration, and estimated daily intake per pet, comparing against historical baselines to detect sudden drops or spikes in water consumption, outputting early warning alerts for potential kidney disease or diabetes risk. Application scenarios: smart water fountains, multi-pet household health monitoring, pet chronic disease management. | 当用户提供饮水机区域视频URL或文件时,触发本技能进行饮水量行为分析;支持通过上传本地视频或网络视频URL,调用服务端API进行饮水行为识别,统计每只宠物的饮水次数、单次时长、日总饮水量,对比历史基线,对饮水骤降或骤升进行预警,辅助早期发现肾病或糖尿病风险。应用场景:智能饮水机、多宠家庭健康监测、宠物慢性病管理。

8 installs

Triggers when a user provides a dog toilet / pet defecation-zone video URL or file for analysis; uses a fixed camera on the dog toilet or designated defecation area to monitor video in real time, detects whether the pet is defecating (presence of feces) and, once the pet leaves the area, automatically outputs a cleaning trigger signal that can drive a robot vacuum to that spot for cleanup. Enables fully automated pet-waste handling, reduces owner workload, and keeps the home hygienic. Application: indoor dog toilets, balcony defecation zones, pet kennels. Does NOT provide medical diagnosis — only outputs vision-based event detection results. | 当用户提供狗厕所或宠物固定排便区域视频URL或文件时,触发本技能进行排便事件检测分析;通过安装在狗厕所或宠物固定排便区域的摄像头实时分析视频,识别宠物是否在该区域排便(粪便出现),并在宠物离开该区域后自动输出清扫触发信号,联动扫地机器人前往清理;实现宠物排泄物的即时自动化处理,减轻主人清理负担,保持居家环境卫生。应用场景:宠物家庭室内狗厕所、阳台排便区、宠物笼舍。仅输出基于视觉的事件检测结果,不进行医疗诊断。

9 installs