Install
openclaw skills install smyx-workplace-stress-heatmap-analysisUsing fixed cameras in enterprise office areas (open-plan workstations), the system anonymously analyzes multiple employees' facial expressions (e.g., frowning, downturned mouth corners) and postures (e.g., rigid sitting, forward leaning, frequent eye rubbing), and applies a group-level stress assessment model to compute a real-time stress index for each workstation zone, generating a stress distribution heatmap of the entire office area (color from green to red — green indicates low stress, red indicates high stress). The skill does NOT identify individuals and only outputs group-level anonymous stress distribution to help managers understand team stress and optimize the work environment. Application scenarios: enterprise open-plan offices, R&D centers, customer-service centers. The system periodically (e.g., hourly) generates stress heatmaps for organizational-health monitoring. Skill features: long-term high-intensity work stress reduces efficiency, increases turnover, and causes burnout. With a group stress heatmap, managers can intuitively see team stress distribution, adjust workload, optimize the office environment, and improve employee well-being and productivity. Can be integrated into enterprise security systems or health-management platforms as an innovative smart-office feature. | 通过企业办公区(开放式工位)的固定摄像头,匿名分析多名员工的面部表情(如皱眉、嘴角下垂)和姿态(如僵坐、前倾、频繁揉眼),使用群体压力评估模型计算每个工位区域的实时压力指数,生成整个办公区的压力分布热力图(颜色从绿到红,绿色代表低压力,红色代表高压力)。该技能不识别个人身份,仅输出群体层面的匿名压力分布,帮助企业管理者了解团队压力状态,优化工作环境。应用场景:企业开放式办公区、研发中心、客服中心。系统定期(如每小时)生成压力热力图,用于组织健康度监测。技能特点:长期高强度工作压力会导致员工效率下降、离职率升高、职业倦怠。通过群体压力热力图,管理者可直观了解团队压力分布,及时调整工作安排、优化办公环境,提升员工福祉和企业生产力。该技能可集成到企业安防系统或健康管理平台中,成为智慧办公的创新功能。
openclaw skills install smyx-workplace-stress-heatmap-analysisUsing fixed cameras in enterprise office areas (open-plan workstations), the system anonymously analyzes multiple employees' facial expressions (e.g., frowning, downturned mouth corners) and postures (e.g., rigid sitting, forward leaning, frequent eye rubbing), and applies a group-level stress assessment model to compute a real-time stress index for each workstation zone, generating a stress distribution heatmap of the entire office area (color from green to red — green indicates low stress, red indicates high stress). The skill does NOT identify individuals and only outputs group-level anonymous stress distribution to help managers understand team stress and optimize the work environment. Application scenarios: enterprise open-plan offices, R&D centers, customer-service centers. The system periodically (e.g., hourly) generates stress heatmaps for organizational-health monitoring. Skill features: long-term high-intensity work stress reduces efficiency, increases turnover, and causes burnout. With a group stress heatmap, managers can intuitively see team stress distribution, adjust workload, optimize the office environment, and improve employee well-being and productivity. Can be integrated into enterprise security systems or health-management platforms as an innovative smart-office feature.
通过企业办公区(开放式工位)的固定摄像头,匿名分析多名员工的面部表情(如皱眉、嘴角下垂)和姿态(如僵坐、前倾、频繁揉眼),使用群体压力评估模型计算每个工位区域的实时压力指数,生成整个办公区的压力分布热力图(颜色从绿到红,绿色代表低压力,红色代表高压力)。该技能不识别个人身份,仅输出群体层面的匿名压力分布,帮助企业管理者了解团队压力状态,优化工作环境。应用场景:企业开放式办公区、研发中心、客服中心。系统定期(如每小时)生成压力热力图,用于组织健康度监测。技能特点:长期高强度工作压力会导致员工效率下降、离职率升高、职业倦怠。通过群体压力热力图,管理者可直观了解团队压力分布,及时调整工作安排、优化办公环境,提升员工福祉和企业生产力。该技能可集成到企业安防系统或健康管理平台中,成为智慧办公的创新功能。
假设你是一个专业的职场健康分析 AI。你的任务是分析办公区固定摄像头的视频,对画面中的员工进行匿名检测(不识别个人身份),提取面部紧张特征(皱眉、嘴角下垂)和姿态僵硬度(长时间保持同一姿势、肩部耸起),计算每个工位区域的群体压力指数,并生成伪彩色热力图。不要识别或记录个人身份,仅输出区域级别的匿名统计与管理者参考建议。
python -m scripts.smyx_workplace_stress_heatmap_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_workplace_stress_heatmap_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: 结果输出文件路径(可选)insufficient_sample,不输出 stress_index,避免实际等同于单人识别职场员工压力群体热力图报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 办公区压力/热点区域 | 分析时间 | 点击查看 |
|---|---|---|---|
| 职场员工压力群体热力图报告-20260312172200001 | 整体 72 / 热点 zone_B (85, red) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地办公区视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_workplace_stress_heatmap_analysis --input /path/to/office.mp4 --open-id your-open-id
# 分析网络办公区视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_workplace_stress_heatmap_analysis --url https://example.com/office.mp4 --open-id your-open-id
# 显示历史职场员工压力群体热力图报告(自动触发关键词:查看职场压力历史报告、压力热力图报告清单等)
python -m scripts.smyx_workplace_stress_heatmap_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_workplace_stress_heatmap_analysis --input office.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_workplace_stress_heatmap_analysis --input office.mp4 --open-id your-open-id --output result.json