← 返回 Skills 市场
Sleep Quality Analysis Skill | 睡眠质量分析技能
作者
smyx-sunjinhui
· GitHub ↗
· v1.0.0
· MIT-0
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smyx-sleep-quality-analysis
功能描述
Identifies sleep stages including falling asleep, light sleep, deep sleep, and REM; monitors body movement, nighttime awakenings, and sleep apnea, suitable f...
安全使用建议
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.
功能分析
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.
能力标签
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smyx-sleep-quality-analysis - 安装完成后,直接呼叫该 Skill 的名称或使用
/smyx-sleep-quality-analysis触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。
如何安装 Sleep Quality Analysis Skill | 睡眠质量分析技能?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smyx-sleep-quality-analysis」即可一键安装,无需额外配置。
Sleep Quality Analysis Skill | 睡眠质量分析技能 是免费的吗?
是的,Sleep Quality Analysis Skill | 睡眠质量分析技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sleep Quality Analysis Skill | 睡眠质量分析技能 支持哪些平台?
Sleep Quality Analysis Skill | 睡眠质量分析技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sleep Quality Analysis Skill | 睡眠质量分析技能?
由 smyx-sunjinhui(@smyx-sunjinhui)开发并维护,当前版本 v1.0.0。
推荐 Skills