← Back to Skills Marketplace
Sleep Quality Analysis Skill | 睡眠质量分析技能
by
smyx-sunjinhui
· GitHub ↗
· v1.0.0
· MIT-0
65
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install smyx-sleep-quality-analysis
Description
Identifies sleep stages including falling asleep, light sleep, deep sleep, and REM; monitors body movement, nighttime awakenings, and sleep apnea, suitable f...
Usage Guidance
This skill appears to implement sleep-video analysis, but it also: (1) reads configuration from a shared workspace path (which can contain API keys/identifiers for other services), (2) persists uploaded videos and a local SQLite DB under the workspace, and (3) bundles large common libraries. Before installing, ask the publisher where the API endpoints actually point and how long uploaded videos and DB entries are retained; confirm whether shared workspace config may contain unrelated secrets; avoid providing real user open-ids or production credentials until you trust the endpoint; run the skill in an isolated/sandboxed workspace if possible; review the smyx_common config.yaml and any workspace-level config files for secrets; and consider trimming/isolating the package to only the sleep-analysis components if you need a smaller attack surface.
Capability Analysis
Type: OpenClaw Skill
Name: smyx-sleep-quality-analysis
Version: 1.0.0
The skill bundle provides sleep and face analysis by processing video files or URLs through a cloud-based API (lifeemergence.com). It utilizes a common library (smyx_common) to manage user authentication, storing session tokens in a local SQLite database (smyx-common-claw.db). The SKILL.md instructions include specific 'Mandatory Memory Rules' that direct the AI agent to bypass local memory files and retrieve historical reports exclusively from the cloud API to ensure data consistency. While the skill collects user identifiers (phone/username) and uploads video data, these actions are transparently documented and aligned with the stated purpose of providing professional health analysis reports.
Capability Tags
Capability Assessment
Purpose & Capability
The name, SKILL.md and scripts implement sleep-stage analysis and listing of cloud reports as described. However the package also contains a full face_analysis module and a large shared 'smyx_common' library; bundling these broader components is not strictly necessary for a single sleep-quality skill and increases the attack surface and dependency requirements.
Instruction Scope
SKILL.md imposes strict runtime rules (forbid reading local memory/LanceDB and require cloud-only history queries) while mandating reading configuration files from the skill/workspace (to obtain open-id). The skill also automatically saves uploaded attachments to a local attachments directory. Those instructions constrain the agent but permit reading/writing files in the workspace and saving user videos locally, which is outside the minimal scope of 'analyze one video' and has privacy implications.
Install Mechanism
There is no install spec (lower risk) but the bundle includes a large requirements list under skills/smyx_common (many third-party packages). If someone attempts to run the scripts, they will need many dependencies; the skill will also create/modify YAML config files if not present. No external download URLs were used, which is positive.
Credentials
Declared requirements list no env vars, but code reads environment variables (OPENCLAW_SENDER_OPEN_ID, OPENCLAW_WORKSPACE, FEISHU_OPEN_ID, etc.) and will look for config.yaml under a shared workspace path. Asking the agent to read workspace-level config to obtain open-id/API keys can expose credentials not strictly tied to sleep analysis. The skill also persists data under workspace/data and attachments, which may store user videos and metadata.
Persistence & Privilege
always:false (good), but the code includes a local DAO/SQLite layer and will create files under the workspace (data DB) and save uploaded attachments. The skill can therefore create persistent artifacts in shared workspace locations, increasing long-term data exposure risk.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install smyx-sleep-quality-analysis - After installation, invoke the skill by name or use
/smyx-sleep-quality-analysis - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Sleep Quality Analysis Skill.
- Identifies sleep stages (falling asleep, light sleep, deep sleep, REM) using contactless video analysis.
- Monitors body movement, nighttime awakenings, and screens for sleep apnea risk.
- Generates structured analysis reports from sleep monitoring videos, no wearables required.
- Enforces strict data access rules: all historical reports must be fetched from the cloud, never from local memory.
- Implements mandatory open-id retrieval procedure before analysis for user identification and report management.
- Supports automatic trigger based on user actions and keywords, with Markdown table output for report listings.
Metadata
Frequently Asked Questions
What is Sleep Quality Analysis Skill | 睡眠质量分析技能?
Identifies sleep stages including falling asleep, light sleep, deep sleep, and REM; monitors body movement, nighttime awakenings, and sleep apnea, suitable f... It is an AI Agent Skill for Claude Code / OpenClaw, with 65 downloads so far.
How do I install Sleep Quality Analysis Skill | 睡眠质量分析技能?
Run "/install smyx-sleep-quality-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sleep Quality Analysis Skill | 睡眠质量分析技能 free?
Yes, Sleep Quality Analysis Skill | 睡眠质量分析技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Sleep Quality Analysis Skill | 睡眠质量分析技能 support?
Sleep Quality Analysis Skill | 睡眠质量分析技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sleep Quality Analysis Skill | 睡眠质量分析技能?
It is built and maintained by smyx-sunjinhui (@smyx-sunjinhui); the current version is v1.0.0.
More Skills