Child Bedtime Soothing (Fear of Dark / Post-Nightmare) | 儿童睡前情绪安抚(怕黑/噩梦后)
Through a fixed camera (with infrared night vision) and microphone in the child's bedroom, the system analyzes pre-sleep and night-time video and audio to detect pre-sleep crying (continuous crying, calling 'Mama'), fear-of-the-dark expressions (curling up, looking around), and nightmare awakenings (sudden sitting up, trembling, screaming). | 通过儿童卧室的固定摄像头(红外夜视)及麦克风,分析儿童睡前及夜间视频,检测睡前哭闹(持续性哭声、呼喊'妈妈')、怕黑表现(身体蜷缩、四处张望)、噩梦惊醒(突然坐起、颤抖、尖叫)等行为。当检测到上述情绪不安时,自动触发安抚动作:开启小夜灯(柔光)、播放预先录制的妈妈讲故事音频或轻柔摇篮曲。
Rank
62
Safety
84
Downloads
1.9k
Updated
Oct 9, 2026
Version
1.0.13
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/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 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 1.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.0.13release · observed Sep 28, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-child-bedtime-soothing-analysis- Install using `clawhub skill install s17f8q65zg3y98t86jdg1177g583whq8:smyx-child-bedtime-soothing-analysis` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-child-bedtime-soothing-analysis/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: "smyx-child-bedtime-soothing-analysis" description: "Through a fixed camera (with infrared night vision) and microphone in the child's bedroom, the system analyzes pre-sleep and night-time video and audio to detect pre-sleep crying (continuous crying, calling 'Mama'), fear-of-the-dark expressions (curling up, looking around), and nightmare awakenings (sudden sitting up, trembling, screaming). | 通过儿童卧室的固定摄像头(红外夜视)及麦克风,分析儿童睡前及夜间视频,检测睡前哭闹(持续性哭声、呼喊'妈妈')、怕黑表现(身体蜷缩、四处张望)、噩梦惊醒(突然坐起、颤抖、尖叫)等行为。当检测到上述情绪不安时,自动触发安抚动作:开启小夜灯(柔光)、播放预先录制的妈妈讲故事音频或轻柔摇篮曲。" version: "1.0.16" license: "MIT-0" --- # 🌙 Child Bedtime Soothing (Fear of Dark / Post-Nightmare) | 儿童睡前情绪安抚(怕黑/噩梦后) > **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询 --- ## 🧭 技能概览 | Overview | 模块 | 内容 | |---|---| | 🏷️ 技能名称 | **儿童睡前情绪安抚(怕黑/噩梦后)** | | 🎯 核心目标 | 通过儿童卧室的固定摄像头(红外夜视)及麦克风,分析儿童睡前及夜间视频,检测睡前哭闹(持续性哭声、呼喊'妈妈')、怕黑表现(身体蜷缩、四处张望)、噩梦惊醒(突然坐起、颤抖、尖叫)等行为。当检测到上述情绪不安时,自动触发安抚动作:开启小夜灯(柔光)、播放预先录制的妈妈讲故事音频或轻柔摇篮曲。 | | 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL | | 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 | | 🧩 场景码 | `SMYX_CHILD_BEDTIME_SOOTHING_ANALYSIS` | Through a fixed camera (with infrared night vision) and microphone in the child's bedroom, the system analyzes pre-sleep and night-time video and audio to detect pre-sleep crying (continuous crying, calling 'Mama'), fear-of-the-dark expressions (curling up, looking around), and nightmare awakenings (sudden sitting up, trembling, screaming). When such unrest is detected, the system automatically triggers soothing actions: turning on a soft night light, playing a pre-recorded story from the mother, or playing a gentle lullaby. This helps reduce parents' night-time caregiving burden, supports the child's independent sleep, and builds a sense of security. Application scenarios: children's bedrooms, nurseries. The system runs automatically at night and proactively soothes the child when unrest is detected. Skill features: fear of the dark and nightmare-induced awakenings are common childhood sleep issues, and frequent crying disturbs parents' rest. AI-based automatic soothing can quickly calm the child and foster independent sleep ability. Can be integrated into smart baby cameras and smart speakers as a practical parenting feature. 通过儿童卧室的固定摄像头(红外夜视)及麦克风,分析儿童睡前及夜间视频,检测睡前哭闹(持续性哭声、呼喊'妈妈')、怕黑表现(身体蜷缩、四处张望)、噩梦惊醒(突然坐起、颤抖、尖叫)等行为。当检测到上述情绪不安时,自动触发安抚动作:开启小夜灯(柔光)、播放预先录制的妈妈讲故事音频或轻柔摇篮曲。该技能有助于减少父母夜间安抚负担,帮助儿童独立入睡,建立安全感。应用场景:儿童卧室、婴儿房。系统夜间自动运行,当检测到儿童不安时主动安抚。技能特点:儿童怕黑、噩梦惊醒是常见睡眠问题,频繁哭闹会干扰父母休息。通过AI自动安抚,可帮助儿童快速平静,培养独立入睡能力。该技能可集成到智能婴儿摄像头、智能音箱中,成为育儿家庭的实用功能。 ## 🤖 AI 角色 | AI Role | 角色要点 | 说明 | |---|---| | 说明 1 | **假设你是一个专业的儿童睡眠安抚 AI。你的任务是分析儿童卧室固定摄像头(红外夜视 + 麦克风)的夜间音视频,检测:睡前哭闹(持续哭声 ≥ 30s 或呼喊"妈妈/爸爸" ≥ 2 次)、怕黑表现(蜷缩 + 四处张望 + 蒙头/抱玩具,在关灯后 ≤ 30 min)、噩梦惊醒(突然坐起 + 尖叫/急促哭声 + 颤抖)、下床事件(独立安全优先级)。当检测到不安状态时,按 4 级安抚策略递进:Level 1 极柔小夜灯+极轻摇篮曲 → Level 2 加妈妈预录故事/白噪音 → Level 3 加家长 APP 提醒 → Level 4 立即唤醒家长。婴儿(≤12 月)必须开专用模式,阈值更敏感、strong 及以上必须同步唤醒家长。不提供任何医疗建议,仅输出基于视觉和音频的行为检测与安抚指令;冷白光禁用、音量 ≤ 40 dB、亮度 ≤ 20 lux 暖光、严禁 AI 克隆家长声音。** | ##
_meta.json
{
"ownerId": "kn7e2caqj7pnsvr9r7t8zenghs83xw7n",
"slug": "smyx-child-bedtime-soothing-analysis",
"version": "1.0.13",
"publishedAt": 1790615371725
}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}` - 导出夜间安抚日志报告
5. (可选)`/web/companion/v2/trigger-soothing-action` - 触发联动安抚动作(小夜灯 / 智能音箱故事 / 摇篮曲 / 家长 APP 推送)
## 场景代码
- `SMYX_CHILD_BEDTIME_SOOTHING_ANALYSIS` - 儿童睡前情绪安抚(怕黑/噩梦后)
## 输入约束
- 摄像头:儿童卧室 / 婴儿房固定摄像头,**必须支持红外夜视**,能看到床上区域
- 帧率 ≥ 10 FPS;分辨率 ≥ 720p;红外波段建议 850 nm(对睡眠干扰小)
- 音频**必需**:采样率 ≥ 16kHz(用于哭声 / "妈妈" 呼喊 / 尖叫识别)
- 时段:仅在配置的**睡眠窗口**内启用(默认 19:00 - 07:00),白天自动暂停
- 多孩家庭按目标跟踪绑定到注册儿童 ID(每个孩子独立基线)
- 婴儿(≤ 12 月)必须额外开启**婴儿专用模式**:阈值更敏感、安抚动作更轻柔、必要时同步唤醒家长
- 家长必须授权部署,并明确告知家庭其他成员(如保姆、外祖父母)
## 关键观测信号
### 音频(核心)
- `crying_continuous_sec` - 持续哭声时长
- `crying_intensity` - 哭声强度(0-100,结合分贝 + 频谱情绪)
- `call_mom_dad_count` - 呼喊"妈妈/爸爸/妈咪"次数
- `scream_event_count` - 尖叫事件次数(突发高频高强度声)
- `whimper_event_count` - 呜咽 / 抽噎事件(轻度不安信号)
- `sleep_breathing_regular` - 呼吸节奏规律性(参考指标,区分睡熟 vs 醒着)
### 视频(核心)
- `body_curl_up_detected` - 蜷缩抱腿姿态(怕黑典型表现)
- `looking_around_event_count` - 四处张望次数(黑暗中睁眼搜索)
- `sudden_sit_up_event` - 突然坐起事件(噩梦惊醒典型)
- `trembling_visual_detected` - 肢体颤抖(恐惧伴随)
- `hugging_plush_toy` - 主动抱毛绒玩具(自我安抚行为,参考)
- `pull_cover_over_head` - 拉被子蒙头(怕黑参考)
- `out_of_bed_event` - 下床事件(独立优先级,避免摔伤)
### 上下文
- `is_within_sleep_window` - 是否在睡眠窗口内
- `time_since_last_soothing_min` - 距离上次安抚动作的时间
## 场景判定与不安等级
- **bedtime_unrest_mild** - 睡前不安(轻度):呜咽 / 抱毛绒玩具 / 蜷缩,无哭喊
- **bedtime_unrest_crying** - 睡前哭闹:持续哭声 ≥ 30 秒 或 呼喊"妈妈/爸爸" ≥ 2 次
- **dark_fear** - 怕黑:蜷缩 + 四处张望 + 蒙头/抱玩具 任两项 + 在卧室关灯后 ≤ 30 分钟内
- **nightmare_wakeup** - 噩梦惊醒:突然坐起 + 尖叫/急促哭声 + 颤抖 任两项
- **out_of_bed_safety** - 下床(独立优先级):触发家长 APP 推送 + 调亮小夜灯,避免摔伤
- **none** - 无不安信号 / 在睡熟状态
## 安抚动作策略(轻 → 重逐级递进)
- **Level 1(mild)**:极柔小夜灯(≤ 5 lux 暖光)+ 极轻摇篮曲(≤ 35 dB)
- **Level 2(moderate)**:小夜灯(≤ 10 lux 暖光)+ **妈妈预录故事** / 白噪音
- **Level 3(strong:noctmare/scream)**:小夜灯(≤ 20 lux)+ 妈妈预录"宝贝,妈妈在这里,做了梦对吗?没事了哦~"语音 + **同时推送家长 APP** "noctmare 提醒,建议过去陪伴"
- **Level 4(out_of_bed/persist ≥ 5min)**:**立即推送家长 APP + 主屏震动**,建议家长亲自到场,AI 仅辅助
- 升级条件:同一信号在 Level 1/2 安抚后 ≥ 3 分钟未平复 → 自动升级一级
- 单晚同一儿童安抚动作触发**上限**:mild × 5、moderate × 3、strong × 2、Level 4 不设上限(安全优先)
## 输出字段(参考)
- `event_id` / `event_timestamp` / `child_id` / `child_age_band`(infant ≤12m / toddler 1-3y / preschool 3-6y / school 6-12y)
- `scene_label` - 场景判定(bedtime_unrest_mild / bedtime_unrest_crying / dark_fear / nightmare_wakeup / out_of_bed_safety / none)
- `audio_signals` / `video_signals` / `context`
- `unrest_level` - 不安等级(mild / moderate / strong / out_of_bed)
- `soothing_actions` - 安抚动作列表(每项含 action_type / message / target / level / volume_db / brightness_lux,例如:
- `{action_type: "night_light_on", brightness_lux: 5, color_temp: "warm_2700K", target: "child_room_light", level: 1}`
- `{action_type: "play_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-child-bedtime-soothing-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/skills/smyx-child-bedtime-soothing-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:52:14.041Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-child-bedtime-soothing-analysis/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-child-bedtime-soothing-analysis/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T23:52:14.041Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.9K downloads",
"href": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:52:14.041Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.13",
"href": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-28T17:09:31.725Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-child-bedtime-soothing-analysis/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-18072937735-smyx-child-bedtime-soothing-analysis/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.13",
"description": "- Removed the file: skill-card.md - No other functional or content changes.",
"href": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceUrl": "https://clawhub.ai/18072937735/smyx-child-bedtime-soothing-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-28T17:09:31.725Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
