sleep-quality-analysis

Analyze sleep-monitoring video to produce sleep stage breakdown and health risk signals.

Updated May 18, 2026
One-click install
npx skills add https://github.com/smyx-sunjinhui/smyx-open-claw-skills --skill sleep-quality-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sleep-quality-analysis
Source: https://github.com/smyx-sunjinhui/smyx-open-claw-skills/tree/main/skills/sleep-quality-analysis
Command: npx skills add https://github.com/smyx-sunjinhui/smyx-open-claw-skills --skill sleep-quality-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, yaml, pydash, SQLAlchemy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Sleep-quality evaluation from video is time-consuming and often requires specialized equipment, so Sleep Quality Analysis turns raw sleep-monitoring footage into structured, actionable sleep-stage and health insights.

Core Features & Use Cases

  • Sleep stage identification: Detects sleep onset, light sleep (N1/N2), deep sleep (N3), and REM from monitoring data.
  • Sleep health signals: Estimates body movement activity, counts nighttime awakenings, and flags potential sleep apnea events (OSAHS-related screening).
  • Report generation for home/medical use: Produces a professional structured report including sleep structure, respiratory health indicators, and movement characteristics without wearable devices; supports listing historical analysis reports and generating report export links.

Quick Start

Ask the skill to analyze the sleep-monitoring video you uploaded and return the sleep stage distribution, movement statistics, awakenings count, and apnea warnings.

Frequently Asked Questions about sleep-quality-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does video-based sleep analysis detect sleep stages and apnea risk?

Video-based sleep analysis processes monitoring footage to classify sleep stages like light and deep sleep, count nighttime awakenings, and flag potential sleep apnea events by estimating body movement activity without wearable devices.

How do I analyze a sleep-monitoring video to generate a health report?

To analyze sleep-monitoring video, provide a valid open-id and ensure the video meets format and size constraints. The system calls the configured start-analysis API, polls for completion, and returns structured sleep stage distribution and health risk signals.

Can I use sleep video analysis for home sleep monitoring without specialized equipment?

Yes, sleep video analysis applies to both home and medical sleep monitoring scenarios. It produces professional structured reports including sleep structure and respiratory health indicators directly from monitoring footage without requiring wearable devices.

What sleep health signals can I extract from nighttime monitoring video footage?

From nighttime monitoring video footage, you can extract sleep onset detection, N1/N2/N3/REM stage breakdown, nighttime awakening counts, body movement activity estimation, and sleep apnea screening indicators for OSAHS-related risks.

Does the sleep analysis API support retrieving historical reports and export links?

Yes, the sleep analysis API supports listing historical analysis reports and generates cloud-sourced export URLs formatted for discovery, allowing you to retrieve past sleep stage breakdowns and health risk signal reports.