← 返回 Skills 市场
Sleep Channel
作者
cdmichaelb
· GitHub ↗
· v1.1.0
· MIT-0
116
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install sleep-channel
功能描述
Handle messages in a Discord sleep-tracking channel by grounding all sleep logging and summaries on the real sleep tracker and source Discord metadata. Use w...
安全使用建议
This skill appears to be what it says: a local, deterministic sleep tracker that parses Discord messages and writes logs under your workspace. Before installing: 1) Note the SKILL.md requires SLEEP_TIMEZONE (IANA timezone) but the registry metadata omitted that — set SLEEP_TIMEZONE and optionally WORKSPACE. 2) The tracker will create/modify files at $WORKSPACE/data/sleep_log.csv and $WORKSPACE/state/sleep_summary_state.json — ensure that location is secure and you are comfortable storing message IDs/author IDs there. 3) There are no network calls or secret credentials requested, so it won’t exfiltrate data by design, but treat the workspace files as sensitive. 4) Prefer running the skill in a dedicated agent/channel and restrict file permissions (e.g., use a per-skill workspace or container) if you want stronger isolation. 5) If you need absolute assurance, inspect the included scripts/tracker.py (already provided) and test in an isolated environment first. If you want me to, I can produce a shortened checklist or suggest a safe container invocation for running this skill.
功能分析
Type: OpenClaw Skill
Name: sleep-channel
Version: 1.1.0
The sleep-channel skill is a deterministic sleep-tracking tool that logs events to a local CSV file. The code in scripts/tracker.py uses only Python standard libraries and performs standard file I/O within a designated workspace directory, with no evidence of network activity, data exfiltration, or unauthorized command execution. The instructions in SKILL.md and CHANNEL_RULES.md are focused on ensuring data integrity and preventing AI hallucinations regarding timestamps and log entries.
能力评估
Purpose & Capability
The name/description align with the included script and instructions: parsing Discord messages and logging sleep events to local CSV/JSON files. Minor incoherence: registry metadata lists no required environment variables, but SKILL.md and the script require SLEEP_TIMEZONE (and optionally WORKSPACE). This is likely a packaging/documentation omission rather than malicious.
Instruction Scope
SKILL.md keeps scope narrowly to calling scripts/tracker.py for add/correct/delete/render actions and mandates using source Discord timestamps. It does not instruct reading unrelated files, contacting external endpoints, or accessing secrets beyond environment config. It does rely on the agent providing Discord metadata (channel_id, message_id, author_id, timestamp_utc).
Install Mechanism
No install spec; the skill is instruction-plus-a-local-Python-script using only the stdlib. No network downloads or external packages — low install risk.
Credentials
The script requires SLEEP_TIMEZONE (declared required in SKILL.md) and optionally WORKSPACE; the code will default to UTC/~/ .openclaw/workspace if not set. It does not request secrets or external credentials. Important: the tracker writes message IDs, author IDs, timestamps and notes to data/sleep_log.csv and state/sleep_summary_state.json under WORKSPACE — users should be aware of the privacy implications and file permissions. The earlier registry metadata omitted the required env var, which is an inconsistency to fix.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill writes its own data files under the workspace and manages its own state file; it does not request system-wide changes or modify other skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sleep-channel - 安装完成后,直接呼叫该 Skill 的名称或使用
/sleep-channel触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added explicit environment variable specifications to SKILL.md, detailing requirements and descriptions.
- Improved documentation structure and clarity in SKILL.md.
- No changes to commands or core behavior; documentation and environment setup clarified.
v1.0.0
Initial release of the sleep-channel skill.
- Deterministic sleep tracker for Discord channel-based logging
- Adds, corrects, deletes, and renders sleep entries using real Discord message metadata—never fabricates data
- All log mutations and views handled by scripts/tracker.py; never guesses times or entries
- Ensures timezone-correct rendering, using configurable SLEEP_TIMEZONE
- Supports common sleep-tracking commands and correction workflows directly from channel messages
元数据
常见问题
Sleep Channel 是什么?
Handle messages in a Discord sleep-tracking channel by grounding all sleep logging and summaries on the real sleep tracker and source Discord metadata. Use w... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 116 次。
如何安装 Sleep Channel?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sleep-channel」即可一键安装,无需额外配置。
Sleep Channel 是免费的吗?
是的,Sleep Channel 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sleep Channel 支持哪些平台?
Sleep Channel 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sleep Channel?
由 cdmichaelb(@cdmichaelb)开发并维护,当前版本 v1.1.0。
推荐 Skills