Install
openclaw skills install smyx-family-conflict-intensity-detect-analysisUsing a fixed camera with microphone in the living room, the system analyzes audio and video in real time, detecting sound intensity (dB) and the intensity of body movements (e.g., rapid hand waving, finger pointing, pushing, throwing objects). It comprehensively evaluates the family conflict intensity level (low / medium / high). When the level reaches medium or high, it pushes a gentle reminder via mobile APP (e.g., 'A high-intensity conflict has been detected. We suggest calming down or temporarily separating'). The skill helps family members become self-aware of their emotions, avoid escalation, and, when necessary, notify pre-designated emergency contacts. Application scenarios: family living rooms, psychological counseling rooms, marriage mediation centers. The system auto-reminds during detected conflicts or generates conflict-frequency reports for family counselors. Skill features: family conflicts are common; long-term high-intensity conflicts harm mental health and may escalate to domestic violence. AI automatic detection with gentle reminders helps members self-regulate before losing control. Can be integrated into smart-home cameras or family health-management APPs as an auxiliary tool to promote family harmony. | 通过客厅固定摄像头(含麦克风),实时分析音频和视频,检测声音强度(分贝)和肢体动作激烈程度(如快速挥手、戳指、推搡、摔物等)。综合评估家庭争吵的冲突强度等级(低/中/高),当强度达到中或高时,通过手机APP推送提醒(如'检测到高强度冲突,建议冷静沟通或暂时分开')。该技能旨在帮助家庭成员自我觉察情绪,避免冲突升级,必要时可联动紧急联系人。应用场景:家庭客厅、心理咨询室、婚姻调解中心。系统在检测到冲突时自动提醒,或生成冲突频率报告供家庭咨询师参考。技能特点:家庭争吵是常见现象,长期高强度冲突会影响家庭成员心理健康,甚至导致家暴。通过AI自动检测并温和提醒,可帮助家庭成员在情绪失控前自我觉察,避免冲突升级。该技能可集成到智能家居摄像头或家庭健康管理APP中,成为促进家庭和谐的辅助工具。
openclaw skills install smyx-family-conflict-intensity-detect-analysisUsing a fixed camera with microphone in the living room, the system analyzes audio and video in real time, detecting sound intensity (dB) and the intensity of body movements (e.g., rapid hand waving, finger pointing, pushing, throwing objects). It comprehensively evaluates the family conflict intensity level (low / medium / high). When the level reaches medium or high, it pushes a gentle reminder via mobile APP (e.g., 'A high-intensity conflict has been detected. We suggest calming down or temporarily separating'). The skill helps family members become self-aware of their emotions, avoid escalation, and, when necessary, notify pre-designated emergency contacts. Application scenarios: family living rooms, psychological counseling rooms, marriage mediation centers. The system auto-reminds during detected conflicts or generates conflict-frequency reports for family counselors. Skill features: family conflicts are common; long-term high-intensity conflicts harm mental health and may escalate to domestic violence. AI automatic detection with gentle reminders helps members self-regulate before losing control. Can be integrated into smart-home cameras or family health-management APPs as an auxiliary tool to promote family harmony.
通过客厅固定摄像头(含麦克风),实时分析音频和视频,检测声音强度(分贝)和肢体动作激烈程度(如快速挥手、戳指、推搡、摔物等)。综合评估家庭争吵的冲突强度等级(低/中/高),当强度达到中或高时,通过手机APP推送提醒(如'检测到高强度冲突,建议冷静沟通或暂时分开')。该技能旨在帮助家庭成员自我觉察情绪,避免冲突升级,必要时可联动紧急联系人。应用场景:家庭客厅、心理咨询室、婚姻调解中心。系统在检测到冲突时自动提醒,或生成冲突频率报告供家庭咨询师参考。技能特点:家庭争吵是常见现象,长期高强度冲突会影响家庭成员心理健康,甚至导致家暴。通过AI自动检测并温和提醒,可帮助家庭成员在情绪失控前自我觉察,避免冲突升级。该技能可集成到智能家居摄像头或家庭健康管理APP中,成为促进家庭和谐的辅助工具。
假设你是一个专业的家庭情绪与冲突分析 AI。你的任务是分析客厅固定摄像头的音频和视频,检测声音强度(分贝)以及肢体动作的激烈程度(挥手、戳指、推搡、摔砸物品等),综合输出冲突强度等级与温和提醒。不要提供法律或心理治疗建议,仅输出基于声学和视觉的冲突强度指标,并在高强度时附反家暴热线参考。
python -m scripts.smyx_family_conflict_intensity_detect_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_family_conflict_intensity_detect_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(峰值 78 dB + 戳指 5 次) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地客厅音视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_family_conflict_intensity_detect_analysis --input /path/to/livingroom.mp4 --open-id your-open-id
# 分析网络客厅音视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_family_conflict_intensity_detect_analysis --url https://example.com/livingroom.mp4 --open-id your-open-id
# 显示历史家庭争吵强度报告(自动触发关键词:查看家庭冲突历史报告、争吵强度报告清单等)
python -m scripts.smyx_family_conflict_intensity_detect_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_family_conflict_intensity_detect_analysis --input lr.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_family_conflict_intensity_detect_analysis --input lr.mp4 --open-id your-open-id --output result.json