Elderly Sleep Nightmare / Startle Detection | 老年人睡眠中间惊醒/梦魇行为识别
Using a fixed bedroom camera (infrared night vision + microphone), the system analyzes elderly nighttime sleep video and detects abnormal events such as sudden sitting-up (quick lying-to-sitting transition), screams (high-pitched short cries), and arm-thrashing (purposeless rapid arm movements), and records the occurrence time, frequency and duration of each event. | 通过卧室固定摄像头(红外夜视),分析老年人夜间睡眠视频,检测突然坐起(快速从躺卧变为坐立)、惊叫声音(高频短促叫声)以及挥舞手臂(无目的性的快速手臂动作)等行为,记录发生时间、频次及持续时间。该技能可帮助家属或护理人员了解老人夜间睡眠质量,识别可能的梦魇、快速眼动期睡眠行为障碍等异常现象,为医疗评估提供参考。 Skill: Elderly Sleep Nightmare / Startle Detection | 老年人睡眠中间惊醒/梦魇行为识别 Owner: 18072937735 Summary: Using a fixed bedroom camera (infrared night vision + microphone), the system analyzes elderly nighttime sleep video and detects abnormal events such as sudden sitting-up (quick lying-to-sitting transition), screams (high-pitched short cries), and arm-thrashing (purposeless rapid arm movements), and records the occurrenc
Rank
62
Safety
84
Downloads
1.8k
Updated
Oct 10, 2026
Version
1.0.12
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.8K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.0.12release · observed Sep 28, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-elderly-nightmare-startle-detect-analysis- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-elderly-nightmare-startle-detect-analy/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: "smyx-elderly-nightmare-startle-detect-analysis" description: "Using a fixed bedroom camera (infrared night vision + microphone), the system analyzes elderly nighttime sleep video and detects abnormal events such as sudden sitting-up (quick lying-to-sitting transition), screams (high-pitched short cries), and arm-thrashing (purposeless rapid arm movements), and records the occurrence time, frequency and duration of each event. | 通过卧室固定摄像头(红外夜视),分析老年人夜间睡眠视频,检测突然坐起(快速从躺卧变为坐立)、惊叫声音(高频短促叫声)以及挥舞手臂(无目的性的快速手臂动作)等行为,记录发生时间、频次及持续时间。该技能可帮助家属或护理人员了解老人夜间睡眠质量,识别可能的梦魇、快速眼动期睡眠行为障碍等异常现象,为医疗评估提供参考。" version: "1.0.16" license: "MIT-0" --- # 🌙 Elderly Sleep Nightmare / Startle Detection | 老年人睡眠中间惊醒/梦魇行为识别 > **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询 --- ## 🧭 技能概览 | Overview | 模块 | 内容 | |---|---| | 🏷️ 技能名称 | **老年人睡眠中间惊醒/梦魇行为识别** | | 🎯 核心目标 | 通过卧室固定摄像头(红外夜视),分析老年人夜间睡眠视频,检测突然坐起(快速从躺卧变为坐立)、惊叫声音(高频短促叫声)以及挥舞手臂(无目的性的快速手臂动作)等行为,记录发生时间、频次及持续时间。该技能可帮助家属或护理人员了解老人夜间睡眠质量,识别可能的梦魇、快速眼动期睡眠行为障碍等异常现象,为医疗评估提供参考。 | | 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL | | 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 | | 🧩 场景码 | `SMYX_ELDERLY_NIGHTMARE_STARTLE_DETECT_ANALYSIS` | Using a fixed bedroom camera (infrared night vision + microphone), the system analyzes elderly nighttime sleep video and detects abnormal events such as sudden sitting-up (quick lying-to-sitting transition), screams (high-pitched short cries), and arm-thrashing (purposeless rapid arm movements), and records the occurrence time, frequency and duration of each event. This skill helps family members or caregivers understand the elderly person's nighttime sleep quality and identify possible nightmares or REM-sleep Behavior Disorder (RBD), providing reference data for medical evaluation. Application scenarios: home elderly care, nursing homes, neurology sleep monitoring. The system relays monitoring through the night and generates a sleep-abnormality event report. Skill features: frequent nighttime awakenings or nightmares in the elderly may be early manifestations of neurological diseases such as RBD. AI auto-recording of abnormal events provides objective data for physicians, supporting early diagnosis of Parkinson's disease and other neurodegenerative conditions. Can be integrated into smart-home cameras or elderly-care monitoring platforms as an important health-warning tool. 通过卧室固定摄像头(红外夜视),分析老年人夜间睡眠视频,检测突然坐起(快速从躺卧变为坐立)、惊叫声音(高频短促叫声)以及挥舞手臂(无目的性的快速手臂动作)等行为,记录发生时间、频次及持续时间。该技能可帮助家属或护理人员了解老人夜间睡眠质量,识别可能的梦魇、快速眼动期睡眠行为障碍等异常现象,为医疗评估提供参考。应用场景:居家养老、养老院、神经内科睡眠监测。系统夜间接力监测,生成睡眠异常事件报告。技能特点:老年人夜间频繁惊醒、梦魇可能是快速眼动期睡眠行为障碍(RBD)等神经系统疾病的早期表现。通过AI自动记录异常行为,可为医生提供客观数据,帮助早期诊断帕金森病等神经退行性疾病。该技能可集成到智能家居摄像头或养老监护平台中,成为健康预警的重要工具。 ## 🤖 AI 角色 | AI Role | 角色要点 | 说明 | |---|---| | 说明 1 | **假设你是一个专业的老年人睡眠行为监测 AI。你的任务是分析卧室固定摄像头的夜间视频(含音频),检测老年人睡眠中的异常行为,包括突然坐起、惊叫声音、无目的挥舞手臂、踢腿等。记录每次事件的起止时间、持续时长,统计夜间总频次与高发时段。不要提供医疗诊断,仅输出基于视觉和音频的行为事件统计,并在频繁或疑似 RBD 模式时附神经内科/睡眠门诊就诊建议。** | ## 🎬 技能演示 | Skill Demo [▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html) --- ## 🎯 任务目标 | G
_meta.json
{
"ownerId": "kn7e2caqj7pnsvr9r7t8zenghs83xw7n",
"slug": "smyx-elderly-nightmare-startle-detect-analysis",
"version": "1.0.12",
"publishedAt": 1790606436453
}references/api_doc.md
# API 接口文档
此处用于存放老年人睡眠中间惊醒/梦魇行为识别 API 的接口文档,待后续补充。
## 接口规范
- 基础地址:由 smyx_common 配置统一管理
- 认证方式:API Key 鉴权
- 响应格式:JSON
## 主要接口
1. `/web/health-analysis/v2/start-health-analysis` - 启动老年人睡眠中间惊醒/梦魇行为识别任务
2. `/web/health-analysis/v2/get-health-analysis-result` - 获取异常事件清单 + 频次统计 + 睡眠质量摘要
3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史夜间睡眠异常报告
4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告
## 场景代码
- `SMYX_ELDERLY_NIGHTMARE_STARTLE_DETECT_ANALYSIS` - 老年人睡眠中间惊醒/梦魇行为识别
## 输入约束
- 摄像头:卧室固定摄像头,**必须支持红外夜视**(IR),**必须含麦克风**(惊叫识别依赖音频);能完整拍到老人在床的上半身
- 帧率 ≥ 5 FPS(夜间统计无需高帧率);分辨率 ≥ 480p;音频采样率 ≥ 16kHz
- 视频时长:建议覆盖完整睡眠时段(22:00 → 次日 07:00 左右),**单次分析建议 ≥ 6 小时**
- ROI 标定:床位 ROI(bed_region)
- 多人共眠场景(如老两口)需按目标跟踪,避免事件归属错误
- 隐私敏感场景必须启用人体轮廓 + 面部马赛克模式
## 关键观测信号
### 视觉
- `sudden_sit_up_event_count` - 突然坐起事件次数(快速从躺卧→坐立,<2 秒完成)
- `arm_thrashing_event_count` - 无目的快速挥舞手臂事件次数(疑似 RBD 表现)
- `kick_leg_event_count` - 踢腿事件次数(参考指标)
- `out_of_bed_event_count` - 离床事件次数(参考指标,与 wandering 技能配合)
- `total_event_duration_sec` - 全部异常事件累计时长
### 音频
- `scream_event_count` - 高频短促叫声次数(基于频谱+短时能量)
- `mumble_or_talking_in_sleep_count` - 梦呓/说梦话次数(参考指标)
- `loud_breathing_event_count` - 异常粗重呼吸事件(参考指标,可能与睡眠呼吸暂停相关)
### 综合
- `sleep_window` - 监测时间窗(如 22:00-07:00)
- `total_abnormal_event_count` - 异常事件总次数
- `event_density_per_hour` - 每小时事件密度
- `peak_event_hour` - 异常事件高发时段(如 03:00-04:00,REM 期密集)
- `sleep_continuity_score` - 睡眠连续性评分(0-100,越高越连续)
## 阈值与等级
- `0-1 次/夜` - normal(正常)
- `2-3 次/夜` - mild(轻度)
- `4-7 次/夜` - notable(较频繁)→ 建议记录跟踪
- `≥ 8 次/夜` 或 `单晚出现 ≥ 1 次 arm_thrashing + scream` 组合 - frequent(频繁)→ 建议尽快就诊神经内科 / 睡眠门诊
- 单次喷嚏 / 咳嗽 / 翻身等正常生理活动不应计入异常事件
## 输出字段(参考)
- `sleep_window` / `bed_occupied_minutes`
- `visual_events` / `audio_events`
- `event_timeline` - 异常事件时间线(每条含 start_ts / end_ts / type / duration_sec / evidence_snippet_url,原始视频不留存)
- `total_abnormal_event_count` / `event_density_per_hour` / `peak_event_hour`
- `sleep_continuity_score`
- `abnormal_pattern` - 行为模式(pure_nightmare / suspect_rbd / general_arousal / mixed / none)
- `risk_signal_level` - 风险信号等级(none / mild / notable / strong)
- `alert_type` - 提醒类型(sleep_abnormal_notable / sleep_abnormal_frequent / suspect_rbd_pattern / improving / normal)
- `alert_level` - 提醒级别(info / notice / warning)
- `family_summary` - 家属友好摘要(如"昨晚老人在 03:12 突然坐起并伴随短促叫声 1 次,03:38 出现挥舞手臂约 8 秒;夜间共 3 次异常事件,建议白天观察精神状态,若反复出现建议就诊神经内科睡眠门诊")
- `recommend_action` - 建议动作(push_family_summary / suggest_record_diary / suggest_consult_sleep_clinic / suggest_neurology_consult / observe_only)
- `clinical_reference` - 当 frequent 或 suspect_rbd_pattern 时附**神经内科 / 睡眠门诊就诊建议** + 中国睡眠研究会等参考资源
## 强制约束与红线
- ❌ **禁止**输出 RBD / 帕金森病 / 阿尔茨海默病 / 睡眠呼吸暂停综合征等任何医学诊断结论
- ❌ **禁止**根据本工具结果调整药物
- ❌ **禁止**长期存储夜间原始视频;建议仅保存事件片段证据(短片,≤ 30 秒)+ 指标统计
- ✅ 出现 frequent 或 suspect_rbd_pattern 时附**神经内科 / 睡眠门诊** 就诊建议
- ✅ 建议家属将事件清单作为**就诊参考资料**,由专科医生结合 PSG(多导睡眠图)等专业检查最终判定
> 仅输出基于视觉与音频的客观行为事件统计,**不构成 RBD / 帕金森病 / 阿尔茨海默病 / 睡眠呼吸暂停等任何医学诊断**;任何疑似神经退行性疾病或睡眠障碍的判定与治疗必须由神经内科 / 睡眠专科医生结合 PSG 等专业检skills/smyx_analysis/references/api_doc.md
# API接口文档 ## 接口规范 - 基础地址:由 smyx_common 配置统一管理 - 认证方式:API Key 鉴权 - 请求格式:支持文件上传 - 响应格式:JSON ## 错误码说明 | 错误码 | 说明 | |-----|----------| | 400 | 请求参数错误 | | 401 | API密钥无效 | | 403 | 权限不足 | | 413 | 文件过大 | | 415 | 不支持的文件格式 | | 500 | 服务器内部错误 |
scripts/config.yaml
{}AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/18072937735/skills/smyx-elderly-nightmare-startle-detect-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/skills/smyx-elderly-nightmare-startle-detect-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T00:59:36.730Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-elderly-nightmare-startle-detect-analy/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-elderly-nightmare-startle-detect-analy/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T00:59:36.730Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.8K downloads",
"href": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T00:59:36.730Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.12",
"href": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-28T14:40:36.453Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-elderly-nightmare-startle-detect-analy/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-elderly-nightmare-startle-detect-analy/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.12",
"description": "- Removed the file: skill-card.md - No changes to features or user-facing functionality. - Documentation now no longer includes the previously present skill-card markdown file.",
"href": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-elderly-nightmare-startle-detect-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-28T14:40:36.453Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
