← 返回 Skills 市场
Sleepwell
作者
BytesAgain2
· GitHub ↗
· v2.0.1
· MIT-0
346
总下载
0
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install sleepwell
功能描述
Track sleep habits and analyze rest patterns over time. Use when logging bedtimes, planning schedules, tracking streaks, reviewing weekly patterns.
安全使用建议
This skill appears to be a straightforward, local sleep-logging tool. Before installing, note three practical items: (1) the scripts call python3 but SKILL.md doesn't list Python as a dependency — ensure python3 is available; (2) there are two data locations used (~/.local/share/sleepwell and ~/.sleep) which may lead to split data — decide which you want and (optionally) set SLEEP_DIR to control where the diary stores data; (3) all data and exports are stored on disk in plain files under your home directory (not encrypted or remote), so avoid logging sensitive personal info or regularly back up / secure the directory. Review the two included scripts if you want to confirm behavior, and remove the data directories if you uninstall the skill.
功能分析
Type: OpenClaw Skill
Name: sleepwell
Version: 2.0.1
The skill bundle contains a critical command injection vulnerability in `scripts/sleep_diary.sh`. User-supplied arguments for sleep hours and quality are directly interpolated into a Python heredoc without sanitization, which allows for arbitrary code execution. While the stated purpose of sleep and productivity tracking is benign and no evidence of intentional malice, data exfiltration, or backdoors was found, the high-risk nature of this vulnerability warrants a suspicious classification.
能力评估
Purpose & Capability
The scripts implement the described logging, search, stats, export and review features and store data under the user's home directory, which is consistent with a local sleep-tracking tool. Minor mismatch: SKILL.md states "No external dependencies" while scripts call python3 for several commands — python3 should be listed as a runtime dependency.
Instruction Scope
Instructions and scripts operate only on per-user data directories and log files in the user's home (~/.local/share/sleepwell and ~/.sleep). They create and read local log/db files, run local commands (date, grep, wc, du, tail, python3). Inconsistency: two different data directories are used (script.sh uses ~/.local/share/sleepwell, sleep_diary.sh uses SLEEP_DIR defaulting to ~/.sleep), which could confuse users expecting a single data location.
Install Mechanism
No install spec is present (instruction-only), so nothing is downloaded or executed from remote URLs by an installer. The included scripts are plain shell and Python code; there is no evidence of packaged external installs or network-based installers.
Credentials
The skill requests no credentials or special environment variables. The sleep diary script supports overriding SLEEP_DIR via the SLEEP_DIR env var (reasonable). SKILL.md does not document SLEEP_DIR or the python3 dependency — these omissions are informational gaps but not evidence of excessive privileges.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide configuration changes. It only writes files in the installing user's home directory (log files, export files). It does not modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sleepwell - 安装完成后,直接呼叫该 Skill 的名称或使用
/sleepwell触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.5
old template -> domain-specific v2.0.0
v1.0.4
old template -> domain-specific v2.0.0
v1.0.3
Quality upgrade
v1.0.2
Quality upgrade: custom functionality
v1.0.1
Standards compliance: unique content, no template text
v1.0.0
Initial release
元数据
常见问题
Sleepwell 是什么?
Track sleep habits and analyze rest patterns over time. Use when logging bedtimes, planning schedules, tracking streaks, reviewing weekly patterns. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 346 次。
如何安装 Sleepwell?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sleepwell」即可一键安装,无需额外配置。
Sleepwell 是免费的吗?
是的,Sleepwell 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sleepwell 支持哪些平台?
Sleepwell 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sleepwell?
由 BytesAgain2(@ckchzh)开发并维护,当前版本 v2.0.1。
推荐 Skills