Install
openclaw skills install smyx-child-happy-moment-capture-analysisUsing fixed cameras at home, kindergartens, or playgrounds, the system analyzes children's behavior and expressions in real time to identify happy moments: big laughter (mouth corners sharply raised, eyes squinted into crescents, teeth showing), jumping (both feet off the ground), clapping (rhythmic hand clapping), and joyful reactions to praise or rewards. When a happy event is detected, the system automatically captures a high-definition photo or a short video clip (2 seconds before and after), generates a 'Happy Diary' pushed to the parent's mobile APP, and plays an encouragement sound (such as 'You're amazing!' or cheerful music). This helps record positive emotions during the child's growth, strengthens parent-child interaction, and nurtures confidence. Application scenarios: family living rooms, kindergarten classrooms, playgrounds, parent-child activity centers. The system monitors in real time, automatically captures happy moments, and generates daily/weekly happiness collections. Skill features: a child's happy moments are short and precious; busy parents often miss them. AI auto-capture helps preserve beautiful memories, while instant encouragement reinforces positive behavior and supports mental well-being. Can be integrated into smart cameras, kids' watches or parenting APPs as a heartwarming parent-child interaction feature. | 通过家庭、幼儿园或游乐场的固定摄像头,实时分析儿童的行为和表情,识别开心瞬间:大笑(面部表情:嘴角大幅度上翘、眼睛眯成月牙、露出牙齿)、蹦跳(双脚离地跳跃)、拍手(双手有节奏地拍击)、以及接收到表扬或奖励时的愉悦反应。当检测到开心事件时,自动抓拍高清图片或短视频(前后2秒),生成'开心日记'推送至家长手机APP,并播放鼓励音效(如'你真棒!'或欢快音乐)。该技能有助于记录孩子成长中的积极情绪,增强亲子互动,培养自信心。应用场景:家庭客厅、幼儿园教室、游乐场、亲子活动中心。系统实时监测,自动捕捉孩子的开心时刻,生成每日/每周快乐合集。技能特点:孩子的快乐时刻短暂且珍贵,家长常因忙碌而错过。通过AI自动抓拍,可帮助家长留存美好回忆,同时通过即时鼓励强化孩子的积极行为,促进心理健康。该技能可集成到智能摄像头、儿童手表或育儿APP中,成为亲子互动的暖心功能。
openclaw skills install smyx-child-happy-moment-capture-analysisUsing fixed cameras at home, kindergartens, or playgrounds, the system analyzes children's behavior and expressions in real time to identify happy moments: big laughter (mouth corners sharply raised, eyes squinted into crescents, teeth showing), jumping (both feet off the ground), clapping (rhythmic hand clapping), and joyful reactions to praise or rewards. When a happy event is detected, the system automatically captures a high-definition photo or a short video clip (2 seconds before and after), generates a 'Happy Diary' pushed to the parent's mobile APP, and plays an encouragement sound (such as 'You're amazing!' or cheerful music). This helps record positive emotions during the child's growth, strengthens parent-child interaction, and nurtures confidence. Application scenarios: family living rooms, kindergarten classrooms, playgrounds, parent-child activity centers. The system monitors in real time, automatically captures happy moments, and generates daily/weekly happiness collections. Skill features: a child's happy moments are short and precious; busy parents often miss them. AI auto-capture helps preserve beautiful memories, while instant encouragement reinforces positive behavior and supports mental well-being. Can be integrated into smart cameras, kids' watches or parenting APPs as a heartwarming parent-child interaction feature.
通过家庭、幼儿园或游乐场的固定摄像头,实时分析儿童的行为和表情,识别开心瞬间:大笑(面部表情:嘴角大幅度上翘、眼睛眯成月牙、露出牙齿)、蹦跳(双脚离地跳跃)、拍手(双手有节奏地拍击)、以及接收到表扬或奖励时的愉悦反应。当检测到开心事件时,自动抓拍高清图片或短视频(前后2秒),生成'开心日记'推送至家长手机APP,并播放鼓励音效(如'你真棒!'或欢快音乐)。该技能有助于记录孩子成长中的积极情绪,增强亲子互动,培养自信心。应用场景:家庭客厅、幼儿园教室、游乐场、亲子活动中心。系统实时监测,自动捕捉孩子的开心时刻,生成每日/每周快乐合集。技能特点:孩子的快乐时刻短暂且珍贵,家长常因忙碌而错过。通过AI自动抓拍,可帮助家长留存美好回忆,同时通过即时鼓励强化孩子的积极行为,促进心理健康。该技能可集成到智能摄像头、儿童手表或育儿APP中,成为亲子互动的暖心功能。
假设你是一个专业的儿童积极情绪记录 AI。你的任务是分析固定摄像头的实时视频(可选叠加音频),检测儿童的面部表情(大笑:嘴 + 眼周肌肉同时收缩的杜兴式真笑)、肢体动作(蹦跳:双脚同时离地;拍手:有节奏拍击 ≥ 2 次;双手高举庆祝;拥抱)以及笑声强度,多信号融合判断是否为显著开心事件。当确认开心事件时,抓拍前后 2 秒短视频和高清照片,输出鼓励语动作(智能音箱语音 / 欢快音效 / 家长 APP 推送),生成每日/每周快乐合集。不提供任何心理分析或性格评估,仅输出基于视觉的行为识别结果。保留温和、克制的激励节奏(每次播放间隔 ≥ 5 分钟),避免强化形成"表演式快乐"。
python -m scripts.smyx_child_happy_moment_capture_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_child_happy_moment_capture_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 | 12 次 / peak / with_parent | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地儿童活动视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_happy_moment_capture_analysis --input /path/to/livingroom.mp4 --open-id your-open-id
# 分析网络儿童活动视频/实时流(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_happy_moment_capture_analysis --url https://example.com/livingroom.mp4 --open-id your-open-id
# 显示历史开心日记清单(自动触发关键词:查看孩子开心日记历史、快乐合集清单等)
python -m scripts.smyx_child_happy_moment_capture_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_child_happy_moment_capture_analysis --input lr.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_child_happy_moment_capture_analysis --input lr.mp4 --open-id your-open-id --output result.json