← Back to Skills Marketplace
Sleep Channel
by
cdmichaelb
· GitHub ↗
· v1.1.0
· MIT-0
116
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install sleep-channel
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sleep-channel - After installation, invoke the skill by name or use
/sleep-channel - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 116 downloads so far.
How do I install Sleep Channel?
Run "/install sleep-channel" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sleep Channel free?
Yes, Sleep Channel is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Sleep Channel support?
Sleep Channel is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sleep Channel?
It is built and maintained by cdmichaelb (@cdmichaelb); the current version is v1.1.0.
More Skills