搜索

PythonReactSEOPDF
OpenClaw

sleep-snooze

Snooze incoming notifications during your sleep window and receive a morning digest when you wake up. Supports Telegram, WhatsApp, and any provider OpenClaw is connected to.

hardik5000 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install hardik500/sleep-snooze

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Sleep Snooze

You have a sleep notification snooze system available. When the user is in their sleep window, incoming messages should be silently queued rather than delivered immediately. At wake time, a morning digest is automatically sent summarising all queued messages.

Sleep Schedule

The user's sleep schedule is configured via environment variables:

  • SLEEP_START — time to begin snoozing (24h format, e.g. 22:00)
  • WAKE_TIME — time to deliver the digest and resume normal notifications (e.g. 06:00)
  • TIMEZONE — IANA timezone (e.g. Asia/Kolkata, America/New_York, Europe/London)

Slash Commands

Users can invoke these slash commands directly in chat:

  • /sleep — manually activate sleep mode immediately (overrides schedule)
  • /wake — manually deactivate sleep mode and trigger the morning digest now
  • /snooze-status — show whether sleep mode is active, how many messages are queued, and what time the digest will be sent
  • /snooze-setup — interactively configure sleep start time, wake time, and timezone
  • /snooze-history — show the last 7 days of digest summaries

Behaviour During Sleep Hours

Before sending ANY message to the user — including proactive notifications, summaries, heartbeats, weekly recaps, stock alerts, backup confirmations, or any other automated report — first check sleep state:

node ~/.openclaw/skills/sleep-snooze/scripts/status.js

If isSleeping is true, do NOT send. Queue it instead (see below). This applies to both incoming messages from others AND outgoing messages you are about to send proactively.

Incoming messages during sleep

When a message or notification arrives during the sleep window:

  1. Do not deliver a push notification or respond immediately.
  2. Call node ~/.openclaw/skills/sleep-snooze/scripts/queue-message.js with the message payload to store it in the local queue.
  3. Acknowledge silently — do not send any reply to the sender during sleep hours unless the message...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/hardik500/sleep-snooze
Version
1.0.0
Commit
423b20e179bb01257d3785610e7f7ed0a72af7be
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

🌙 sleep-snooze

An OpenClaw skill that snoozes notifications during your sleep hours and delivers a morning digest when you wake up.

What it does

  • Buffers all incoming messages (Telegram, WhatsApp, Discord, Slack…) during your sleep window
  • Bypasses urgent messages and VIP contacts immediately
  • Delivers a grouped morning digest at your wake time
  • Works across all providers OpenClaw is connected to — configure once, works everywhere

Install

clawhub install sleep-snooze

Then set it up in chat:

/snooze-setup

Quick example

You: /snooze-setup
OpenClaw: What time do you usually go to bed?
You: 10 PM
OpenClaw: What time do you wake up?
You: 6 AM
OpenClaw: What's your timezone?
You: Asia/Kolkata
OpenClaw: ✅ Sleep snooze is set: 🌙 10:00 PM → ☀️ 6:00 AM (IST).
          I'll queue notifications overnight and send your digest at 6:00 AM.

At 6:00 AM, you receive:

🌅 Good morning! Here's what arrived while you slept:

📬 2 messages from Alex
  • "You around?"
  • "Talk tomorrow!"

📬 1 message from Server Monitor
  • Disk usage at 82% — check when available

Commands

Command Action
/snooze-setup First-time configuration
/sleep Manually start sleep mode
/wake Manually end sleep mode + get digest now
/snooze-status Check queue size and current mode

Configuration

See references/setup.md for full configuration options including VIP contacts, manual config, and troubleshooting.

Privacy

All data (message queue, schedule, contacts) is stored locally on your machine in ~/.openclaw/skills/sleep-snooze/data/. Nothing is sent to external servers.

Requirements

  • OpenClaw with at least one provider connected
  • Node.js v18+
  • better-sqlite3 (auto-installed)

License

MIT

来源内容

SKILL.md
# Sleep Snooze

You have a sleep notification snooze system available. When the user is in their sleep window, incoming messages should be silently queued rather than delivered immediately. At wake time, a morning digest is automatically sent summarising all queued messages.

## Sleep Schedule

The user's sleep schedule is configured via environment variables:
- `SLEEP_START` — time to begin snoozing (24h format, e.g. `22:00`)
- `WAKE_TIME` — time to deliver the digest and resume normal notifications (e.g. `06:00`)
- `TIMEZONE` — IANA timezone (e.g. `Asia/Kolkata`, `America/New_York`, `Europe/London`)

## Slash Commands

Users can invoke these slash commands directly in chat:

- `/sleep` — manually activate sleep mode immediately (overrides schedule)
- `/wake` — manually deactivate sleep mode and trigger the morning digest now
- `/snooze-status` — show whether sleep mode is active, how many messages are queued, and what time the digest will be sent
- `/snooze-setup` — interactively configure sleep start time, wake time, and timezone
- `/snooze-history` — show the last 7 days of digest summaries

## Behaviour During Sleep Hours

**Before sending ANY message to the user — including proactive notifications, summaries, heartbeats, weekly recaps, stock alerts, backup confirmations, or any other automated report — first check sleep state:**

```bash
node ~/.openclaw/skills/sleep-snooze/scripts/status.js
```

If `isSleeping` is `true`, do NOT send. Queue it instead (see below). This applies to both incoming messages from others AND outgoing messages you are about to send proactively.

### Incoming messages during sleep

When a message or notification arrives during the sleep window:
1. Do **not** deliver a push notification or respond immediately.
2. Call `node ~/.openclaw/skills/sleep-snooze/scripts/queue-message.js` with the message payload to store it in the local queue.
3. Acknowledge silently — do not send any reply to the sender during sleep hours unless the message...
README
# 🌙 sleep-snooze

> An OpenClaw skill that snoozes notifications during your sleep hours and delivers a morning digest when you wake up.

## What it does

- **Buffers** all incoming messages (Telegram, WhatsApp, Discord, Slack…) during your sleep window
- **Bypasses** urgent messages and VIP contacts immediately
- **Delivers** a grouped morning digest at your wake time
- **Works across all providers** OpenClaw is connected to — configure once, works everywhere

## Install

```bash
clawhub install sleep-snooze
```

Then set it up in chat:
```
/snooze-setup
```

## Quick example

```
You: /snooze-setup
OpenClaw: What time do you usually go to bed?
You: 10 PM
OpenClaw: What time do you wake up?
You: 6 AM
OpenClaw: What's your timezone?
You: Asia/Kolkata
OpenClaw: ✅ Sleep snooze is set: 🌙 10:00 PM → ☀️ 6:00 AM (IST).
          I'll queue notifications overnight and send your digest at 6:00 AM.
```

At 6:00 AM, you receive:
```
🌅 Good morning! Here's what arrived while you slept:

📬 2 messages from Alex
  • "You around?"
  • "Talk tomorrow!"

📬 1 message from Server Monitor
  • Disk usage at 82% — check when available
```

## Commands

| Command | Action |
|---------|--------|
| `/snooze-setup` | First-time configuration |
| `/sleep` | Manually start sleep mode |
| `/wake` | Manually end sleep mode + get digest now |
| `/snooze-status` | Check queue size and current mode |

## Configuration

See [references/setup.md](references/setup.md) for full configuration options including VIP contacts, manual config, and troubleshooting.

## Privacy

All data (message queue, schedule, contacts) is stored **locally on your machine** in `~/.openclaw/skills/sleep-snooze/data/`. Nothing is sent to external servers.

## Requirements

- OpenClaw with at least one provider connected
- Node.js v18+
- `better-sqlite3` (auto-installed)

## License

MIT

相关技能

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...