Install
openclaw skills install smyx-office-worker-posture-warning-analysisUsing a fixed camera in the office (aimed at the workstation), the system analyzes office workers' sitting-posture video in real time, detecting continuous sitting duration, neck forward angle (head offset relative to shoulders), and back curvature (hunchback degree). When the sitting duration exceeds a preset threshold (default 1 hour) without standing up, the system outputs a 'prolonged sitting' alert; when the neck forward angle exceeds 20° or back curvature exceeds the threshold, it outputs a 'posture abnormal' alert. The skill helps prevent occupational diseases such as cervical spondylosis and lumbar muscle strain. Application scenarios: office workstations, home-office areas, public coworking spaces. The system monitors in real time and pushes alerts via PC popup, smart speaker, or mobile app (e.g., 'sitting for 1 hour, please stand up' or 'straighten your back'). Skill features: prolonged sitting and poor posture are major causes of cervical/lumbar disorders among white-collar workers. AI real-time monitoring + alerts effectively change employee habits, reduce occupational disease risks, and elevate corporate health management. Can be integrated into enterprise security cameras or health SaaS platforms as an innovative feature for employee benefits and EAP. | 通过办公区固定摄像头(对准工位)实时分析办公人员的坐姿视频,检测连续坐姿时间、颈部前倾角度(头部相对于肩部的偏移)、背部弯曲度(驼背程度)。当久坐时间超过预设阈值(默认1小时)且未起身活动时,输出'久坐提醒';当颈部前倾角>20°或背部弯曲超过阈值时,输出'姿态异常提醒'。该技能有助于预防颈椎病、腰肌劳损等办公室职业病。应用场景:办公室工位、居家办公区、公共办公空间。系统实时监测,通过PC弹窗、智能音箱或手机APP推送提醒(如'已坐1小时,请起身活动'或'请直起腰背')。技能特点:久坐和不良坐姿是白领阶层颈椎、腰椎病高发的主要原因。通过AI自动监测并实时提醒,可有效改变员工行为习惯,降低职业病风险,提升企业健康管理水平。该技能可集成到企业安防摄像头或健康SaaS平台中,成为员工福利和EAP(员工援助计划)的创新功能。
openclaw skills install smyx-office-worker-posture-warning-analysisUsing a fixed camera in the office (aimed at the workstation), the system analyzes office workers' sitting-posture video in real time, detecting continuous sitting duration, neck forward angle (head offset relative to shoulders), and back curvature (hunchback degree). When the sitting duration exceeds a preset threshold (default 1 hour) without standing up, the system outputs a 'prolonged sitting' alert; when the neck forward angle exceeds 20° or back curvature exceeds the threshold, it outputs a 'posture abnormal' alert. The skill helps prevent occupational diseases such as cervical spondylosis and lumbar muscle strain. Application scenarios: office workstations, home-office areas, public coworking spaces. The system monitors in real time and pushes alerts via PC popup, smart speaker, or mobile app (e.g., 'sitting for 1 hour, please stand up' or 'straighten your back'). Skill features: prolonged sitting and poor posture are major causes of cervical/lumbar disorders among white-collar workers. AI real-time monitoring + alerts effectively change employee habits, reduce occupational disease risks, and elevate corporate health management. Can be integrated into enterprise security cameras or health SaaS platforms as an innovative feature for employee benefits and EAP.
通过办公区固定摄像头(对准工位)实时分析办公人员的坐姿视频,检测连续坐姿时间、颈部前倾角度(头部相对于肩部的偏移)、背部弯曲度(驼背程度)。当久坐时间超过预设阈值(默认1小时)且未起身活动时,输出'久坐提醒';当颈部前倾角>20°或背部弯曲超过阈值时,输出'姿态异常提醒'。该技能有助于预防颈椎病、腰肌劳损等办公室职业病。应用场景:办公室工位、居家办公区、公共办公空间。系统实时监测,通过PC弹窗、智能音箱或手机APP推送提醒(如'已坐1小时,请起身活动'或'请直起腰背')。技能特点:久坐和不良坐姿是白领阶层颈椎、腰椎病高发的主要原因。通过AI自动监测并实时提醒,可有效改变员工行为习惯,降低职业病风险,提升企业健康管理水平。该技能可集成到企业安防摄像头或健康SaaS平台中,成为员工福利和EAP(员工援助计划)的创新功能。
假设你是一个专业的职场健康管理 AI。你的任务是分析办公人员坐姿的实时视频,检测连续坐姿时长、颈部前倾角以及背部弯曲度。当久坐时间超过阈值或姿态异常时,输出健康提醒。不要提供医疗诊断或具体康复方案,仅输出基于视觉的坐姿和活动监测结果与方向性提醒。
python -m scripts.smyx_office_worker_posture_warning_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_office_worker_posture_warning_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 | prolonged_sitting + forward_head_posture | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地办公工位视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_office_worker_posture_warning_analysis --input /path/to/desk.mp4 --open-id your-open-id
# 分析网络办公工位视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_office_worker_posture_warning_analysis --url https://example.com/desk.mp4 --open-id your-open-id
# 显示历史久坐/姿态预警报告(自动触发关键词:查看办公人员久坐历史报告、坐姿提醒报告清单等)
python -m scripts.smyx_office_worker_posture_warning_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_office_worker_posture_warning_analysis --input desk.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_office_worker_posture_warning_analysis --input desk.mp4 --open-id your-open-id --output result.json