← 返回 Skills 市场
jiajiaoy

Daily Sleep

作者 jiajiaoy · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
177
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install daily-sleep
功能描述
Sleep better tonight — personalized wind-down routine, breathing exercises, bedtime stories, and sleep hygiene tips. Daily evening push for better rest.
使用说明 (SKILL.md)

睡眠助手

睡眠助手 — 晨间唤醒 · 睡前放松 · 助眠引导 · 失眠改善

何时使用

  • 用户说"失眠""睡不好""帮我睡觉"
  • 用户说"睡前放松""助眠""入睡困难"
  • 用户说"sleep""insomnia""can't sleep"
  • 用户说"睡眠质量差""怎么改善睡眠"

推送管理

node scripts/push-toggle.js on \x3CuserId>
node scripts/push-toggle.js on \x3CuserId> --morning 07:00 --evening 22:00 --channel feishu
node scripts/push-toggle.js off \x3CuserId>
node scripts/push-toggle.js status \x3CuserId>

支持渠道:telegram / feishu / slack / discord

安全使用建议
This skill appears to do what it claims: schedule and print morning/evening sleep-coaching messages and store simple per-user JSON preferences. Before installing, consider: (1) the source/homepage are missing and package/_meta versions mismatch — if provenance matters, ask the publisher for a trusted source or updated metadata; (2) per-user data is stored unencrypted under the skill's data/users directory — don't put sensitive info in userId or those files; (3) scheduling relies on the platform recognizing the __OPENCLAW_CRON_ADD__/RM__ markers and on the platform sending messages to the configured channels (telegram/feishu/slack/discord) — confirm you trust your OpenClaw runtime to handle those markers and deliver messages; and (4) if you want extra assurance, review the three script files yourself (they are short and local) or run them in a sandboxed environment before enabling pushes.
功能分析
Type: OpenClaw Skill Name: daily-sleep Version: 1.0.3 The skill is a sleep assistant that manages daily morning and evening routines. The scripts (push-toggle.js, morning-push.js, and evening-push.js) are well-structured and include security best practices such as input sanitization for user IDs and path traversal protections when accessing the local data directory. The use of __OPENCLAW_CRON_ADD__ is consistent with the stated purpose of scheduling daily notifications, and no evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The name/description match the code and SKILL.md: scripts generate morning/evening prompts and manage scheduled pushes. Minor manifest mismatches exist (published version 1.0.3 vs package.json 1.0.2 and _meta.json 1.0.0) and source/homepage are absent — this is an integrity/metadata concern but not a functional or security mismatch.
Instruction Scope
SKILL.md instructs use of the provided push-toggle and push scripts. The scripts only read/write per-user JSON under ./data/users, sanitize inputs, print scheduling markers (__OPENCLAW_CRON_ADD__/__OPENCLAW_CRON_RM__), and output prompt text; they do not read arbitrary system files, access environment secrets, or call external endpoints.
Install Mechanism
No install spec; this is effectively instruction-plus-scripts only. There are no downloads, package installs, or extracted archives. The risk surface is limited to the included JS files.
Credentials
The skill declares no required env vars/credentials and the code does not reference process.env secrets. It only writes user preference files and uses a sanitized userId and explicit allowed channel list.
Persistence & Privilege
always is false; the skill writes its own data under ./data/users and emits scheduling markers for the platform to pick up. It does not modify other skills or global agent configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daily-sleep
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daily-sleep 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Updated the skill description to emphasize personalized wind-down routines, breathing exercises, bedtime stories, and sleep hygiene tips. - Highlighted daily evening push notifications for improved sleep. - No changes to functionality or user commands.
v1.0.2
- Updated package version to 1.0.2 in package.json. - No functional or documentation changes to the skill itself.
v1.0.1
- Updated package version to 1.0.1. - Made minor documentation or metadata updates. No functional changes.
v1.0.0
- Initial release of daily-sleep. - Provides morning wake-up guidance and sleep quality review, plus evening wind-down routines and sleep tips. - Supports common sleep-related triggers in both Chinese and English. - Push management available; supports scheduling reminders via Telegram, Feishu, Slack, and Discord.
元数据
Slug daily-sleep
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Daily Sleep 是什么?

Sleep better tonight — personalized wind-down routine, breathing exercises, bedtime stories, and sleep hygiene tips. Daily evening push for better rest. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 177 次。

如何安装 Daily Sleep?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-sleep」即可一键安装,无需额外配置。

Daily Sleep 是免费的吗?

是的,Daily Sleep 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Daily Sleep 支持哪些平台?

Daily Sleep 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Daily Sleep?

由 jiajiaoy(@jiajiaoy)开发并维护,当前版本 v1.0.3。

💬 留言讨论