Install
openclaw skills install smyx-elderly-loneliness-depression-analysisUsing fixed cameras at home (living room, bedroom) of elderly people living alone, the system analyzes daily videos and detects negative behavior indicators during solo time: dazing (long-duration motionless gazing without purposeful action), sighing (rapid chest rise-and-fall with audible expiration), and self-talking (mouth movement without any conversation partner). It counts the frequency and duration of these behaviors and comprehensively evaluates the elder's emotional risk level (low / medium / high). The skill assists family members or community workers in understanding the elder's mental state and timely providing emotional care or psychological intervention. Application scenarios: homes of solo-living elders, nursing homes, community daycare centers. The system generates a daily emotional-risk report; when the risk level is 'medium' or 'high', it pushes reminders. Skill features: loneliness and depression in the elderly are common mental-health issues, and early behavioral signals are often overlooked. AI automatic monitoring of dazing / sighing / self-talking helps family members detect mental abnormalities early, intervene promptly, and improve the elder's quality of life. Can be integrated into home-care cameras or community health-management platforms. | 通过独居老人在家中的固定摄像头(如客厅、卧室),分析日常视频,检测独处期间的消极行为指标:发呆(长时间静止注视,缺乏目的性动作)、叹气(胸部快速起伏伴呼气声)、自言自语(口部活动但无对话对象)等。统计这些行为的发生频次和持续时间,综合评估老年人潜在的情绪风险等级(低/中/高)。该技能可辅助家属或社区工作者了解老人心理状态,及时进行情感关怀或心理干预。应用场景:独居老人家庭、养老院、社区日间照料中心。系统每日生成情绪风险报告,当风险等级为'中'或'高'时推送提醒。技能特点:老年人孤独和抑郁是常见的心理健康问题,早期行为信号常被忽视。通过AI自动监测发呆、叹气、自言自语等行为,可辅助家属及早发现心理异常,及时干预,提高老年人生活质量。该技能可集成到居家养老摄像头或社区健康管理平台中。
openclaw skills install smyx-elderly-loneliness-depression-analysisUsing fixed cameras at home (living room, bedroom) of elderly people living alone, the system analyzes daily videos and detects negative behavior indicators during solo time: dazing (long-duration motionless gazing without purposeful action), sighing (rapid chest rise-and-fall with audible expiration), and self-talking (mouth movement without any conversation partner). It counts the frequency and duration of these behaviors and comprehensively evaluates the elder's emotional risk level (low / medium / high). The skill assists family members or community workers in understanding the elder's mental state and timely providing emotional care or psychological intervention. Application scenarios: homes of solo-living elders, nursing homes, community daycare centers. The system generates a daily emotional-risk report; when the risk level is 'medium' or 'high', it pushes reminders. Skill features: loneliness and depression in the elderly are common mental-health issues, and early behavioral signals are often overlooked. AI automatic monitoring of dazing / sighing / self-talking helps family members detect mental abnormalities early, intervene promptly, and improve the elder's quality of life. Can be integrated into home-care cameras or community health-management platforms.
通过独居老人在家中的固定摄像头(如客厅、卧室),分析日常视频,检测独处期间的消极行为指标:发呆(长时间静止注视,缺乏目的性动作)、叹气(胸部快速起伏伴呼气声)、自言自语(口部活动但无对话对象)等。统计这些行为的发生频次和持续时间,综合评估老年人潜在的情绪风险等级(低/中/高)。该技能可辅助家属或社区工作者了解老人心理状态,及时进行情感关怀或心理干预。应用场景:独居老人家庭、养老院、社区日间照料中心。系统每日生成情绪风险报告,当风险等级为'中'或'高'时推送提醒。技能特点:老年人孤独和抑郁是常见的心理健康问题,早期行为信号常被忽视。通过AI自动监测发呆、叹气、自言自语等行为,可辅助家属及早发现心理异常,及时干预,提高老年人生活质量。该技能可集成到居家养老摄像头或社区健康管理平台中。
假设你是一个专业的老年人心理健康监测 AI。你的任务是分析固定摄像头拍摄的日常视频,检测老年人在独处期间的特定行为:发呆(连续注视某处超过 10 秒且无肢体活动)、叹气(胸腹部快速起伏伴呼吸音)、自言自语(口部开合但无对话对象)。统计这些行为的发生频次和持续时间,综合评估情绪风险等级。不要提供医疗诊断或心理量表评分,仅输出基于视觉和行为统计的风险提示。
python -m scripts.smyx_elderly_loneliness_depression_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_elderly_loneliness_depression_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: 结果输出文件路径(可选)老年人孤独抑郁倾向报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 风险等级/主要表现 | 分析时间 | 点击查看 |
|---|---|---|---|
| 老年人孤独抑郁倾向报告-20260312172200001 | medium(发呆 65min + 叹气 12 次/h,连续 3 天) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地独居老人活动区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_loneliness_depression_analysis --input /path/to/livingroom.mp4 --open-id your-open-id
# 分析网络独居老人活动区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_loneliness_depression_analysis --url https://example.com/livingroom.mp4 --open-id your-open-id
# 显示历史老年人孤独/抑郁倾向行为报告(自动触发关键词:查看老人孤独/抑郁历史报告、情绪风险报告清单等)
python -m scripts.smyx_elderly_loneliness_depression_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_elderly_loneliness_depression_analysis --input lr.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_elderly_loneliness_depression_analysis --input lr.mp4 --open-id your-open-id --output result.json